Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08219/0.08219, allocations: 12.61 MB / 28.91 MB, free: 0.6094 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.001068/0.001068, allocations: 107.5 kB / 32.51 MB, free: 3.551 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.397/1.397, 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.001749/0.001749, allocations: 192.4 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4341/0.4341, allocations: 78.51 MB / 420 MB, free: 11.26 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.002692/0.002692, allocations: 136.2 kB / 0.5566 GB, free: 28.57 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1333, allocations: 68.12 MB / 0.6231 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII): time 0.01258/0.1459, allocations: 13.09 MB / 0.6359 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007327/0.1533, allocations: 3.271 MB / 0.6391 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.156, allocations: 28 kB / 0.6391 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.1578, allocations: 0.5189 MB / 0.6396 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005259/0.1631, allocations: 1.489 MB / 0.6411 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003853/0.167, allocations: 1.462 MB / 0.6425 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005212/0.1722, allocations: 3.387 MB / 0.6458 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.1735, allocations: 0.7587 MB / 0.6466 GB, free: 7.234 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/0.1758, allocations: 1.4 MB / 0.6479 GB, free: 5.828 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002614/0.1785, allocations: 1.84 MB / 0.6497 GB, free: 3.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007797/0.1793, allocations: 260 kB / 0.65 GB, free: 3.727 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.1806, allocations: 407.8 kB / 0.6504 GB, free: 3.328 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008827/0.1814, allocations: 0.6963 MB / 0.651 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002298/0.1838, allocations: 1.53 MB / 0.6525 GB, free: 1.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0041/0.1879, allocations: 3.682 MB / 0.6561 GB, free: 13.39 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1879, allocations: 0 / 0.6561 GB, free: 13.39 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1879, allocations: 0 / 0.6561 GB, free: 13.39 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.094e-05/0.188, allocations: 0 / 0.6561 GB, free: 13.39 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.02417/0.2121, allocations: 6.204 MB / 0.6622 GB, free: 7.121 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.2122, allocations: 11.98 kB / 0.6622 GB, free: 7.109 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01566/0.2279, allocations: 2.248 MB / 0.6644 GB, free: 4.855 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003488/0.2314, allocations: 1.697 MB / 0.6661 GB, free: 3.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006537/0.2321, allocations: 0.6631 MB / 0.6667 GB, free: 2.328 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004827/0.2326, allocations: 204 kB / 0.6669 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006287/0.2389, allocations: 2.914 MB / 0.6697 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.2389, allocations: 0 / 0.6697 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/0.2392, allocations: 83.94 kB / 0.6698 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.2392, allocations: 47.98 kB / 0.6699 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00585/0.2451, allocations: 2.685 MB / 0.6725 GB, free: 12.38 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.01812/0.2632, allocations: 9.591 MB / 0.6819 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/0.2748, allocations: 4.066 MB / 0.6858 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004567/0.2794, allocations: 1.896 MB / 0.6877 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/0.2797, allocations: 37.97 kB / 0.6877 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/0.2798, allocations: 60.56 kB / 0.6878 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=230): time 4.709e-06/0.2798, allocations: 4 kB / 0.6878 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=230): time 0.1189/0.3987, allocations: 26.21 MB / 0.7134 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/0.3989, allocations: 128.8 kB / 0.7135 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3158/0.7147, allocations: 2.042 MB / 0.7155 GB, free: 77.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007195/0.7154, allocations: 67.89 kB / 0.7156 GB, free: 77.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008761/0.7163, allocations: 1.089 MB / 0.7166 GB, free: 77.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009777/0.7173, allocations: 0.8139 MB / 0.7174 GB, free: 77.31 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001152/0.7185, allocations: 0.5109 MB / 0.7179 GB, free: 77.28 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.7185, allocations: 301.1 kB / 0.7182 GB, free: 76.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004748/0.7233, allocations: 1.918 MB / 0.7201 GB, free: 76.74 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004864/0.7282, allocations: 2.267 MB / 0.7223 GB, free: 75.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06284/0.791, allocations: 14.04 MB / 0.736 GB, free: 72.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-05/0.7911, allocations: 6.688 kB / 0.736 GB, free: 72.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=385) (initialization): time 0.04125/0.8324, allocations: 12.13 MB / 0.7478 GB, free: 69.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.8324, allocations: 7.688 kB / 0.7479 GB, free: 69.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.8325, allocations: 7.375 kB / 0.7479 GB, free: 69.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01801/0.8505, allocations: 5.401 MB / 0.7531 GB, free: 66.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002497/0.853, allocations: 0.4953 MB / 0.7536 GB, free: 65.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05862/0.9116, allocations: 23.64 MB / 0.7767 GB, free: 41.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004323/0.916, allocations: 437.2 kB / 0.7771 GB, free: 41.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007717/0.9168, allocations: 119.2 kB / 0.7772 GB, free: 41.38 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 Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006086/0.9229, allocations: 2.2 MB / 0.7794 GB, free: 39.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004729/0.9277, allocations: 2.244 MB / 0.7816 GB, free: 36.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05659/0.9843, allocations: 13.98 MB / 0.7952 GB, free: 22.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-05/0.9843, allocations: 0 / 0.7952 GB, free: 22.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=385) (initialization_lambda0): time 0.04005/1.024, allocations: 12.09 MB / 0.807 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/1.024, allocations: 8 kB / 0.807 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/1.025, allocations: 4 kB / 0.807 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01827/1.043, allocations: 5.411 MB / 0.8123 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/1.045, allocations: 495.3 kB / 0.8128 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06572/1.111, allocations: 23.64 MB / 0.8359 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004467/1.116, allocations: 417.5 kB / 0.8363 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006885/1.116, allocations: 108.8 kB / 0.8364 GB, free: 12.39 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 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (296): * Single equations (assignments): 295 * 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,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001249/1.118, allocations: 333.3 kB / 0.8367 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.119, allocations: 272.6 kB / 0.837 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04119/1.16, allocations: 11.49 MB / 0.8482 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-05/1.16, allocations: 11.95 kB / 0.8482 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/1.16, allocations: 4 kB / 0.8482 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009584/1.161, allocations: 384.8 kB / 0.8486 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/1.162, allocations: 40 kB / 0.8486 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003728/1.166, allocations: 259.7 kB / 0.8489 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004729/1.171, allocations: 1.375 MB / 0.8502 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01831/1.189, allocations: 5.258 MB / 0.8553 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01277/1.202, allocations: 5.453 MB / 0.8607 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003727/1.205, allocations: 1.523 MB / 0.8621 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002284/1.208, allocations: 1.33 MB / 0.8634 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of Backend: time 1.182e-06/1.208, allocations: 0 / 0.8634 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03292/1.241, allocations: 9.468 MB / 0.8727 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of SimCode: time 0.008903/1.25, allocations: 5.866 MB / 0.8784 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of Templates: time 0.1375/1.387, allocations: 88.24 MB / 0.9646 GB, free: 9.008 MB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)