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.001061/0.001061, allocations: 103.9 kB / 15.98 MB, free: 6.352 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.293/1.293, allocations: 222.9 MB / 239.6 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.001271/0.001271, allocations: 196.4 kB / 289.9 MB, free: 2.438 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4555/0.4555, allocations: 78.52 MB / 418.6 MB, free: 3.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 75.88 kB / 497.6 MB, free: 6.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1417, allocations: 68.18 MB / 0.5525 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.2657/0.4074, allocations: 14.55 MB / 0.5667 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007242/0.4147, allocations: 3.625 MB / 0.5703 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.4167, allocations: 36.38 kB / 0.5703 GB, free: 29.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.4179, allocations: 434.2 kB / 0.5707 GB, free: 29.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.4211, allocations: 1.232 MB / 0.5719 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.4238, allocations: 1.419 MB / 0.5733 GB, free: 29.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003169/0.427, allocations: 3.752 MB / 0.577 GB, free: 28.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009668/0.4279, allocations: 0.897 MB / 0.5778 GB, free: 27.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.4295, allocations: 1.558 MB / 0.5794 GB, free: 27.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.431, allocations: 1.995 MB / 0.5813 GB, free: 26.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003824/0.4314, allocations: 291.2 kB / 0.5816 GB, free: 26.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007011/0.4321, allocations: 439.4 kB / 0.582 GB, free: 26.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00044/0.4326, allocations: 0.7711 MB / 0.5828 GB, free: 26.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009893/0.4336, allocations: 1.664 MB / 0.5844 GB, free: 25.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.4358, allocations: 3.112 MB / 0.5874 GB, free: 23.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4358, allocations: 0 / 0.5874 GB, free: 23.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4358, allocations: 0 / 0.5874 GB, free: 23.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.953e-05/0.4359, allocations: 0 / 0.5874 GB, free: 23.98 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.02199/0.4579, allocations: 6.647 MB / 0.5939 GB, free: 21.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.458, allocations: 9.75 kB / 0.5939 GB, free: 21.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01447/0.4724, allocations: 2.273 MB / 0.5961 GB, free: 20.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00444/0.4769, allocations: 1.9 MB / 0.598 GB, free: 19.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006478/0.4776, allocations: 0.7267 MB / 0.5987 GB, free: 19.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005071/0.4781, allocations: 220.8 kB / 0.5989 GB, free: 19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006694/0.4848, allocations: 3.052 MB / 0.6019 GB, free: 17.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/0.4849, allocations: 0 / 0.6019 GB, free: 17.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002386/0.4851, allocations: 86.05 kB / 0.602 GB, free: 17.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/0.4852, allocations: 49.69 kB / 0.602 GB, free: 17.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005914/0.4911, allocations: 2.794 MB / 0.6047 GB, free: 16.83 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.0201/0.5112, allocations: 9.94 MB / 0.6145 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/0.5224, allocations: 4.198 MB / 0.6186 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004084/0.5265, allocations: 1.981 MB / 0.6205 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004595/0.527, allocations: 43.7 kB / 0.6205 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005069/0.5321, allocations: 2.242 MB / 0.6227 GB, free: 7.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 5.861e-06/0.5321, allocations: 0 / 0.6227 GB, free: 7.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1128/0.6449, allocations: 27.42 MB / 0.6495 GB, free: 11.49 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.6451, allocations: 188.2 kB / 0.6497 GB, free: 11.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004367/0.6495, allocations: 2.302 MB / 0.6519 GB, free: 8.949 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008481/0.6504, allocations: 81.7 kB / 0.652 GB, free: 8.863 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.6514, allocations: 1.184 MB / 0.6532 GB, free: 7.668 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001581/0.653, allocations: 0.878 MB / 0.654 GB, free: 6.777 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002567/0.6556, allocations: 0.5659 MB / 0.6546 GB, free: 6.203 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6557, allocations: 301.1 kB / 0.6549 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004844/0.6606, allocations: 1.974 MB / 0.6568 GB, free: 3.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005085/0.6657, allocations: 2.341 MB / 0.6591 GB, free: 1.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05589/0.7216, allocations: 14.29 MB / 0.673 GB, free: 2.992 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.017e-05/0.7217, allocations: 4.625 kB / 0.673 GB, free: 2.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04293/0.7646, allocations: 12.55 MB / 0.6853 GB, free: 6.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.7648, allocations: 118.8 kB / 0.6854 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/0.7648, allocations: 4 kB / 0.6854 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01746/0.7823, allocations: 5.269 MB / 0.6906 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003394/0.7857, allocations: 0.5812 MB / 0.6911 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06/0.8457, allocations: 23.2 MB / 0.7138 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005124/0.8509, allocations: 489.1 kB / 0.7142 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009117/0.8519, allocations: 120.8 kB / 0.7144 GB, free: 8.398 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.002436/0.8543, allocations: 0.5412 MB / 0.7149 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001366/0.8557, allocations: 300.3 kB / 0.7152 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0388/0.8945, allocations: 11.93 MB / 0.7268 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.532e-05/0.8946, allocations: 24 kB / 0.7269 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-05/0.8947, allocations: 20.62 kB / 0.7269 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.494e-05/0.8948, allocations: 11.95 kB / 0.7269 GB, free: 11.46 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.04704/0.9418, allocations: 15.56 MB / 0.7421 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/0.9419, allocations: 0 / 0.7421 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/0.9437, allocations: 248.3 kB / 0.7423 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0173/0.961, allocations: 5.309 MB / 0.7475 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008567/0.9619, allocations: 51.98 kB / 0.7476 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3395/1.301, allocations: 24.96 MB / 0.7719 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/1.301, allocations: 5.969 kB / 0.7719 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04274/1.344, allocations: 14.3 MB / 0.7859 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.345, allocations: 408.5 kB / 0.7863 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000781/1.346, allocations: 46.69 kB / 0.7863 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003094/1.349, allocations: 302.2 kB / 0.7866 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002223/1.352, allocations: 0.5817 MB / 0.7872 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002668/1.352, allocations: 65.31 kB / 0.7873 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002468/1.354, allocations: 1.532 MB / 0.7887 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/1.354, allocations: 1.125 kB / 0.7887 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004524/1.359, allocations: 1.182 MB / 0.7899 GB, free: 164.5 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.0005716/1.36, allocations: 169.8 kB / 0.7901 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02149/1.381, allocations: 6.76 MB / 0.7967 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/1.381, allocations: 0 / 0.7967 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01476/1.396, allocations: 4.428 MB / 0.801 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/1.399, allocations: 272.4 kB / 0.8012 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/1.411, allocations: 6.623 MB / 0.8077 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/1.412, allocations: 1.813 MB / 0.8095 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/1.414, allocations: 188.1 kB / 0.8097 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/1.414, allocations: 0 / 0.8097 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.07977/1.493, allocations: 64.27 MB / 0.8724 GB, free: 106.7 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)