Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.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 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.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.406/1.406, allocations: 222.9 MB / 239 MB, free: 4.727 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.001465/0.001466, allocations: 188.5 kB / 289.2 MB, free: 2.465 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5236/0.5236, allocations: 91.89 MB / 431.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 83.88 kB / 0.5014 GB, free: 8.062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3566, allocations: 71.27 MB / 0.571 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01646/0.3731, allocations: 23.29 MB / 0.5937 GB, free: 20.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.3869, allocations: 5.137 MB / 0.5987 GB, free: 16.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007477/0.3944, allocations: 50.62 kB / 0.5988 GB, free: 16.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004248/0.3987, allocations: 0.6686 MB / 0.5994 GB, free: 16.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.4092, allocations: 1.722 MB / 0.6011 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006579/0.4158, allocations: 1.915 MB / 0.603 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01224/0.4281, allocations: 5.661 MB / 0.6085 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003997/0.4321, allocations: 1.321 MB / 0.6098 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005665/0.4378, allocations: 2.338 MB / 0.6121 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006129/0.444, allocations: 2.93 MB / 0.615 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003464/0.4475, allocations: 436.7 kB / 0.6154 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004655/0.4522, allocations: 0.578 MB / 0.6159 GB, free: 7.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003121/0.4553, allocations: 1.151 MB / 0.6171 GB, free: 7.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008049/0.4634, allocations: 2.615 MB / 0.6196 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.4779, allocations: 6.164 MB / 0.6256 GB, free: 2.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4779, allocations: 0 / 0.6256 GB, free: 2.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4779, allocations: 0 / 0.6256 GB, free: 2.379 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004227/0.4784, allocations: 0 / 0.6256 GB, free: 2.379 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03909/0.5175, allocations: 9.158 MB / 0.6346 GB, free: 13.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.5175, allocations: 8.031 kB / 0.6346 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02685/0.5444, allocations: 4.013 MB / 0.6385 GB, free: 9.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007184/0.5516, allocations: 2.647 MB / 0.6411 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009461/0.5526, allocations: 0.9495 MB / 0.642 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001364/0.554, allocations: 351.9 kB / 0.6423 GB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/0.5641, allocations: 4.727 MB / 0.647 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.227e-05/0.5642, allocations: 7.875 kB / 0.647 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003949/0.5646, allocations: 140 kB / 0.6471 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.004e-05/0.5647, allocations: 88 kB / 0.6472 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008655/0.5733, allocations: 4.24 MB / 0.6513 GB, free: 12.1 MB / 462.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.03585/0.6092, allocations: 18.31 MB / 0.6692 GB, free: 8.613 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/0.6218, allocations: 4.992 MB / 0.6741 GB, free: 3.543 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006675/0.6285, allocations: 2.786 MB / 0.6768 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007862/0.6294, allocations: 66.91 kB / 0.6769 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008157/0.6375, allocations: 3.171 MB / 0.68 GB, free: 13.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=382): time 1.053e-05/0.6376, allocations: 0 / 0.68 GB, free: 13.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=382): time 0.3068/0.9444, allocations: 68.2 MB / 0.7466 GB, free: 9.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.9446, allocations: 141.8 kB / 0.7467 GB, free: 8.906 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007624/0.9522, allocations: 3.226 MB / 0.7499 GB, free: 5.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001503/0.9537, allocations: 89.7 kB / 0.7499 GB, free: 5.566 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00203/0.9558, allocations: 1.967 MB / 0.7519 GB, free: 3.586 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00299/0.9588, allocations: 1.309 MB / 0.7531 GB, free: 2.258 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004058/0.9628, allocations: 0.6742 MB / 0.7538 GB, free: 1.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.963, allocations: 305.1 kB / 0.7541 GB, free: 1.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006689/0.9697, allocations: 2.577 MB / 0.7566 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007231/0.9769, allocations: 3.213 MB / 0.7597 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4044/1.381, allocations: 18.8 MB / 0.7781 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.712e-05/1.381, allocations: 8.344 kB / 0.7781 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05947/1.441, allocations: 16.93 MB / 0.7947 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.761e-05/1.441, allocations: 62.91 kB / 0.7947 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.515e-05/1.441, allocations: 23.25 kB / 0.7947 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02816/1.469, allocations: 7.243 MB / 0.8018 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004491/1.474, allocations: 0.6651 MB / 0.8025 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09524/1.569, allocations: 33.76 MB / 0.8354 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007589/1.577, allocations: 0.6103 MB / 0.836 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/1.578, allocations: 156 kB / 0.8362 GB, free: 132.1 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (398): * Single equations (assignments): 395 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.004325/1.583, allocations: 0.671 MB / 0.8368 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002491/1.585, allocations: 458.3 kB / 0.8373 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05716/1.642, allocations: 16.83 MB / 0.8537 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.301e-05/1.643, allocations: 40 kB / 0.8537 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001488/1.643, allocations: 28 kB / 0.8538 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001668/1.643, allocations: 23.92 kB / 0.8538 GB, free: 114 MB / 0.5606 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.06912/1.712, allocations: 21.82 MB / 0.8751 GB, free: 92.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.709e-05/1.712, allocations: 3.938 kB / 0.8751 GB, free: 92.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002651/1.715, allocations: 395.4 kB / 0.8755 GB, free: 91.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02529/1.74, allocations: 7.39 MB / 0.8827 GB, free: 84.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001324/1.741, allocations: 67.98 kB / 0.8828 GB, free: 84.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08017/1.822, allocations: 31.84 MB / 0.9139 GB, free: 52.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.822, allocations: 0 / 0.9139 GB, free: 52.13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06291/1.885, allocations: 20.2 MB / 0.9336 GB, free: 31.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002019/1.887, allocations: 0.557 MB / 0.9341 GB, free: 31.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002216/1.889, allocations: 64 kB / 0.9342 GB, free: 31.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006079/1.895, allocations: 379.6 kB / 0.9345 GB, free: 30.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004083/1.899, allocations: 0.7805 MB / 0.9353 GB, free: 30.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001054/1.9, allocations: 91.98 kB / 0.9354 GB, free: 29.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004104/1.904, allocations: 2.113 MB / 0.9375 GB, free: 27.85 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.51e-07/1.904, allocations: 0 / 0.9375 GB, free: 27.85 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008197/1.913, allocations: 1.79 MB / 0.9392 GB, free: 26.06 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/1.914, allocations: 199.3 kB / 0.9394 GB, free: 25.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02989/1.944, allocations: 9.416 MB / 0.9486 GB, free: 16.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.944, allocations: 0 / 0.9486 GB, free: 16.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01874/1.962, allocations: 6.195 MB / 0.9546 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005805/1.968, allocations: 386.4 kB / 0.955 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/1.986, allocations: 9.663 MB / 0.9645 GB, free: 104 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003074/1.99, allocations: 2.447 MB / 0.9668 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002284/1.992, allocations: 375 kB / 0.9672 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.993, allocations: 247.4 kB / 0.9674 GB, free: 13 MB / 0.5762 GB Notification: Performance of SimCode: time 1.673e-06/1.993, allocations: 0 / 0.9674 GB, free: 13 MB / 0.5762 GB Notification: Performance of Templates: time 0.4511/2.444, allocations: 89.05 MB / 1.054 GB, free: 157.9 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)