Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08324/0.08324, allocations: 12.6 MB / 28.91 MB, free: 0.6406 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.001095/0.001095, allocations: 107.5 kB / 32.51 MB, free: 3.582 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.504/1.504, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.001766/0.001766, allocations: 199.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.4638/0.4638, 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.002557/0.002557, allocations: 135.4 kB / 0.5566 GB, free: 28.56 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1449, allocations: 68.14 MB / 0.6231 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII): time 0.0142/0.1591, allocations: 12.94 MB / 0.6358 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009009/0.1682, allocations: 3.227 MB / 0.6389 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.1713, allocations: 35.94 kB / 0.639 GB, free: 15.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.1736, allocations: 0.5034 MB / 0.6394 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006352/0.18, allocations: 1.47 MB / 0.6409 GB, free: 13.12 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_1.xq <> order4_1.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00436/0.1843, allocations: 1.452 MB / 0.6423 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006526/0.1909, allocations: 3.3 MB / 0.6455 GB, free: 8.379 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.1928, allocations: 0.7509 MB / 0.6463 GB, free: 7.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002854/0.1957, allocations: 1.373 MB / 0.6476 GB, free: 6.211 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003333/0.199, allocations: 1.789 MB / 0.6493 GB, free: 4.414 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.2005, allocations: 252 kB / 0.6496 GB, free: 4.168 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/0.2026, allocations: 391.9 kB / 0.65 GB, free: 3.785 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.2039, allocations: 0.6767 MB / 0.6506 GB, free: 3.105 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003081/0.207, allocations: 1.499 MB / 0.6521 GB, free: 1.598 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006599/0.2136, allocations: 3.625 MB / 0.6556 GB, free: 13.96 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.2136, allocations: 0 / 0.6556 GB, free: 13.96 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.889e-06/0.2136, allocations: 0 / 0.6556 GB, free: 13.96 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001401/0.2138, allocations: 3.938 kB / 0.6556 GB, free: 13.95 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.02264/0.2364, allocations: 6.194 MB / 0.6617 GB, free: 7.688 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.2365, allocations: 19.97 kB / 0.6617 GB, free: 7.668 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01491/0.2514, allocations: 2.257 MB / 0.6639 GB, free: 5.406 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004203/0.2557, allocations: 1.679 MB / 0.6655 GB, free: 3.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007384/0.2565, allocations: 0.6591 MB / 0.6662 GB, free: 2.902 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007012/0.2572, allocations: 204 kB / 0.6664 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006617/0.2638, allocations: 2.894 MB / 0.6692 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/0.2639, allocations: 0 / 0.6692 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/0.2642, allocations: 79.94 kB / 0.6693 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-05/0.2642, allocations: 48 kB / 0.6693 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005939/0.2702, allocations: 2.662 MB / 0.6719 GB, free: 13 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.01861/0.2888, allocations: 9.515 MB / 0.6812 GB, free: 3.066 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.2997, allocations: 4.034 MB / 0.6852 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004501/0.3042, allocations: 1.877 MB / 0.687 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003824/0.3046, allocations: 45.95 kB / 0.687 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.3047, allocations: 52.56 kB / 0.6871 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=228): time 6.202e-06/0.3047, allocations: 3.938 kB / 0.6871 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=228): time 0.1206/0.4253, allocations: 28.84 MB / 0.7152 GB, free: 16 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3311/0.7565, allocations: 127 kB / 0.7154 GB, free: 78.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/0.76, allocations: 1.981 MB / 0.7173 GB, free: 78.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007902/0.7608, allocations: 65.89 kB / 0.7174 GB, free: 78.56 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.7618, allocations: 1.089 MB / 0.7184 GB, free: 78.46 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009622/0.7628, allocations: 0.8434 MB / 0.7193 GB, free: 78.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.7639, allocations: 0.5035 MB / 0.7197 GB, free: 78.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.764, allocations: 303.4 kB / 0.72 GB, free: 77.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004959/0.769, allocations: 1.879 MB / 0.7219 GB, free: 77.13 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005338/0.7743, allocations: 2.227 MB / 0.724 GB, free: 76.15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06059/0.8349, allocations: 13.7 MB / 0.7374 GB, free: 72.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/0.835, allocations: 2.375 kB / 0.7374 GB, free: 72.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.03674/0.8717, allocations: 12.17 MB / 0.7493 GB, free: 69.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.8718, allocations: 7.562 kB / 0.7493 GB, free: 69.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.8719, allocations: 7.938 kB / 0.7493 GB, free: 69.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01615/0.888, allocations: 5.207 MB / 0.7544 GB, free: 65.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/0.8908, allocations: 487.3 kB / 0.7549 GB, free: 65.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05267/0.9435, allocations: 23.21 MB / 0.7775 GB, free: 41.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004218/0.9478, allocations: 447.9 kB / 0.778 GB, free: 41.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003145/0.9481, allocations: 104 kB / 0.7781 GB, free: 41.18 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004441/0.9526, allocations: 2.175 MB / 0.7802 GB, free: 38.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003549/0.9561, allocations: 2.199 MB / 0.7823 GB, free: 36.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05228/1.008, allocations: 13.64 MB / 0.7957 GB, free: 22.94 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.491e-05/1.009, allocations: 0 / 0.7957 GB, free: 22.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=377) (initialization_lambda0): time 0.03643/1.045, allocations: 12.11 MB / 0.8075 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/1.045, allocations: 4 kB / 0.8075 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/1.045, allocations: 11.94 kB / 0.8075 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01548/1.061, allocations: 5.213 MB / 0.8126 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/1.063, allocations: 483.3 kB / 0.8131 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05768/1.121, allocations: 23.21 MB / 0.8357 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00372/1.125, allocations: 410.8 kB / 0.8361 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003426/1.125, allocations: 108.8 kB / 0.8362 GB, free: 13.27 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_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 (290): * Single equations (assignments): 289 * 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): 1 system {(62,26,8.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007874/1.126, allocations: 344.5 kB / 0.8365 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006469/1.126, allocations: 286.2 kB / 0.8368 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03731/1.164, allocations: 11.44 MB / 0.848 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.276e-05/1.164, allocations: 7.969 kB / 0.848 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/1.164, allocations: 0 / 0.848 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.165, allocations: 391.8 kB / 0.8484 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007098/1.166, allocations: 41.88 kB / 0.8484 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002574/1.168, allocations: 255.7 kB / 0.8487 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004064/1.172, allocations: 1.367 MB / 0.85 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01471/1.187, allocations: 5.17 MB / 0.855 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01167/1.199, allocations: 5.399 MB / 0.8603 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003418/1.202, allocations: 1.507 MB / 0.8618 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001931/1.204, allocations: 1.294 MB / 0.863 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of Backend: time 1.012e-06/1.204, allocations: 0 / 0.863 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02854/1.233, allocations: 9.19 MB / 0.872 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01221/1.245, allocations: 5.797 MB / 0.8777 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of Templates: time 0.152/1.397, allocations: 82.44 MB / 0.9582 GB, free: 348 kB / 0.6544 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)