Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.357/1.357, allocations: 222.9 MB / 239.6 MB, free: 4.699 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.001591/0.001591, allocations: 184.5 kB / 289.9 MB, free: 2.445 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5632/0.5632, allocations: 91.91 MB / 432 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 75.88 kB / 0.502 GB, free: 8.027 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3769, allocations: 71.26 MB / 0.5716 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01038/0.3873, allocations: 14.42 MB / 0.5857 GB, free: 27.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007399/0.3948, allocations: 3.594 MB / 0.5892 GB, free: 24.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003259/0.3981, allocations: 41.31 kB / 0.5893 GB, free: 24.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.4003, allocations: 435.2 kB / 0.5897 GB, free: 24.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00514/0.4055, allocations: 1.215 MB / 0.5909 GB, free: 23.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.4091, allocations: 1.414 MB / 0.5922 GB, free: 22.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005877/0.415, allocations: 3.692 MB / 0.5958 GB, free: 20.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.4166, allocations: 0.8956 MB / 0.5967 GB, free: 20.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.4193, allocations: 1.534 MB / 0.5982 GB, free: 19.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002855/0.4221, allocations: 1.96 MB / 0.6001 GB, free: 18.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001032/0.4232, allocations: 284.4 kB / 0.6004 GB, free: 18.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.4247, allocations: 430.9 kB / 0.6008 GB, free: 18.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005603/0.4253, allocations: 0.7636 MB / 0.6016 GB, free: 18.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.4269, allocations: 1.648 MB / 0.6032 GB, free: 16.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003432/0.4304, allocations: 3.073 MB / 0.6062 GB, free: 15.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4304, allocations: 1 kB / 0.6062 GB, free: 15.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4304, allocations: 0 / 0.6062 GB, free: 15.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001114/0.4305, allocations: 0 / 0.6062 GB, free: 15.74 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02542/0.4559, allocations: 6.579 MB / 0.6126 GB, free: 13.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.456, allocations: 9.297 kB / 0.6126 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01574/0.4717, allocations: 2.277 MB / 0.6148 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005112/0.4769, allocations: 1.872 MB / 0.6166 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007242/0.4777, allocations: 0.7294 MB / 0.6174 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008831/0.4785, allocations: 216.1 kB / 0.6176 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007071/0.4856, allocations: 3.023 MB / 0.6205 GB, free: 9.641 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/0.4857, allocations: 0 / 0.6205 GB, free: 9.641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002609/0.486, allocations: 91.08 kB / 0.6206 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/0.486, allocations: 52.95 kB / 0.6207 GB, free: 9.566 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006402/0.4924, allocations: 2.784 MB / 0.6234 GB, free: 8.625 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.01882/0.5113, allocations: 9.874 MB / 0.633 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/0.5226, allocations: 4.188 MB / 0.6371 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004844/0.5275, allocations: 1.966 MB / 0.639 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004093/0.5279, allocations: 41.95 kB / 0.6391 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005313/0.5333, allocations: 2.228 MB / 0.6412 GB, free: 6.578 MB / 446.1 MB Notification: Performance of pre-optimization done (n=247): time 4.869e-06/0.5333, allocations: 0 / 0.6412 GB, free: 6.578 MB / 446.1 MB Notification: Performance of matching and sorting (n=247): time 0.1258/0.6591, allocations: 29.47 MB / 0.67 GB, free: 8.984 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.6592, allocations: 184.2 kB / 0.6702 GB, free: 8.766 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004019/0.6633, allocations: 2.277 MB / 0.6724 GB, free: 6.469 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009967/0.6643, allocations: 73.7 kB / 0.6725 GB, free: 6.391 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.6654, allocations: 1.172 MB / 0.6736 GB, free: 5.207 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001727/0.6671, allocations: 0.8665 MB / 0.6745 GB, free: 4.328 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.6684, allocations: 0.5578 MB / 0.675 GB, free: 3.762 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6685, allocations: 305.1 kB / 0.6753 GB, free: 3.461 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004302/0.6728, allocations: 1.947 MB / 0.6772 GB, free: 1.512 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004715/0.6776, allocations: 2.318 MB / 0.6795 GB, free: 15.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05506/0.7327, allocations: 14.05 MB / 0.6932 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.7327, allocations: 4 kB / 0.6932 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04171/0.7744, allocations: 12.28 MB / 0.7052 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.7746, allocations: 118.8 kB / 0.7053 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.7746, allocations: 11.94 kB / 0.7053 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01807/0.7927, allocations: 5.321 MB / 0.7105 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003119/0.7959, allocations: 0.5656 MB / 0.7111 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05998/0.8559, allocations: 23.49 MB / 0.734 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005194/0.8611, allocations: 493 kB / 0.7345 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008058/0.8619, allocations: 116 kB / 0.7346 GB, free: 6.164 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 order3_1.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 (325): * Single equations (assignments): 320 * 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,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001609/0.8636, allocations: 0.5385 MB / 0.7351 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009465/0.8645, allocations: 292.3 kB / 0.7354 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03944/0.904, allocations: 11.91 MB / 0.747 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.099e-05/0.904, allocations: 24 kB / 0.747 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.335e-05/0.9041, allocations: 16 kB / 0.7471 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-05/0.9042, allocations: 15.95 kB / 0.7471 GB, free: 9.305 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.0458/0.95, allocations: 15.49 MB / 0.7622 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/0.9501, allocations: 0 / 0.7622 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.9517, allocations: 239.7 kB / 0.7624 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.018/0.9698, allocations: 5.295 MB / 0.7676 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009122/0.9707, allocations: 48 kB / 0.7677 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3719/1.343, allocations: 24.97 MB / 0.792 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.343, allocations: 1.844 kB / 0.792 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04693/1.39, allocations: 14.26 MB / 0.806 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/1.391, allocations: 406.8 kB / 0.8063 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007493/1.392, allocations: 45.48 kB / 0.8064 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003039/1.395, allocations: 303.2 kB / 0.8067 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002235/1.397, allocations: 0.5834 MB / 0.8073 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/1.397, allocations: 64.92 kB / 0.8073 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002276/1.399, allocations: 1.511 MB / 0.8088 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/1.399, allocations: 0 / 0.8088 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004028/1.403, allocations: 1.172 MB / 0.8099 GB, free: 153.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.0004745/1.404, allocations: 179.1 kB / 0.8101 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01924/1.423, allocations: 6.804 MB / 0.8167 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.423, allocations: 0 / 0.8167 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01304/1.436, allocations: 4.395 MB / 0.821 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/1.439, allocations: 265.8 kB / 0.8213 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009852/1.449, allocations: 6.46 MB / 0.8276 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/1.45, allocations: 1.807 MB / 0.8294 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/1.451, allocations: 181.4 kB / 0.8295 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/1.451, allocations: 0 / 0.8295 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.06684/1.518, allocations: 63.79 MB / 0.8918 GB, free: 77.12 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)