Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 101.9 kB / 16.29 MB, free: 6.008 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.652 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.00168/0.00168, allocations: 196.4 kB / 290.2 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4669/0.4669, allocations: 78.52 MB / 418.9 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 79.86 kB / 498.2 MB, free: 6.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1222, allocations: 68.18 MB / 0.5531 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.2403/0.3625, allocations: 13.76 MB / 0.5665 GB, free: 31.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008044/0.3706, allocations: 3.501 MB / 0.5699 GB, free: 30.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004225/0.3749, allocations: 27.69 kB / 0.5699 GB, free: 30.33 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002812/0.3777, allocations: 0.5581 MB / 0.5705 GB, free: 30.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008776/0.3866, allocations: 1.428 MB / 0.5719 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005363/0.392, allocations: 1.519 MB / 0.5734 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006287/0.3983, allocations: 3.752 MB / 0.577 GB, free: 28.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.4003, allocations: 0.8928 MB / 0.5779 GB, free: 28.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002934/0.4032, allocations: 1.548 MB / 0.5794 GB, free: 27.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/0.4062, allocations: 1.991 MB / 0.5814 GB, free: 27.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.4076, allocations: 291.1 kB / 0.5816 GB, free: 27.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.4095, allocations: 446 kB / 0.5821 GB, free: 27.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.4107, allocations: 0.7773 MB / 0.5828 GB, free: 26.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002404/0.4131, allocations: 1.647 MB / 0.5844 GB, free: 25.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00416/0.4173, allocations: 4.016 MB / 0.5884 GB, free: 23.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4173, allocations: 0 / 0.5884 GB, free: 23.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4173, allocations: 1.125 kB / 0.5884 GB, free: 23.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001183/0.4175, allocations: 0 / 0.5884 GB, free: 23.55 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02422/0.4417, allocations: 6.654 MB / 0.5949 GB, free: 20.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.4418, allocations: 8.812 kB / 0.5949 GB, free: 20.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01521/0.457, allocations: 2.274 MB / 0.5971 GB, free: 20.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005101/0.4621, allocations: 1.892 MB / 0.5989 GB, free: 19.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007033/0.4629, allocations: 0.731 MB / 0.5996 GB, free: 18.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007717/0.4636, allocations: 219.5 kB / 0.5999 GB, free: 18.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006853/0.4705, allocations: 3.043 MB / 0.6028 GB, free: 17.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.313e-05/0.4706, allocations: 7.938 kB / 0.6028 GB, free: 17.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002474/0.4708, allocations: 85.38 kB / 0.6029 GB, free: 17.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/0.4709, allocations: 50.5 kB / 0.603 GB, free: 17.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006564/0.4775, allocations: 2.797 MB / 0.6057 GB, free: 16.39 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.02473/0.5022, allocations: 9.858 MB / 0.6153 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.5139, allocations: 4.205 MB / 0.6194 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004749/0.5187, allocations: 1.984 MB / 0.6214 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005415/0.5193, allocations: 40.84 kB / 0.6214 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005756/0.525, allocations: 2.243 MB / 0.6236 GB, free: 6.336 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 9.789e-06/0.5251, allocations: 4 kB / 0.6236 GB, free: 6.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.116/0.6411, allocations: 27.42 MB / 0.6504 GB, free: 10.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.6413, allocations: 184.2 kB / 0.6505 GB, free: 10.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00483/0.6461, allocations: 2.313 MB / 0.6528 GB, free: 8.305 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009711/0.6471, allocations: 69.7 kB / 0.6529 GB, free: 8.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.6483, allocations: 1.184 MB / 0.654 GB, free: 7.035 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001829/0.6502, allocations: 0.8781 MB / 0.6549 GB, free: 6.145 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002531/0.6527, allocations: 0.562 MB / 0.6554 GB, free: 5.574 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6528, allocations: 305.1 kB / 0.6557 GB, free: 5.273 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004229/0.6571, allocations: 1.97 MB / 0.6576 GB, free: 3.301 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004457/0.6616, allocations: 2.349 MB / 0.6599 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05575/0.7173, allocations: 14.25 MB / 0.6739 GB, free: 2.406 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-05/0.7174, allocations: 4.562 kB / 0.6739 GB, free: 2.402 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04289/0.7603, allocations: 12.55 MB / 0.6861 GB, free: 5.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.7605, allocations: 123.4 kB / 0.6862 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.7605, allocations: 8 kB / 0.6862 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01763/0.7781, allocations: 5.245 MB / 0.6914 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003412/0.7816, allocations: 0.589 MB / 0.6919 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0602/0.8418, allocations: 23.18 MB / 0.7146 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005212/0.8471, allocations: 489.1 kB / 0.715 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008696/0.848, allocations: 120 kB / 0.7152 GB, free: 7.852 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: 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 (334): * Single equations (assignments): 329 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002175/0.8502, allocations: 0.5347 MB / 0.7157 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/0.8514, allocations: 300.3 kB / 0.716 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03943/0.8908, allocations: 11.93 MB / 0.7276 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.262e-05/0.8909, allocations: 28 kB / 0.7276 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.677e-05/0.891, allocations: 20 kB / 0.7277 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.268e-05/0.8911, allocations: 17.92 kB / 0.7277 GB, free: 10.91 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.04906/0.9401, allocations: 15.55 MB / 0.7429 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-05/0.9402, allocations: 4.031 kB / 0.7429 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/0.942, allocations: 251.6 kB / 0.7431 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01812/0.9601, allocations: 5.3 MB / 0.7483 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001261/0.9614, allocations: 47.98 kB / 0.7483 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.359/1.32, allocations: 24.91 MB / 0.7727 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.321, allocations: 2.688 kB / 0.7727 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04383/1.364, allocations: 14.32 MB / 0.7866 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/1.366, allocations: 410 kB / 0.787 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009659/1.367, allocations: 49.72 kB / 0.7871 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003197/1.37, allocations: 295.9 kB / 0.7874 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001997/1.372, allocations: 0.5816 MB / 0.7879 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002555/1.372, allocations: 69.53 kB / 0.788 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002354/1.374, allocations: 1.533 MB / 0.7895 GB, free: 163 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.374, allocations: 2.812 kB / 0.7895 GB, free: 163 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004152/1.379, allocations: 1.175 MB / 0.7906 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: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.000467/1.379, allocations: 176.5 kB / 0.7908 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0185/1.398, allocations: 6.65 MB / 0.7973 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.398, allocations: 1.031 kB / 0.7973 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01413/1.412, allocations: 4.439 MB / 0.8016 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004129/1.416, allocations: 277.6 kB / 0.8019 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/1.43, allocations: 5.415 MB / 0.8072 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002323/1.433, allocations: 1.809 MB / 0.809 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001717/1.434, allocations: 266.4 kB / 0.8092 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006314/1.435, allocations: 171.3 kB / 0.8094 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/1.435, allocations: 2.906 kB / 0.8094 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.09386/1.529, allocations: 63.56 MB / 0.8715 GB, free: 107.9 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)