Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 178.3 kB / 16.11 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 223.3 MB / 240.1 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000891/0.000891, allocations: 99.06 kB / 291.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4803/0.4803, allocations: 78.62 MB / 421 MB, free: 9.094 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005904/0.0005905, allocations: 12 kB / 0.4894 GB, free: 9.262 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3161, allocations: 69.35 MB / 0.5571 GB, free: 18.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.004842/0.321, allocations: 6.339 MB / 0.5633 GB, free: 12.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003851/0.3249, allocations: 1.994 MB / 0.5653 GB, free: 10.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.3261, allocations: 12 kB / 0.5653 GB, free: 10.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000879/0.327, allocations: 186.8 kB / 0.5655 GB, free: 10.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.3293, allocations: 0.7098 MB / 0.5662 GB, free: 9.531 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.3306, allocations: 0.583 MB / 0.5667 GB, free: 8.953 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.3322, allocations: 1.487 MB / 0.5682 GB, free: 7.457 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.3326, allocations: 289.3 kB / 0.5684 GB, free: 7.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008242/0.3335, allocations: 0.5636 MB / 0.569 GB, free: 6.598 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000867/0.3343, allocations: 0.7464 MB / 0.5697 GB, free: 5.848 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003017/0.3347, allocations: 60 kB / 0.5698 GB, free: 5.789 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005397/0.3352, allocations: 187.9 kB / 0.57 GB, free: 5.605 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.3355, allocations: 254.7 kB / 0.5702 GB, free: 5.355 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005355/0.336, allocations: 0.6266 MB / 0.5708 GB, free: 4.719 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009176/0.3369, allocations: 1.241 MB / 0.572 GB, free: 3.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.337, allocations: 0 / 0.572 GB, free: 3.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.337, allocations: 0 / 0.572 GB, free: 3.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.834e-05/0.337, allocations: 0 / 0.572 GB, free: 3.477 MB / 378.7 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.007263/0.3443, allocations: 2.49 MB / 0.5745 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3443, allocations: 8.031 kB / 0.5745 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004635/0.349, allocations: 0.7865 MB / 0.5752 GB, free: 128 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.3506, allocations: 0.8786 MB / 0.5761 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/0.351, allocations: 276.1 kB / 0.5764 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.3511, allocations: 87.91 kB / 0.5764 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.3533, allocations: 1.145 MB / 0.5776 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.3533, allocations: 0 / 0.5776 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.945e-05/0.3534, allocations: 31.98 kB / 0.5776 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.3534, allocations: 20 kB / 0.5776 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.3554, allocations: 1.046 MB / 0.5786 GB, free: 12.54 MB / 394.7 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.006527/0.362, allocations: 3.902 MB / 0.5824 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007339/0.3693, allocations: 2.914 MB / 0.5853 GB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.3708, allocations: 0.7314 MB / 0.586 GB, free: 4.719 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.3709, allocations: 20.98 kB / 0.586 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/0.3724, allocations: 0.8724 MB / 0.5869 GB, free: 3.809 MB / 394.7 MB Notification: Performance of pre-optimization done (n=95): time 3.567e-06/0.3725, allocations: 7.938 kB / 0.5869 GB, free: 3.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=95): time 0.02867/0.4011, allocations: 8.792 MB / 0.5955 GB, free: 10.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.4013, allocations: 119.8 kB / 0.5956 GB, free: 10.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.4029, allocations: 1.083 MB / 0.5966 GB, free: 9.703 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.4031, allocations: 49.7 kB / 0.5967 GB, free: 9.648 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/0.4035, allocations: 0.4889 MB / 0.5972 GB, free: 9.152 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/0.4039, allocations: 355.1 kB / 0.5975 GB, free: 8.801 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.4041, allocations: 141.6 kB / 0.5976 GB, free: 8.656 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.4042, allocations: 305.1 kB / 0.5979 GB, free: 8.355 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.4058, allocations: 0.8199 MB / 0.5987 GB, free: 7.535 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.4075, allocations: 0.989 MB / 0.5997 GB, free: 6.508 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02186/0.4294, allocations: 5.983 MB / 0.6055 GB, free: 448 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.4295, allocations: 8 kB / 0.6055 GB, free: 440 kB / 410.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01394/0.4434, allocations: 5.192 MB / 0.6106 GB, free: 11.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/0.4435, allocations: 65.69 kB / 0.6107 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.4436, allocations: 4 kB / 0.6107 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005769/0.4494, allocations: 1.869 MB / 0.6125 GB, free: 9.258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.4508, allocations: 279.6 kB / 0.6128 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01919/0.47, allocations: 8.839 MB / 0.6214 GB, free: 0 / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/0.4719, allocations: 238.7 kB / 0.6216 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.4721, allocations: 59.91 kB / 0.6217 GB, free: 15.71 MB / 442.7 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.0006138/0.4727, allocations: 304.1 kB / 0.622 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.4729, allocations: 118.5 kB / 0.6221 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/0.486, allocations: 4.721 MB / 0.6267 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.486, allocations: 8 kB / 0.6267 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.4861, allocations: 8 kB / 0.6267 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.53e-05/0.4861, allocations: 11.97 kB / 0.6267 GB, free: 10.5 MB / 442.7 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.01508/0.5012, allocations: 6.297 MB / 0.6329 GB, free: 4.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.5012, allocations: 3.984 kB / 0.6329 GB, free: 4.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/0.5019, allocations: 95.84 kB / 0.633 GB, free: 3.996 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005564/0.5074, allocations: 1.887 MB / 0.6348 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/0.5076, allocations: 19.98 kB / 0.6348 GB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/0.5264, allocations: 9.691 MB / 0.6443 GB, free: 8.102 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5265, allocations: 0 / 0.6443 GB, free: 8.102 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/0.5413, allocations: 5.643 MB / 0.6498 GB, free: 2.426 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004929/0.5419, allocations: 231.2 kB / 0.65 GB, free: 2.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.542, allocations: 23.94 kB / 0.6501 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.5431, allocations: 143.9 kB / 0.6502 GB, free: 2.016 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005952/0.5437, allocations: 188.7 kB / 0.6504 GB, free: 1.828 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-05/0.5438, allocations: 27.98 kB / 0.6504 GB, free: 1.801 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00106/0.5449, allocations: 0.7315 MB / 0.6511 GB, free: 1.062 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5449, allocations: 0 / 0.6511 GB, free: 1.062 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001325/0.5462, allocations: 475.5 kB / 0.6516 GB, free: 0.5977 MB / 458.7 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.000301/0.5465, allocations: 138.4 kB / 0.6517 GB, free: 464 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006315/0.5529, allocations: 2.791 MB / 0.6544 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5529, allocations: 0 / 0.6544 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004246/0.5572, allocations: 1.814 MB / 0.6562 GB, free: 11.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.5582, allocations: 116.6 kB / 0.6563 GB, free: 11.65 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.5622, allocations: 2.746 MB / 0.659 GB, free: 8.875 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007333/0.563, allocations: 1.12 MB / 0.6601 GB, free: 7.727 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.5633, allocations: 79.42 kB / 0.6602 GB, free: 7.648 MB / 474.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5633, allocations: 0 / 0.6602 GB, free: 7.648 MB / 474.7 MB Notification: Performance of Templates: time 0.02915/0.5924, allocations: 23.26 MB / 0.6829 GB, free: 384 kB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)