Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.398/1.398, allocations: 222.9 MB / 239 MB, free: 4.703 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.001597/0.001597, allocations: 192.5 kB / 289.3 MB, free: 2.449 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5046/0.5046, allocations: 78.52 MB / 417.9 MB, free: 3.312 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 79.86 kB / 496.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1561, allocations: 68.18 MB / 0.5519 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.3159/0.472, allocations: 14.36 MB / 0.5659 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.4828, allocations: 3.588 MB / 0.5694 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00472/0.4876, allocations: 32.56 kB / 0.5694 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003325/0.491, allocations: 439.1 kB / 0.5699 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007536/0.4986, allocations: 1.209 MB / 0.571 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004139/0.5028, allocations: 1.41 MB / 0.5724 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006205/0.509, allocations: 3.69 MB / 0.576 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.5107, allocations: 0.894 MB / 0.5769 GB, free: 28.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.5136, allocations: 1.543 MB / 0.5784 GB, free: 28.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002879/0.5165, allocations: 1.954 MB / 0.5803 GB, free: 27.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007824/0.5173, allocations: 285.1 kB / 0.5806 GB, free: 27.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.5185, allocations: 437.2 kB / 0.581 GB, free: 27.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005217/0.519, allocations: 0.7624 MB / 0.5817 GB, free: 26.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001426/0.5205, allocations: 1.643 MB / 0.5833 GB, free: 25.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.5244, allocations: 3.918 MB / 0.5872 GB, free: 23.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5245, allocations: 0 / 0.5872 GB, free: 23.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5245, allocations: 0 / 0.5872 GB, free: 23.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001299/0.5246, allocations: 1.25 kB / 0.5872 GB, free: 23.96 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02452/0.5491, allocations: 6.578 MB / 0.5936 GB, free: 21.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.5492, allocations: 11.44 kB / 0.5936 GB, free: 21.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/0.5648, allocations: 2.274 MB / 0.5958 GB, free: 20.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004978/0.5698, allocations: 1.878 MB / 0.5977 GB, free: 19.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000713/0.5705, allocations: 0.7237 MB / 0.5984 GB, free: 19.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008096/0.5714, allocations: 213.8 kB / 0.5986 GB, free: 19.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006951/0.5783, allocations: 3.032 MB / 0.6015 GB, free: 17.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.5784, allocations: 0 / 0.6015 GB, free: 17.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/0.5787, allocations: 92.41 kB / 0.6016 GB, free: 17.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/0.5787, allocations: 48.5 kB / 0.6017 GB, free: 17.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006112/0.5848, allocations: 2.781 MB / 0.6044 GB, free: 16.86 MB / 430.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.02325/0.6081, allocations: 9.868 MB / 0.614 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/0.6205, allocations: 4.187 MB / 0.6181 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004779/0.6254, allocations: 1.968 MB / 0.62 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004677/0.6259, allocations: 44.08 kB / 0.6201 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005202/0.6311, allocations: 2.227 MB / 0.6222 GB, free: 7.055 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 4.859e-06/0.6311, allocations: 4 kB / 0.6222 GB, free: 7.051 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.1219/0.753, allocations: 29.47 MB / 0.651 GB, free: 9.457 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.7532, allocations: 180.2 kB / 0.6512 GB, free: 9.242 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003706/0.7569, allocations: 2.277 MB / 0.6534 GB, free: 6.945 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001082/0.758, allocations: 73.77 kB / 0.6535 GB, free: 6.867 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.759, allocations: 1.176 MB / 0.6546 GB, free: 5.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001427/0.7605, allocations: 0.8665 MB / 0.6555 GB, free: 4.801 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.7616, allocations: 0.5594 MB / 0.656 GB, free: 4.234 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7617, allocations: 305.1 kB / 0.6563 GB, free: 3.934 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004171/0.7659, allocations: 1.951 MB / 0.6582 GB, free: 1.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004299/0.7702, allocations: 2.313 MB / 0.6605 GB, free: 15.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05532/0.8255, allocations: 14.04 MB / 0.6742 GB, free: 1.324 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.8256, allocations: 0 / 0.6742 GB, free: 1.324 MB / 478.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.03983/0.8654, allocations: 12.28 MB / 0.6862 GB, free: 4.969 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.8656, allocations: 116.2 kB / 0.6863 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.8657, allocations: 11.94 kB / 0.6863 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0184/0.8841, allocations: 5.324 MB / 0.6915 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003155/0.8873, allocations: 0.5617 MB / 0.6921 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06005/0.9474, allocations: 23.52 MB / 0.715 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005244/0.9526, allocations: 481.9 kB / 0.7155 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004678/0.9531, allocations: 120 kB / 0.7156 GB, free: 6.676 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 order3_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: 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 (325): * Single equations (assignments): 320 * 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,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001449/0.9546, allocations: 0.5303 MB / 0.7161 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007686/0.9554, allocations: 301.1 kB / 0.7164 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03965/0.995, allocations: 11.9 MB / 0.728 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.413e-05/0.9951, allocations: 24 kB / 0.7281 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.525e-05/0.9952, allocations: 20 kB / 0.7281 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001289/0.9953, allocations: 15.94 kB / 0.7281 GB, free: 9.828 MB / 0.5294 GB 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 postOpt removeSimpleEquations (simulation): time 0.04802/1.043, allocations: 15.49 MB / 0.7432 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/1.043, allocations: 0 / 0.7432 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/1.045, allocations: 252.5 kB / 0.7435 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01752/1.063, allocations: 5.284 MB / 0.7486 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007687/1.063, allocations: 51.98 kB / 0.7487 GB, free: 4.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3678/1.431, allocations: 24.96 MB / 0.773 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.431, allocations: 2.344 kB / 0.773 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04232/1.474, allocations: 14.26 MB / 0.787 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.475, allocations: 411.4 kB / 0.7874 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.476, allocations: 45 kB / 0.7874 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003229/1.479, allocations: 303.9 kB / 0.7877 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002419/1.482, allocations: 0.5805 MB / 0.7883 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002679/1.482, allocations: 67.78 kB / 0.7883 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002562/1.485, allocations: 1.503 MB / 0.7898 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.2e-07/1.485, allocations: 0 / 0.7898 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004579/1.489, allocations: 1.165 MB / 0.7909 GB, free: 163.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004925/1.49, allocations: 182.8 kB / 0.7911 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02114/1.511, allocations: 6.805 MB / 0.7978 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/1.511, allocations: 0 / 0.7978 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01419/1.525, allocations: 4.397 MB / 0.802 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/1.528, allocations: 267.7 kB / 0.8023 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/1.54, allocations: 6.409 MB / 0.8086 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001939/1.542, allocations: 1.805 MB / 0.8103 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001544/1.543, allocations: 263.3 kB / 0.8106 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006252/1.544, allocations: 174.9 kB / 0.8107 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.563e-06/1.544, allocations: 4 kB / 0.8107 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.08365/1.628, allocations: 62.47 MB / 0.8718 GB, free: 107.3 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)