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.001216/0.001216, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.373/1.373, 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.001549/0.001549, allocations: 192.5 kB / 289.3 MB, free: 2.441 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4976/0.4976, allocations: 78.52 MB / 417.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 75.88 kB / 496.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1573, allocations: 68.18 MB / 0.5519 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.2973/0.4547, allocations: 14.61 MB / 0.5661 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009239/0.464, allocations: 3.641 MB / 0.5697 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003997/0.468, allocations: 31.19 kB / 0.5697 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.47, allocations: 443.2 kB / 0.5701 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005313/0.4753, allocations: 1.238 MB / 0.5714 GB, free: 29.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.4788, allocations: 1.412 MB / 0.5727 GB, free: 28.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004966/0.4838, allocations: 3.794 MB / 0.5764 GB, free: 27.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.4851, allocations: 0.8988 MB / 0.5773 GB, free: 27.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002374/0.4874, allocations: 1.578 MB / 0.5789 GB, free: 27.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.4896, allocations: 1.998 MB / 0.5808 GB, free: 26.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005124/0.4902, allocations: 294.2 kB / 0.5811 GB, free: 26.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009075/0.4911, allocations: 446.8 kB / 0.5815 GB, free: 26.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004754/0.4916, allocations: 0.7816 MB / 0.5823 GB, free: 26.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.4928, allocations: 1.672 MB / 0.5839 GB, free: 24.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003653/0.4964, allocations: 3.986 MB / 0.5878 GB, free: 23.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.4964, allocations: 4 kB / 0.5878 GB, free: 23.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4965, allocations: 0 / 0.5878 GB, free: 23.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001113/0.4966, allocations: 0 / 0.5878 GB, free: 23.12 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02392/0.5205, allocations: 6.674 MB / 0.5943 GB, free: 20.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.5206, allocations: 9.062 kB / 0.5943 GB, free: 20.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01474/0.5353, allocations: 2.281 MB / 0.5966 GB, free: 20.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004505/0.5399, allocations: 1.911 MB / 0.5984 GB, free: 18.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00072/0.5406, allocations: 0.7216 MB / 0.5991 GB, free: 18.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006436/0.5413, allocations: 223.3 kB / 0.5993 GB, free: 18.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006839/0.5481, allocations: 3.056 MB / 0.6023 GB, free: 16.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.5482, allocations: 0.5625 kB / 0.6023 GB, free: 16.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/0.5484, allocations: 91.11 kB / 0.6024 GB, free: 16.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.5485, allocations: 48.41 kB / 0.6025 GB, free: 16.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005942/0.5544, allocations: 2.804 MB / 0.6052 GB, free: 15.95 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.0213/0.5757, allocations: 9.965 MB / 0.6149 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.5869, allocations: 4.23 MB / 0.6191 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004512/0.5915, allocations: 1.986 MB / 0.621 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000351/0.5918, allocations: 42.89 kB / 0.621 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004462/0.5963, allocations: 2.254 MB / 0.6232 GB, free: 5.824 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 4.89e-06/0.5963, allocations: 0 / 0.6232 GB, free: 5.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.117/0.7133, allocations: 28.82 MB / 0.6514 GB, free: 8.887 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.7135, allocations: 184.2 kB / 0.6516 GB, free: 8.668 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003828/0.7173, allocations: 2.337 MB / 0.6538 GB, free: 6.312 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000976/0.7183, allocations: 73.7 kB / 0.6539 GB, free: 6.234 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009611/0.7193, allocations: 1.172 MB / 0.6551 GB, free: 5.051 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001427/0.7207, allocations: 0.8819 MB / 0.6559 GB, free: 4.156 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/0.7219, allocations: 0.5699 MB / 0.6565 GB, free: 3.578 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.7221, allocations: 305.1 kB / 0.6568 GB, free: 3.277 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004165/0.7262, allocations: 1.992 MB / 0.6587 GB, free: 1.285 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004611/0.7309, allocations: 2.358 MB / 0.661 GB, free: 14.84 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05587/0.7868, allocations: 14.42 MB / 0.6751 GB, free: 212 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/0.7868, allocations: 3.938 kB / 0.6751 GB, free: 208 kB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04103/0.8279, allocations: 12.61 MB / 0.6874 GB, free: 3.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.828, allocations: 114.8 kB / 0.6875 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.828, allocations: 4 kB / 0.6875 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01762/0.8457, allocations: 5.445 MB / 0.6929 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/0.8488, allocations: 0.5734 MB / 0.6934 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05844/0.9073, allocations: 23.67 MB / 0.7165 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005336/0.9126, allocations: 0.493 MB / 0.717 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000717/0.9134, allocations: 120.7 kB / 0.7171 GB, free: 4.922 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 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.001603/0.915, allocations: 0.5308 MB / 0.7176 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00099/0.916, allocations: 304.2 kB / 0.7179 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0397/0.9557, allocations: 11.94 MB / 0.7296 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.866e-05/0.9558, allocations: 29.23 kB / 0.7296 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.686e-05/0.9558, allocations: 20 kB / 0.7296 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.5e-05/0.9559, allocations: 15.89 kB / 0.7297 GB, free: 7.969 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.04543/1.001, allocations: 15.59 MB / 0.7449 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.16e-05/1.001, allocations: 0 / 0.7449 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002109/1.004, allocations: 251.7 kB / 0.7451 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01774/1.021, allocations: 5.289 MB / 0.7503 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008474/1.022, allocations: 55.98 kB / 0.7503 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3482/1.37, allocations: 24.96 MB / 0.7747 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.371, allocations: 2.875 kB / 0.7747 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04461/1.415, allocations: 14.34 MB / 0.7887 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/1.417, allocations: 418.9 kB / 0.7891 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/1.418, allocations: 44.75 kB / 0.7892 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003896/1.422, allocations: 300.4 kB / 0.7894 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002714/1.425, allocations: 0.5768 MB / 0.79 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003427/1.425, allocations: 66.48 kB / 0.7901 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003508/1.429, allocations: 1.546 MB / 0.7916 GB, free: 163 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.21e-07/1.429, allocations: 1.312 kB / 0.7916 GB, free: 163 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006065/1.435, allocations: 1.191 MB / 0.7927 GB, free: 163 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (159): * Single equations (assignments): 154 * 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.000677/1.436, allocations: 176.4 kB / 0.7929 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02241/1.458, allocations: 6.906 MB / 0.7997 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.458, allocations: 1.125 kB / 0.7997 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01467/1.473, allocations: 4.429 MB / 0.804 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004493/1.477, allocations: 268.1 kB / 0.8042 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/1.491, allocations: 6.63 MB / 0.8107 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/1.493, allocations: 1.819 MB / 0.8125 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001931/1.495, allocations: 263.6 kB / 0.8127 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007679/1.496, allocations: 181.1 kB / 0.8129 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of SimCode: time 2.234e-06/1.496, allocations: 0 / 0.8129 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.09261/1.588, allocations: 63.41 MB / 0.8748 GB, free: 103.6 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)