Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 104.3 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 199.5 kB / 290.2 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5608/0.5608, allocations: 92.61 MB / 433 MB, free: 8.594 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 87.84 kB / 0.5034 GB, free: 6.922 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3928, allocations: 71.4 MB / 0.5731 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01043/0.4033, allocations: 13.86 MB / 0.5866 GB, free: 26.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007816/0.4111, allocations: 3.531 MB / 0.5901 GB, free: 24.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002999/0.4142, allocations: 27.53 kB / 0.5901 GB, free: 24.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.4158, allocations: 0.5637 MB / 0.5906 GB, free: 24.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004909/0.4208, allocations: 1.441 MB / 0.592 GB, free: 23.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003446/0.4242, allocations: 1.526 MB / 0.5935 GB, free: 22.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005697/0.4299, allocations: 3.784 MB / 0.5972 GB, free: 20.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.4316, allocations: 0.9023 MB / 0.5981 GB, free: 19.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.4344, allocations: 1.558 MB / 0.5996 GB, free: 19.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002919/0.4374, allocations: 2.007 MB / 0.6016 GB, free: 18.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007447/0.4381, allocations: 294.4 kB / 0.6019 GB, free: 18.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.4395, allocations: 446.2 kB / 0.6023 GB, free: 18.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006381/0.4402, allocations: 0.7751 MB / 0.6031 GB, free: 17.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.4418, allocations: 1.668 MB / 0.6047 GB, free: 16.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005421/0.4473, allocations: 3.984 MB / 0.6086 GB, free: 14.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.4473, allocations: 0 / 0.6086 GB, free: 14.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.4473, allocations: 1.188 kB / 0.6086 GB, free: 14.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001302/0.4474, allocations: 0 / 0.6086 GB, free: 14.68 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02647/0.4739, allocations: 6.684 MB / 0.6151 GB, free: 12.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.474, allocations: 10.38 kB / 0.6151 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01585/0.4898, allocations: 2.278 MB / 0.6173 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005146/0.495, allocations: 1.908 MB / 0.6192 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007191/0.4958, allocations: 0.7286 MB / 0.6199 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007719/0.4966, allocations: 223.3 kB / 0.6201 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006898/0.5035, allocations: 3.054 MB / 0.6231 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.5035, allocations: 0 / 0.6231 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002648/0.5038, allocations: 89 kB / 0.6232 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.504e-05/0.5039, allocations: 49.78 kB / 0.6232 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00599/0.5099, allocations: 2.801 MB / 0.626 GB, free: 6.93 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02013/0.53, allocations: 9.966 MB / 0.6357 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/0.5421, allocations: 4.239 MB / 0.6398 GB, free: 8.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005017/0.5471, allocations: 1.983 MB / 0.6418 GB, free: 6.508 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004905/0.5476, allocations: 37.97 kB / 0.6418 GB, free: 6.473 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006024/0.5537, allocations: 2.252 MB / 0.644 GB, free: 4.199 MB / 446.1 MB Notification: Performance of pre-optimization done (n=250): time 8.646e-06/0.5537, allocations: 0 / 0.644 GB, free: 4.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=250): time 0.1351/0.6888, allocations: 28.82 MB / 0.6722 GB, free: 7.258 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.689, allocations: 180.2 kB / 0.6723 GB, free: 7.043 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006979/0.696, allocations: 2.329 MB / 0.6746 GB, free: 4.695 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001358/0.6974, allocations: 73.69 kB / 0.6747 GB, free: 4.617 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.6991, allocations: 1.176 MB / 0.6758 GB, free: 3.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002111/0.7012, allocations: 0.8819 MB / 0.6767 GB, free: 2.535 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003228/0.7044, allocations: 0.566 MB / 0.6772 GB, free: 1.961 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.7046, allocations: 313.1 kB / 0.6775 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005562/0.7102, allocations: 1.986 MB / 0.6795 GB, free: 15.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005841/0.716, allocations: 2.362 MB / 0.6818 GB, free: 13.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06279/0.7788, allocations: 14.42 MB / 0.6959 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.438e-05/0.7789, allocations: 7.938 kB / 0.6959 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04951/0.8284, allocations: 12.61 MB / 0.7082 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.8286, allocations: 114.8 kB / 0.7083 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.923e-05/0.8287, allocations: 8 kB / 0.7083 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02087/0.8495, allocations: 5.442 MB / 0.7136 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003479/0.8531, allocations: 0.5772 MB / 0.7142 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07191/0.925, allocations: 23.68 MB / 0.7373 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005587/0.9306, allocations: 0.4892 MB / 0.7378 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000961/0.9316, allocations: 124 kB / 0.7379 GB, free: 3.258 MB / 0.5294 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.002459/0.9341, allocations: 0.5265 MB / 0.7384 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/0.9356, allocations: 304.2 kB / 0.7387 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04365/0.9793, allocations: 11.95 MB / 0.7504 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-05/0.9794, allocations: 24 kB / 0.7504 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.611e-05/0.9795, allocations: 20 kB / 0.7504 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001022/0.9796, allocations: 15.89 kB / 0.7504 GB, free: 6.309 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05566/1.035, allocations: 15.59 MB / 0.7657 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/1.035, allocations: 0 / 0.7657 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/1.037, allocations: 251.7 kB / 0.7659 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01973/1.057, allocations: 5.287 MB / 0.7711 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008815/1.058, allocations: 55.98 kB / 0.7711 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3463/1.404, allocations: 24.95 MB / 0.7955 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.404, allocations: 1.281 kB / 0.7955 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05119/1.455, allocations: 14.34 MB / 0.8095 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/1.457, allocations: 415.5 kB / 0.8099 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002599/1.46, allocations: 48.44 kB / 0.8099 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006491/1.467, allocations: 300 kB / 0.8102 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004143/1.471, allocations: 0.5732 MB / 0.8108 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001155/1.472, allocations: 65.44 kB / 0.8108 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004109/1.476, allocations: 1.547 MB / 0.8123 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.81e-07/1.476, allocations: 0 / 0.8123 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009011/1.485, allocations: 1.19 MB / 0.8135 GB, free: 151.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001173/1.486, allocations: 174.6 kB / 0.8137 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02276/1.509, allocations: 6.909 MB / 0.8204 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.509, allocations: 0 / 0.8204 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01433/1.524, allocations: 4.415 MB / 0.8247 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004721/1.528, allocations: 280.4 kB / 0.825 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/1.542, allocations: 5.605 MB / 0.8305 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/1.544, allocations: 1.824 MB / 0.8323 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/1.545, allocations: 187.4 kB / 0.8324 GB, free: 138 MB / 0.5606 GB Notification: Performance of SimCode: time 1.423e-06/1.545, allocations: 0 / 0.8324 GB, free: 138 MB / 0.5606 GB Notification: Performance of Templates: time 0.08294/1.628, allocations: 64.62 MB / 0.8955 GB, free: 73.33 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)