Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.075/0.075, allocations: 12.6 MB / 28.91 MB, free: 0.6172 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.001045/0.001045, allocations: 107.5 kB / 32.51 MB, free: 3.555 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.29/1.29, allocations: 205.1 MB / 241.1 MB, free: 12.34 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.001407/0.001407, allocations: 184.5 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.4249/0.4249, allocations: 78.51 MB / 420 MB, free: 11.25 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.002733/0.002733, allocations: 143.4 kB / 0.5566 GB, free: 28.5 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1083, allocations: 68.12 MB / 0.6231 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI): time 0.01188/0.1202, allocations: 13.62 MB / 0.6364 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007438/0.1277, allocations: 3.488 MB / 0.6398 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.1297, allocations: 28 kB / 0.6399 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.1311, allocations: 0.5693 MB / 0.6404 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004197/0.1353, allocations: 1.573 MB / 0.6419 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003479/0.1388, allocations: 1.55 MB / 0.6435 GB, free: 10.46 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004441/0.1433, allocations: 3.714 MB / 0.6471 GB, free: 6.734 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.1445, allocations: 0.8345 MB / 0.6479 GB, free: 5.863 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.1465, allocations: 1.513 MB / 0.6494 GB, free: 4.344 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00235/0.1489, allocations: 1.964 MB / 0.6513 GB, free: 2.371 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007649/0.1497, allocations: 284 kB / 0.6516 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.1507, allocations: 431.9 kB / 0.652 GB, free: 1.672 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006492/0.1514, allocations: 0.7779 MB / 0.6527 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.1529, allocations: 1.639 MB / 0.6543 GB, free: 15.24 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003736/0.1567, allocations: 3.974 MB / 0.6582 GB, free: 11.25 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1567, allocations: 0 / 0.6582 GB, free: 11.25 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1567, allocations: 0 / 0.6582 GB, free: 11.25 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.251e-05/0.1568, allocations: 0 / 0.6582 GB, free: 11.25 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.02433/0.1811, allocations: 6.602 MB / 0.6647 GB, free: 4.555 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.1812, allocations: 11.98 kB / 0.6647 GB, free: 4.543 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.1973, allocations: 2.279 MB / 0.6669 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004178/0.2015, allocations: 1.91 MB / 0.6688 GB, free: 288 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007113/0.2022, allocations: 0.6633 MB / 0.6694 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007283/0.203, allocations: 215.9 kB / 0.6696 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007249/0.2102, allocations: 3.06 MB / 0.6726 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/0.2103, allocations: 0 / 0.6726 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003251/0.2106, allocations: 87.94 kB / 0.6727 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/0.2107, allocations: 51.98 kB / 0.6727 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006376/0.2171, allocations: 2.827 MB / 0.6755 GB, free: 9.18 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.01984/0.2369, allocations: 9.937 MB / 0.6852 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/0.2484, allocations: 4.105 MB / 0.6892 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004578/0.253, allocations: 1.99 MB / 0.6912 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/0.2534, allocations: 41.95 kB / 0.6912 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.2534, allocations: 60.5 kB / 0.6913 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=243): time 4.739e-06/0.2534, allocations: 3.938 kB / 0.6913 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=243): time 0.3787/0.6321, allocations: 28.18 MB / 0.7188 GB, free: 79.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/0.6322, allocations: 236.5 kB / 0.719 GB, free: 79.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00417/0.6364, allocations: 2.303 MB / 0.7213 GB, free: 79.05 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005749/0.637, allocations: 70.05 kB / 0.7213 GB, free: 79.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000812/0.6378, allocations: 1.177 MB / 0.7225 GB, free: 78.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008723/0.6387, allocations: 0.8584 MB / 0.7233 GB, free: 78.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.6398, allocations: 0.5447 MB / 0.7238 GB, free: 77.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.709e-05/0.6398, allocations: 302.5 kB / 0.7241 GB, free: 77.61 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004614/0.6444, allocations: 1.965 MB / 0.7261 GB, free: 76.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/0.6493, allocations: 2.334 MB / 0.7283 GB, free: 75.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05666/0.706, allocations: 14.19 MB / 0.7422 GB, free: 71.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.673e-05/0.7061, allocations: 0 / 0.7422 GB, free: 71.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=401) (initialization): time 0.03977/0.7458, allocations: 12.5 MB / 0.7544 GB, free: 64.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.325e-05/0.7459, allocations: 114.8 kB / 0.7545 GB, free: 64.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.746, allocations: 8 kB / 0.7545 GB, free: 64.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01699/0.763, allocations: 5.244 MB / 0.7596 GB, free: 59.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/0.766, allocations: 0.55 MB / 0.7602 GB, free: 58.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05675/0.8228, allocations: 23.17 MB / 0.7828 GB, free: 35.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004279/0.8271, allocations: 466.3 kB / 0.7832 GB, free: 34.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003433/0.8274, allocations: 116 kB / 0.7834 GB, free: 34.65 MB / 0.5137 GB Warning: Assuming fixed start value for the following 7 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.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" 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.005144/0.8326, allocations: 2.301 MB / 0.7856 GB, free: 32.35 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004285/0.8369, allocations: 2.312 MB / 0.7879 GB, free: 29.94 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05266/0.8896, allocations: 14.13 MB / 0.8017 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.239e-05/0.8896, allocations: 0 / 0.8017 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=401) (initialization_lambda0): time 0.03892/0.9286, allocations: 12.44 MB / 0.8138 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.069e-05/0.9287, allocations: 118.8 kB / 0.8139 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.9287, allocations: 4 kB / 0.8139 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01763/0.9463, allocations: 5.257 MB / 0.8191 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/0.9494, allocations: 0.5352 MB / 0.8196 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06264/1.012, allocations: 23.17 MB / 0.8422 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004374/1.016, allocations: 441.5 kB / 0.8426 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004043/1.017, allocations: 112 kB / 0.8427 GB, free: 5.281 MB / 0.545 GB Warning: Assuming fixed start value for the following 7 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.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (314): * Single equations (assignments): 309 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008388/1.018, allocations: 399.1 kB / 0.8431 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007016/1.018, allocations: 293.4 kB / 0.8434 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04171/1.06, allocations: 11.71 MB / 0.8548 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.279e-05/1.06, allocations: 11.95 kB / 0.8548 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.06, allocations: 0 / 0.8548 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.061, allocations: 416.8 kB / 0.8552 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/1.063, allocations: 44 kB / 0.8553 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003538/1.066, allocations: 287.6 kB / 0.8556 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004554/1.071, allocations: 1.383 MB / 0.8569 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01881/1.09, allocations: 5.742 MB / 0.8625 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01429/1.104, allocations: 5.952 MB / 0.8683 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004193/1.108, allocations: 1.628 MB / 0.8699 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002801/1.111, allocations: 1.531 MB / 0.8714 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of Backend: time 7.12e-07/1.111, allocations: 0 / 0.8714 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03247/1.143, allocations: 9.834 MB / 0.881 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of SimCode: time 0.009995/1.153, allocations: 6.301 MB / 0.8872 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of Templates: time 0.1298/1.283, allocations: 87.23 MB / 0.9723 GB, free: 300 kB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)