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.006097/0.006098, allocations: 106.9 kB / 15.74 MB, free: 6.492 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.353/1.353, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001368/0.001368, allocations: 188.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4904/0.4904, allocations: 78.52 MB / 418.4 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 83.86 kB / 0.5536 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4235, allocations: 68.17 MB / 0.6202 GB, free: 9.676 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006097/0.4296, allocations: 6.506 MB / 0.6266 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004436/0.4341, allocations: 1.955 MB / 0.6285 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007439/0.4349, allocations: 15.94 kB / 0.6285 GB, free: 1.715 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007442/0.4357, allocations: 245.9 kB / 0.6287 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.4376, allocations: 0.8443 MB / 0.6295 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.4388, allocations: 0.6177 MB / 0.6301 GB, free: 16 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.4404, allocations: 1.581 MB / 0.6317 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004755/0.4409, allocations: 326.4 kB / 0.632 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007784/0.4417, allocations: 0.6535 MB / 0.6326 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008721/0.4426, allocations: 0.8206 MB / 0.6334 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.4427, allocations: 128 kB / 0.6336 GB, free: 12.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004933/0.4432, allocations: 255.8 kB / 0.6338 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.4436, allocations: 334.6 kB / 0.6341 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005804/0.4441, allocations: 0.6641 MB / 0.6348 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.4458, allocations: 1.664 MB / 0.6364 GB, free: 9.582 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4458, allocations: 0 / 0.6364 GB, free: 9.582 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.4458, allocations: 0 / 0.6364 GB, free: 9.582 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.4458, allocations: 3.938 kB / 0.6364 GB, free: 9.578 MB / 446.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.008802/0.4546, allocations: 2.688 MB / 0.639 GB, free: 6.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.4547, allocations: 12.02 kB / 0.639 GB, free: 6.809 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004983/0.4597, allocations: 0.7748 MB / 0.6398 GB, free: 6.031 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.4613, allocations: 0.898 MB / 0.6407 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/0.4616, allocations: 252.2 kB / 0.6409 GB, free: 4.793 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.4618, allocations: 87.98 kB / 0.641 GB, free: 4.707 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.464, allocations: 1.079 MB / 0.642 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.464, allocations: 0 / 0.642 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.825e-05/0.4641, allocations: 39.98 kB / 0.6421 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.4641, allocations: 20 kB / 0.6421 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.4662, allocations: 0.9916 MB / 0.6431 GB, free: 2.566 MB / 446.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.006743/0.473, allocations: 3.785 MB / 0.6468 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007513/0.4805, allocations: 2.375 MB / 0.6491 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.4822, allocations: 0.6789 MB / 0.6497 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.4823, allocations: 13 kB / 0.6498 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001751/0.484, allocations: 0.8176 MB / 0.6506 GB, free: 10.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=95): time 2.965e-06/0.484, allocations: 0 / 0.6506 GB, free: 10.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=95): time 0.03063/0.5147, allocations: 7.186 MB / 0.6576 GB, free: 3.359 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.985e-05/0.5148, allocations: 119.8 kB / 0.6577 GB, free: 3.219 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.5169, allocations: 1.095 MB / 0.6588 GB, free: 2.109 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002583/0.5172, allocations: 45.7 kB / 0.6588 GB, free: 2.059 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.5176, allocations: 496.8 kB / 0.6593 GB, free: 1.566 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004597/0.5181, allocations: 347.1 kB / 0.6596 GB, free: 1.223 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005202/0.5186, allocations: 283.4 kB / 0.6599 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5187, allocations: 305.1 kB / 0.6602 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.5205, allocations: 0.7574 MB / 0.6609 GB, free: 15.88 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.5223, allocations: 0.9303 MB / 0.6618 GB, free: 14.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02352/0.5458, allocations: 5.548 MB / 0.6672 GB, free: 9.277 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.5459, allocations: 4 kB / 0.6672 GB, free: 9.273 MB / 478.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01369/0.5596, allocations: 4.36 MB / 0.6715 GB, free: 4.883 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.351e-05/0.5597, allocations: 63.28 kB / 0.6716 GB, free: 4.809 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.5597, allocations: 4 kB / 0.6716 GB, free: 4.805 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006222/0.566, allocations: 1.592 MB / 0.6731 GB, free: 3.211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.5676, allocations: 283.6 kB / 0.6734 GB, free: 2.934 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02172/0.5893, allocations: 8.491 MB / 0.6817 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.5915, allocations: 198.8 kB / 0.6819 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003623/0.5919, allocations: 55.92 kB / 0.6819 GB, free: 10.04 MB / 494.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.001076/0.593, allocations: 306.9 kB / 0.6822 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004691/0.5935, allocations: 126.4 kB / 0.6823 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.6069, allocations: 3.873 MB / 0.6861 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.607, allocations: 11.94 kB / 0.6861 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.712e-05/0.6071, allocations: 8 kB / 0.6861 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.828e-05/0.6071, allocations: 3.984 kB / 0.6861 GB, free: 5.664 MB / 494.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.0161/0.6232, allocations: 5.452 MB / 0.6915 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.6233, allocations: 0 / 0.6915 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007126/0.624, allocations: 99.83 kB / 0.6916 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005871/0.6299, allocations: 1.614 MB / 0.6931 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/0.6302, allocations: 20 kB / 0.6932 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02217/0.6523, allocations: 9.628 MB / 0.7026 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6524, allocations: 4 kB / 0.7026 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/0.6678, allocations: 4.735 MB / 0.7072 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005894/0.6685, allocations: 219.3 kB / 0.7074 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/0.6689, allocations: 27.94 kB / 0.7074 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/0.6704, allocations: 107.9 kB / 0.7075 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007247/0.6712, allocations: 192.7 kB / 0.7077 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.6713, allocations: 24 kB / 0.7077 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001374/0.6727, allocations: 0.7354 MB / 0.7084 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6727, allocations: 0 / 0.7084 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002023/0.6747, allocations: 471.5 kB / 0.7089 GB, free: 13.89 MB / 0.5137 GB 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.0004005/0.6752, allocations: 149.7 kB / 0.709 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006811/0.682, allocations: 2.513 MB / 0.7115 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.682, allocations: 0 / 0.7115 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004572/0.6866, allocations: 1.596 MB / 0.713 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.6881, allocations: 112.5 kB / 0.7132 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/0.6931, allocations: 2.208 MB / 0.7153 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009213/0.694, allocations: 1.116 MB / 0.7164 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005891/0.6946, allocations: 120.1 kB / 0.7165 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.695, allocations: 83.41 kB / 0.7166 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of SimCode: time 9.91e-07/0.695, allocations: 0 / 0.7166 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of Templates: time 0.04318/0.7382, allocations: 23.82 MB / 0.7399 GB, free: 14.04 MB / 0.545 GB 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)