Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09937/0.09937, allocations: 12.6 MB / 28.91 MB, free: 0.5977 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 107.5 kB / 32.51 MB, free: 3.531 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 191.3 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5046/0.5046, allocations: 78.51 MB / 420 MB, free: 11.27 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002639/0.00264, allocations: 135 kB / 0.5566 GB, free: 28.46 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.13, allocations: 68.14 MB / 0.6231 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII): time 0.01226/0.1423, allocations: 12.84 MB / 0.6357 GB, free: 2.445 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007438/0.1498, allocations: 3.231 MB / 0.6388 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00284/0.1527, allocations: 24 kB / 0.6389 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.1546, allocations: 0.5034 MB / 0.6393 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005481/0.1601, allocations: 1.467 MB / 0.6408 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004008/0.1641, allocations: 1.441 MB / 0.6422 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005781/0.1699, allocations: 3.293 MB / 0.6454 GB, free: 8.477 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.1717, allocations: 0.7587 MB / 0.6461 GB, free: 7.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/0.1744, allocations: 1.361 MB / 0.6475 GB, free: 6.312 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002887/0.1773, allocations: 1.801 MB / 0.6492 GB, free: 4.504 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.1784, allocations: 252 kB / 0.6495 GB, free: 4.258 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.1803, allocations: 391.9 kB / 0.6498 GB, free: 3.875 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.1814, allocations: 0.6806 MB / 0.6505 GB, free: 3.191 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002832/0.1842, allocations: 1.495 MB / 0.652 GB, free: 1.688 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006142/0.1904, allocations: 3.617 MB / 0.6555 GB, free: 14.05 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1904, allocations: 7.938 kB / 0.6555 GB, free: 14.05 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1904, allocations: 0 / 0.6555 GB, free: 14.05 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000166/0.1906, allocations: 0 / 0.6555 GB, free: 14.05 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.02311/0.2137, allocations: 6.21 MB / 0.6616 GB, free: 7.766 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.2138, allocations: 11.98 kB / 0.6616 GB, free: 7.754 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01522/0.229, allocations: 2.257 MB / 0.6638 GB, free: 5.492 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004345/0.2334, allocations: 1.675 MB / 0.6654 GB, free: 3.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008185/0.2342, allocations: 0.663 MB / 0.6661 GB, free: 2.988 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.2353, allocations: 200 kB / 0.6663 GB, free: 2.793 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008585/0.2439, allocations: 2.886 MB / 0.6691 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.759e-05/0.244, allocations: 4 kB / 0.6691 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005428/0.2446, allocations: 79.94 kB / 0.6692 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.58e-05/0.2446, allocations: 48 kB / 0.6692 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006456/0.2511, allocations: 2.662 MB / 0.6718 GB, free: 13.09 MB / 494.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.02057/0.2717, allocations: 9.51 MB / 0.6811 GB, free: 3.164 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/0.2826, allocations: 4.033 MB / 0.685 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004509/0.2871, allocations: 1.877 MB / 0.6869 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004959/0.2877, allocations: 37.97 kB / 0.6869 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.01e-05/0.2877, allocations: 60.56 kB / 0.687 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=227): time 4.639e-06/0.2878, allocations: 0 / 0.687 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=227): time 0.1133/0.401, allocations: 27.33 MB / 0.7136 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.4012, allocations: 128.8 kB / 0.7138 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3888/0.79, allocations: 1.989 MB / 0.7157 GB, free: 78.56 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001176/0.7912, allocations: 69.7 kB / 0.7158 GB, free: 78.53 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/0.7924, allocations: 1.101 MB / 0.7169 GB, free: 78.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/0.7936, allocations: 0.8351 MB / 0.7177 GB, free: 77.99 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/0.7949, allocations: 0.4995 MB / 0.7182 GB, free: 77.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.296e-05/0.795, allocations: 302.2 kB / 0.7184 GB, free: 77.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004596/0.7996, allocations: 1.875 MB / 0.7203 GB, free: 77.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004956/0.8045, allocations: 2.217 MB / 0.7224 GB, free: 76.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05966/0.8642, allocations: 13.67 MB / 0.7358 GB, free: 73.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.94e-05/0.8643, allocations: 1.906 kB / 0.7358 GB, free: 73.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.03799/0.9023, allocations: 12.14 MB / 0.7477 GB, free: 70.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.9024, allocations: 11.75 kB / 0.7477 GB, free: 70.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.9024, allocations: 7.812 kB / 0.7477 GB, free: 70.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0159/0.9183, allocations: 5.343 MB / 0.7529 GB, free: 67.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/0.9209, allocations: 483.3 kB / 0.7534 GB, free: 66.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05268/0.9736, allocations: 23.55 MB / 0.7763 GB, free: 43.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004174/0.9778, allocations: 438 kB / 0.7768 GB, free: 42.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000824/0.9786, allocations: 108 kB / 0.7769 GB, free: 42.58 MB / 0.5137 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005641/0.9843, allocations: 2.159 MB / 0.779 GB, free: 40.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004345/0.9887, allocations: 2.196 MB / 0.7811 GB, free: 38.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05227/1.041, allocations: 13.6 MB / 0.7944 GB, free: 24.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.931e-05/1.041, allocations: 5.719 kB / 0.7944 GB, free: 24.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=373) (initialization_lambda0): time 0.04003/1.081, allocations: 12.1 MB / 0.8062 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/1.081, allocations: 8 kB / 0.8062 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/1.081, allocations: 8 kB / 0.8062 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01626/1.097, allocations: 5.351 MB / 0.8115 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/1.1, allocations: 481.5 kB / 0.8119 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06274/1.163, allocations: 23.55 MB / 0.8349 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004233/1.167, allocations: 410.2 kB / 0.8353 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008151/1.168, allocations: 108 kB / 0.8354 GB, free: 14.21 MB / 0.545 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 284 * Array equations: 0 * Algorithm blocks: 0 * 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.001644/1.169, allocations: 329 kB / 0.8357 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/1.171, allocations: 286.2 kB / 0.836 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0386/1.209, allocations: 11.45 MB / 0.8472 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.469e-05/1.21, allocations: 11.95 kB / 0.8472 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/1.21, allocations: 3.938 kB / 0.8472 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.211, allocations: 382.7 kB / 0.8476 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/1.212, allocations: 39.98 kB / 0.8476 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003387/1.215, allocations: 255.7 kB / 0.8478 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005096/1.221, allocations: 1.371 MB / 0.8492 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01833/1.239, allocations: 5.165 MB / 0.8542 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01526/1.254, allocations: 5.399 MB / 0.8595 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004187/1.258, allocations: 1.495 MB / 0.861 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00385/1.262, allocations: 1.298 MB / 0.8622 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of Backend: time 1.062e-06/1.262, allocations: 0 / 0.8622 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03328/1.296, allocations: 9.352 MB / 0.8714 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01339/1.309, allocations: 5.761 MB / 0.877 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of Templates: time 0.1472/1.456, allocations: 86.35 MB / 0.9613 GB, free: 13.18 MB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)