Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 103.2 kB / 16.35 MB, free: 5.875 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.38/1.38, allocations: 222.9 MB / 240 MB, free: 4.371 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.001419/0.001419, allocations: 184.5 kB / 290.3 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4688/0.4688, allocations: 78.53 MB / 419 MB, free: 3.125 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 83.86 kB / 498.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.138, allocations: 68.17 MB / 0.5538 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.2666/0.4046, allocations: 6.513 MB / 0.5601 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004067/0.4087, allocations: 1.946 MB / 0.562 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005533/0.4093, allocations: 10.09 kB / 0.562 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006999/0.41, allocations: 244.4 kB / 0.5623 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.4118, allocations: 0.7888 MB / 0.563 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.413, allocations: 0.6346 MB / 0.5637 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.4143, allocations: 1.57 MB / 0.5652 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004008/0.4147, allocations: 327.7 kB / 0.5655 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006092/0.4153, allocations: 0.6523 MB / 0.5661 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007387/0.4161, allocations: 0.829 MB / 0.567 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.4162, allocations: 119.8 kB / 0.5671 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.4167, allocations: 265.8 kB / 0.5673 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.4169, allocations: 322.6 kB / 0.5676 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004581/0.4174, allocations: 0.6741 MB / 0.5683 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.4186, allocations: 1.663 MB / 0.5699 GB, free: 33.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4187, allocations: 0 / 0.5699 GB, free: 33.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4187, allocations: 0 / 0.5699 GB, free: 33.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.4187, allocations: 3.125 kB / 0.5699 GB, free: 33.79 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007822/0.4265, allocations: 2.685 MB / 0.5725 GB, free: 32.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4266, allocations: 10.81 kB / 0.5725 GB, free: 32.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004738/0.4313, allocations: 0.7763 MB / 0.5733 GB, free: 32.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.4327, allocations: 0.89 MB / 0.5742 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.4329, allocations: 257.4 kB / 0.5744 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.4331, allocations: 83.97 kB / 0.5745 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.4349, allocations: 1.082 MB / 0.5756 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.4349, allocations: 0 / 0.5756 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.488e-05/0.435, allocations: 35.59 kB / 0.5756 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.4351, allocations: 16.47 kB / 0.5756 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.4368, allocations: 0.9915 MB / 0.5766 GB, free: 32.02 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.005503/0.4423, allocations: 3.794 MB / 0.5803 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006352/0.4487, allocations: 2.373 MB / 0.5826 GB, free: 29.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.45, allocations: 0.6742 MB / 0.5833 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.4502, allocations: 20.75 kB / 0.5833 GB, free: 29.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/0.4516, allocations: 0.8179 MB / 0.5841 GB, free: 28.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 3.476e-06/0.4516, allocations: 0 / 0.5841 GB, free: 28.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.02849/0.4801, allocations: 7.188 MB / 0.5911 GB, free: 27.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.4803, allocations: 119 kB / 0.5912 GB, free: 27.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/0.4827, allocations: 1.089 MB / 0.5923 GB, free: 27.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002435/0.483, allocations: 46.58 kB / 0.5923 GB, free: 26.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/0.4835, allocations: 494.4 kB / 0.5928 GB, free: 26.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004878/0.4839, allocations: 351.8 kB / 0.5931 GB, free: 26.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008104/0.4848, allocations: 284 kB / 0.5934 GB, free: 26.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.4848, allocations: 301.6 kB / 0.5937 GB, free: 25.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.4865, allocations: 0.7603 MB / 0.5944 GB, free: 25.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.4883, allocations: 0.9317 MB / 0.5953 GB, free: 25.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02311/0.5114, allocations: 5.554 MB / 0.6008 GB, free: 23.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.48e-05/0.5114, allocations: 1.375 kB / 0.6008 GB, free: 23.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.0139/0.5253, allocations: 4.363 MB / 0.605 GB, free: 22.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.5254, allocations: 66.33 kB / 0.6051 GB, free: 22.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.5255, allocations: 4.219 kB / 0.6051 GB, free: 22.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005376/0.5308, allocations: 1.582 MB / 0.6066 GB, free: 21.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.5324, allocations: 282.6 kB / 0.6069 GB, free: 21.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01795/0.5503, allocations: 8.501 MB / 0.6152 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/0.5523, allocations: 196.6 kB / 0.6154 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/0.5526, allocations: 59.91 kB / 0.6154 GB, free: 14.96 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 2 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007791/0.5534, allocations: 302.9 kB / 0.6157 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/0.5538, allocations: 126.5 kB / 0.6159 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/0.5647, allocations: 3.874 MB / 0.6196 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.5647, allocations: 12 kB / 0.6196 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.168e-05/0.5648, allocations: 11.94 kB / 0.6197 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.52e-05/0.5648, allocations: 3.984 kB / 0.6197 GB, free: 10.59 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 postOpt removeSimpleEquations (simulation): time 0.01314/0.578, allocations: 5.44 MB / 0.625 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.578, allocations: 8.812 kB / 0.625 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.5785, allocations: 95.89 kB / 0.6251 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004645/0.5832, allocations: 1.604 MB / 0.6266 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.5833, allocations: 19.94 kB / 0.6267 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01828/0.6016, allocations: 9.642 MB / 0.6361 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6016, allocations: 0 / 0.6361 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/0.6154, allocations: 4.725 MB / 0.6407 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004899/0.6159, allocations: 223.3 kB / 0.6409 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002902/0.6162, allocations: 23.92 kB / 0.6409 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.6174, allocations: 107.9 kB / 0.641 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005969/0.618, allocations: 196.7 kB / 0.6412 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.251e-05/0.6181, allocations: 26.06 kB / 0.6412 GB, free: 4.027 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001179/0.6193, allocations: 0.7354 MB / 0.642 GB, free: 3.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6193, allocations: 0 / 0.642 GB, free: 3.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00158/0.6209, allocations: 475.5 kB / 0.6424 GB, free: 2.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002976/0.6212, allocations: 129 kB / 0.6425 GB, free: 2.688 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005939/0.6272, allocations: 2.52 MB / 0.645 GB, free: 136 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6272, allocations: 0.75 kB / 0.645 GB, free: 136 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004011/0.6312, allocations: 1.597 MB / 0.6466 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.6323, allocations: 120.2 kB / 0.6467 GB, free: 14.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.6364, allocations: 2.207 MB / 0.6488 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006959/0.6371, allocations: 1.124 MB / 0.6499 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004223/0.6375, allocations: 120.5 kB / 0.65 GB, free: 10.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.6378, allocations: 75.42 kB / 0.6501 GB, free: 10.83 MB / 462.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6378, allocations: 0 / 0.6501 GB, free: 10.83 MB / 462.1 MB Notification: Performance of Templates: time 0.03674/0.6745, allocations: 23.6 MB / 0.6732 GB, free: 3.457 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)