Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 114.2 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 240.1 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 196.4 kB / 290.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4458/0.4458, allocations: 78.53 MB / 419.1 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 87.88 kB / 0.5544 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2881, allocations: 68.16 MB / 0.6209 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.009676/0.2978, allocations: 13.84 MB / 0.6344 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00691/0.3047, allocations: 3.507 MB / 0.6379 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.3066, allocations: 28 kB / 0.6379 GB, free: 8.699 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.3079, allocations: 0.5654 MB / 0.6384 GB, free: 8.125 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003929/0.3119, allocations: 1.59 MB / 0.64 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.315, allocations: 1.527 MB / 0.6415 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003985/0.319, allocations: 3.819 MB / 0.6452 GB, free: 1.191 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.3201, allocations: 0.8973 MB / 0.6461 GB, free: 248 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.3218, allocations: 1.564 MB / 0.6476 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.3236, allocations: 2.003 MB / 0.6496 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003926/0.324, allocations: 296 kB / 0.6499 GB, free: 12.37 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007443/0.3248, allocations: 443.7 kB / 0.6503 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005659/0.3253, allocations: 0.7818 MB / 0.651 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.3266, allocations: 1.658 MB / 0.6527 GB, free: 9.484 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003501/0.3301, allocations: 4.078 MB / 0.6566 GB, free: 5.395 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3301, allocations: 0 / 0.6566 GB, free: 5.395 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.3301, allocations: 0 / 0.6566 GB, free: 5.395 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.249e-05/0.3302, allocations: 0 / 0.6566 GB, free: 5.395 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02185/0.352, allocations: 6.775 MB / 0.6633 GB, free: 14.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3521, allocations: 12.03 kB / 0.6633 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01504/0.3671, allocations: 2.3 MB / 0.6655 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004149/0.3713, allocations: 1.936 MB / 0.6674 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008005/0.3721, allocations: 0.7253 MB / 0.6681 GB, free: 9.363 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007798/0.3729, allocations: 216 kB / 0.6683 GB, free: 9.152 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007165/0.3801, allocations: 3.051 MB / 0.6713 GB, free: 6.023 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.597e-05/0.3802, allocations: 0 / 0.6713 GB, free: 6.023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003725/0.3806, allocations: 87.94 kB / 0.6714 GB, free: 5.938 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.3806, allocations: 52 kB / 0.6714 GB, free: 5.887 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006368/0.387, allocations: 2.8 MB / 0.6742 GB, free: 3.07 MB / 478.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.01796/0.405, allocations: 9.91 MB / 0.6838 GB, free: 8.738 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.4156, allocations: 4.231 MB / 0.688 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004263/0.4198, allocations: 1.979 MB / 0.6899 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003942/0.4203, allocations: 45.95 kB / 0.69 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004734/0.425, allocations: 2.253 MB / 0.6922 GB, free: 68 kB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 6.041e-06/0.425, allocations: 4 kB / 0.6922 GB, free: 64 kB / 494.1 MB Notification: Performance of matching and sorting (n=250): time 0.1202/0.5452, allocations: 28.83 MB / 0.7203 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.5453, allocations: 184.3 kB / 0.7205 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00327/0.5486, allocations: 2.329 MB / 0.7228 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005434/0.5492, allocations: 73.69 kB / 0.7228 GB, free: 484 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008064/0.55, allocations: 1.197 MB / 0.724 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009314/0.5509, allocations: 0.9179 MB / 0.7249 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/0.552, allocations: 0.5817 MB / 0.7255 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.5521, allocations: 301.1 kB / 0.7258 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004226/0.5564, allocations: 1.982 MB / 0.7277 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004494/0.5609, allocations: 2.358 MB / 0.73 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05696/0.6178, allocations: 14.37 MB / 0.744 GB, free: 10.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.49e-05/0.6179, allocations: 4 kB / 0.744 GB, free: 10.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04127/0.6592, allocations: 12.63 MB / 0.7564 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.299e-05/0.6593, allocations: 122.7 kB / 0.7565 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.6593, allocations: 8 kB / 0.7565 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01859/0.6779, allocations: 5.43 MB / 0.7618 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/0.681, allocations: 0.5889 MB / 0.7624 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3289/1.01, allocations: 23.65 MB / 0.7855 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0041/1.014, allocations: 0.491 MB / 0.7859 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004949/1.015, allocations: 120.5 kB / 0.7861 GB, free: 120.6 MB / 0.5606 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: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001228/1.016, allocations: 0.5312 MB / 0.7866 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006214/1.016, allocations: 318.2 kB / 0.7869 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03627/1.053, allocations: 11.96 MB / 0.7986 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.256e-05/1.053, allocations: 11.58 kB / 0.7986 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.053, allocations: 0.5 kB / 0.7986 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008717/1.054, allocations: 427.1 kB / 0.799 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007894/1.055, allocations: 47.75 kB / 0.799 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002951/1.057, allocations: 297.2 kB / 0.7993 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00427/1.062, allocations: 1.424 MB / 0.8007 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01557/1.077, allocations: 5.992 MB / 0.8065 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01085/1.088, allocations: 5.988 MB / 0.8124 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003285/1.092, allocations: 1.62 MB / 0.814 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002105/1.094, allocations: 1.547 MB / 0.8155 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of Backend: time 4.2e-07/1.094, allocations: 0 / 0.8155 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01422/1.108, allocations: 5.278 MB / 0.8206 GB, free: 98.81 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006621/1.115, allocations: 6.535 MB / 0.827 GB, free: 92.21 MB / 0.5606 GB Notification: Performance of Templates: time 0.07551/1.19, allocations: 61.82 MB / 0.8874 GB, free: 30.46 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)