Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008784/0.0008785, allocations: 175 kB / 16.08 MB, free: 5.723 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.258/1.258, allocations: 222.9 MB / 239.7 MB, free: 10.19 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.0007666/0.0007663, allocations: 91.64 kB / 290.5 MB, free: 11.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4098/0.4098, allocations: 78.43 MB / 419.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 12 kB / 499.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2575, allocations: 68.75 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.009107/0.2667, allocations: 14.56 MB / 0.5687 GB, free: 5.602 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005932/0.2726, allocations: 3.636 MB / 0.5723 GB, free: 1.957 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.2748, allocations: 32 kB / 0.5723 GB, free: 1.926 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.2764, allocations: 437.1 kB / 0.5727 GB, free: 1.496 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003719/0.2801, allocations: 1.241 MB / 0.5739 GB, free: 260 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003267/0.2834, allocations: 1.414 MB / 0.5753 GB, free: 14.86 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004211/0.2876, allocations: 3.581 MB / 0.5788 GB, free: 11.26 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.289, allocations: 0.7924 MB / 0.5796 GB, free: 10.42 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.2912, allocations: 1.349 MB / 0.5809 GB, free: 9.062 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.2937, allocations: 1.8 MB / 0.5827 GB, free: 7.254 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003918/0.2941, allocations: 144 kB / 0.5828 GB, free: 7.113 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007681/0.2948, allocations: 287.8 kB / 0.5831 GB, free: 6.832 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005134/0.2954, allocations: 0.6179 MB / 0.5837 GB, free: 6.211 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.2967, allocations: 1.479 MB / 0.5851 GB, free: 4.723 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003446/0.3001, allocations: 3.758 MB / 0.5888 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3001, allocations: 0 / 0.5888 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3002, allocations: 0 / 0.5888 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.078e-05/0.3002, allocations: 0 / 0.5888 GB, free: 0.9492 MB / 394.7 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.02016/0.3204, allocations: 5.995 MB / 0.5947 GB, free: 10.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.3205, allocations: 8.031 kB / 0.5947 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01458/0.335, allocations: 2.278 MB / 0.5969 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003507/0.3386, allocations: 1.894 MB / 0.5987 GB, free: 6.605 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006785/0.3393, allocations: 0.7213 MB / 0.5994 GB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004914/0.3398, allocations: 216 kB / 0.5996 GB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006037/0.3459, allocations: 3.051 MB / 0.6026 GB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.3459, allocations: 0 / 0.6026 GB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/0.3461, allocations: 83.94 kB / 0.6027 GB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/0.3462, allocations: 52 kB / 0.6028 GB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005499/0.3517, allocations: 2.796 MB / 0.6055 GB, free: 15.48 MB / 426.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.01694/0.3687, allocations: 9.942 MB / 0.6152 GB, free: 5.125 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/0.3792, allocations: 4.199 MB / 0.6193 GB, free: 0.793 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004172/0.3834, allocations: 1.987 MB / 0.6212 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/0.3837, allocations: 33.97 kB / 0.6213 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004369/0.3881, allocations: 2.239 MB / 0.6235 GB, free: 12.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 4.668e-06/0.3881, allocations: 4 kB / 0.6235 GB, free: 12.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1097/0.4978, allocations: 27.43 MB / 0.6502 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/0.4979, allocations: 184.2 kB / 0.6504 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/0.5011, allocations: 2.317 MB / 0.6527 GB, free: 14.39 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004643/0.5016, allocations: 73.69 kB / 0.6528 GB, free: 14.31 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008327/0.5024, allocations: 1.172 MB / 0.6539 GB, free: 13.13 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009506/0.5034, allocations: 0.8819 MB / 0.6548 GB, free: 12.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004089/0.5038, allocations: 288.6 kB / 0.655 GB, free: 11.95 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.5039, allocations: 301.1 kB / 0.6553 GB, free: 11.65 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004102/0.508, allocations: 1.974 MB / 0.6572 GB, free: 9.672 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004454/0.5125, allocations: 2.35 MB / 0.6595 GB, free: 7.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05366/0.5662, allocations: 14.24 MB / 0.6735 GB, free: 8.754 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/0.5662, allocations: 4 kB / 0.6735 GB, free: 8.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.2446/0.8108, allocations: 12.54 MB / 0.6857 GB, free: 106.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.303e-05/0.8109, allocations: 118 kB / 0.6858 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.8109, allocations: 7.594 kB / 0.6858 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01713/0.8281, allocations: 5.269 MB / 0.691 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00287/0.831, allocations: 0.5788 MB / 0.6915 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04582/0.8768, allocations: 21.31 MB / 0.7123 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003815/0.8807, allocations: 492.1 kB / 0.7128 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.8809, allocations: 115.3 kB / 0.7129 GB, free: 98.74 MB / 490.7 MB 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.001027/0.882, allocations: 0.5439 MB / 0.7135 GB, free: 98.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/0.8824, allocations: 299.8 kB / 0.7137 GB, free: 98.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03373/0.9161, allocations: 11.93 MB / 0.7254 GB, free: 86.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.935e-05/0.9162, allocations: 11.95 kB / 0.7254 GB, free: 86.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.9162, allocations: 0 / 0.7254 GB, free: 86.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007291/0.9169, allocations: 416.4 kB / 0.7258 GB, free: 85.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005822/0.9175, allocations: 48 kB / 0.7259 GB, free: 85.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002552/0.9201, allocations: 295.6 kB / 0.7261 GB, free: 85.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004071/0.9242, allocations: 1.378 MB / 0.7275 GB, free: 83.91 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01392/0.9381, allocations: 5.956 MB / 0.7333 GB, free: 77.93 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009804/0.9479, allocations: 5.939 MB / 0.7391 GB, free: 71.89 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002945/0.9509, allocations: 1.616 MB / 0.7407 GB, free: 70.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001874/0.9528, allocations: 1.531 MB / 0.7422 GB, free: 68.72 MB / 490.7 MB Notification: Performance of Backend: time 4.21e-07/0.9528, allocations: 0 / 0.7422 GB, free: 68.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.013/0.9658, allocations: 5.105 MB / 0.7472 GB, free: 63.58 MB / 490.7 MB Notification: Performance of SimCode: time 0.006919/0.9727, allocations: 7.433 MB / 0.7544 GB, free: 56.1 MB / 490.7 MB Notification: Performance of Templates: time 0.0625/1.035, allocations: 52.56 MB / 0.8057 GB, free: 3.578 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)