Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08993/0.08993, allocations: 12.6 MB / 28.91 MB, free: 0.6289 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.001289/0.00129, allocations: 103.5 kB / 32.51 MB, free: 3.57 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.532/1.532, 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.001618/0.001618, allocations: 199.4 kB / 291.4 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4619/0.4619, allocations: 78.51 MB / 420 MB, free: 11.3 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.002922/0.002923, allocations: 135 kB / 0.5566 GB, free: 28.57 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1464, allocations: 68.13 MB / 0.6231 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII): time 0.01329/0.1598, allocations: 13.04 MB / 0.6359 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008444/0.1683, allocations: 3.262 MB / 0.639 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/0.1713, allocations: 28 kB / 0.6391 GB, free: 15 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.1732, allocations: 0.5072 MB / 0.6396 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005863/0.1791, allocations: 1.486 MB / 0.641 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004132/0.1832, allocations: 1.461 MB / 0.6424 GB, free: 11.56 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006099/0.1893, allocations: 3.348 MB / 0.6457 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.1906, allocations: 0.7587 MB / 0.6464 GB, free: 7.398 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.1927, allocations: 1.381 MB / 0.6478 GB, free: 6.012 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/0.1949, allocations: 1.832 MB / 0.6496 GB, free: 4.172 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006846/0.1956, allocations: 256 kB / 0.6498 GB, free: 3.922 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.1967, allocations: 403.9 kB / 0.6502 GB, free: 3.527 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000649/0.1974, allocations: 0.6883 MB / 0.6509 GB, free: 2.836 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.199, allocations: 1.515 MB / 0.6524 GB, free: 1.312 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005125/0.2042, allocations: 3.658 MB / 0.6559 GB, free: 13.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.2042, allocations: 0 / 0.6559 GB, free: 13.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2043, allocations: 8 kB / 0.6559 GB, free: 13.63 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001302/0.2044, allocations: 0 / 0.6559 GB, free: 13.63 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: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.02438/0.2288, allocations: 6.173 MB / 0.662 GB, free: 7.391 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.2289, allocations: 11.98 kB / 0.662 GB, free: 7.379 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/0.2447, allocations: 2.248 MB / 0.6642 GB, free: 5.125 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004046/0.2488, allocations: 1.681 MB / 0.6658 GB, free: 3.375 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000728/0.2495, allocations: 0.6552 MB / 0.6665 GB, free: 2.621 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005616/0.2501, allocations: 204 kB / 0.6667 GB, free: 2.422 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006461/0.2566, allocations: 2.902 MB / 0.6695 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.2566, allocations: 4 kB / 0.6695 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/0.2569, allocations: 75.94 kB / 0.6696 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.2569, allocations: 55.92 kB / 0.6696 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006103/0.2631, allocations: 2.677 MB / 0.6722 GB, free: 12.69 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.02012/0.2832, allocations: 9.556 MB / 0.6816 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/0.2949, allocations: 4.045 MB / 0.6855 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004794/0.2998, allocations: 1.892 MB / 0.6874 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.3001, allocations: 33.97 kB / 0.6874 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/0.3002, allocations: 60.5 kB / 0.6875 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 6.091e-06/0.3002, allocations: 0 / 0.6875 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=229): time 0.1171/0.4173, allocations: 25.54 MB / 0.7124 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/0.4174, allocations: 128.8 kB / 0.7125 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003545/0.421, allocations: 2.021 MB / 0.7145 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006617/0.4217, allocations: 65.7 kB / 0.7146 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.3052/0.7269, allocations: 1.084 MB / 0.7156 GB, free: 78.11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001418/0.7284, allocations: 0.811 MB / 0.7164 GB, free: 77.72 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.7297, allocations: 0.5046 MB / 0.7169 GB, free: 77.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.965e-05/0.7297, allocations: 306.3 kB / 0.7172 GB, free: 77.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004891/0.7346, allocations: 1.897 MB / 0.719 GB, free: 77.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005959/0.7406, allocations: 2.248 MB / 0.7212 GB, free: 77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06335/0.804, allocations: 13.91 MB / 0.7348 GB, free: 73.56 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.691e-05/0.8041, allocations: 1.375 kB / 0.7348 GB, free: 73.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.04376/0.8479, allocations: 12.19 MB / 0.7467 GB, free: 70.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.848, allocations: 7.781 kB / 0.7467 GB, free: 70.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.848, allocations: 7.938 kB / 0.7468 GB, free: 70.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01793/0.8659, allocations: 5.259 MB / 0.7519 GB, free: 67.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/0.8688, allocations: 499.3 kB / 0.7524 GB, free: 67.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06132/0.9302, allocations: 23.17 MB / 0.775 GB, free: 43.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004277/0.9345, allocations: 441.2 kB / 0.7754 GB, free: 43.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005128/0.9351, allocations: 104 kB / 0.7755 GB, free: 43.23 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.004902/0.94, allocations: 2.195 MB / 0.7777 GB, free: 41.03 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004024/0.944, allocations: 2.232 MB / 0.7798 GB, free: 38.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05528/0.9993, allocations: 13.83 MB / 0.7933 GB, free: 24.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.478e-05/0.9994, allocations: 4 kB / 0.7933 GB, free: 24.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=381) (initialization_lambda0): time 0.04226/1.042, allocations: 12.14 MB / 0.8052 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/1.042, allocations: 8 kB / 0.8052 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/1.042, allocations: 9.094 kB / 0.8052 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01769/1.059, allocations: 5.245 MB / 0.8103 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002718/1.062, allocations: 0.4923 MB / 0.8108 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06812/1.13, allocations: 23.17 MB / 0.8335 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004794/1.135, allocations: 413.6 kB / 0.8338 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00086/1.136, allocations: 108 kB / 0.8339 GB, free: 14.95 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 (294): * Single equations (assignments): 293 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001608/1.138, allocations: 335.5 kB / 0.8343 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001516/1.139, allocations: 276.6 kB / 0.8345 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04404/1.183, allocations: 11.46 MB / 0.8457 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.592e-05/1.183, allocations: 11.95 kB / 0.8457 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.183, allocations: 3.828 kB / 0.8457 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.185, allocations: 373.1 kB / 0.8461 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/1.186, allocations: 40 kB / 0.8461 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004079/1.19, allocations: 259.7 kB / 0.8464 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005117/1.195, allocations: 1.371 MB / 0.8477 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02043/1.216, allocations: 5.224 MB / 0.8528 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01515/1.231, allocations: 5.425 MB / 0.8581 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004711/1.236, allocations: 1.511 MB / 0.8596 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003117/1.239, allocations: 1.326 MB / 0.8609 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of Backend: time 1.423e-06/1.239, allocations: 0 / 0.8609 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03641/1.275, allocations: 9.217 MB / 0.8699 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01049/1.286, allocations: 5.78 MB / 0.8755 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of Templates: time 0.1323/1.418, allocations: 83.3 MB / 0.9569 GB, free: 0.9922 MB / 0.6544 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)