Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.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.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 173.3 kB / 16.08 MB, free: 5.727 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.229/1.229, allocations: 222.9 MB / 239.7 MB, free: 10.16 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.000738/0.0007381, allocations: 94.75 kB / 290.5 MB, free: 11.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4108/0.4108, allocations: 78.41 MB / 419.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003766, allocations: 16.22 kB / 499.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2428, allocations: 68.74 MB / 0.5545 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI): time 0.008621/0.2515, allocations: 14.41 MB / 0.5686 GB, free: 5.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005978/0.2575, allocations: 3.687 MB / 0.5722 GB, free: 2.055 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.2597, allocations: 32 kB / 0.5722 GB, free: 2.023 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.2613, allocations: 441.1 kB / 0.5726 GB, free: 1.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.2651, allocations: 1.229 MB / 0.5738 GB, free: 368 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003303/0.2684, allocations: 1.46 MB / 0.5753 GB, free: 14.92 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004399/0.2729, allocations: 3.539 MB / 0.5787 GB, free: 11.37 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.2742, allocations: 0.7217 MB / 0.5794 GB, free: 10.61 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/0.2761, allocations: 1.329 MB / 0.5807 GB, free: 9.273 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00236/0.2785, allocations: 1.8 MB / 0.5825 GB, free: 7.465 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007166/0.2792, allocations: 148 kB / 0.5826 GB, free: 7.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.2803, allocations: 275.9 kB / 0.5829 GB, free: 7.051 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008065/0.2811, allocations: 0.6334 MB / 0.5835 GB, free: 6.414 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001915/0.2831, allocations: 1.483 MB / 0.585 GB, free: 4.922 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003637/0.2867, allocations: 3.746 MB / 0.5886 GB, free: 1.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2867, allocations: 0 / 0.5886 GB, free: 1.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2867, allocations: 0 / 0.5886 GB, free: 1.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001203/0.2869, allocations: 0 / 0.5886 GB, free: 1.16 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.02011/0.307, allocations: 5.995 MB / 0.5945 GB, free: 11.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.307, allocations: 8.031 kB / 0.5945 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01454/0.3216, allocations: 2.275 MB / 0.5967 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/0.3258, allocations: 1.894 MB / 0.5985 GB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000685/0.3265, allocations: 0.6749 MB / 0.5992 GB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007664/0.3273, allocations: 219.9 kB / 0.5994 GB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006548/0.3339, allocations: 3.068 MB / 0.6024 GB, free: 2.672 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.3339, allocations: 0 / 0.6024 GB, free: 2.672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/0.3342, allocations: 91.94 kB / 0.6025 GB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/0.3342, allocations: 48 kB / 0.6025 GB, free: 2.535 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005633/0.3398, allocations: 2.827 MB / 0.6053 GB, free: 15.69 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.0175/0.3574, allocations: 10.05 MB / 0.6151 GB, free: 5.195 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/0.3675, allocations: 4.124 MB / 0.6191 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003993/0.3715, allocations: 1.995 MB / 0.6211 GB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.3718, allocations: 41.88 kB / 0.6211 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.3719, allocations: 64.56 kB / 0.6212 GB, free: 14.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=244): time 4.338e-06/0.3719, allocations: 0 / 0.6212 GB, free: 14.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=244): time 0.1161/0.488, allocations: 29 MB / 0.6495 GB, free: 1.727 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.4882, allocations: 247.5 kB / 0.6498 GB, free: 1.438 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003303/0.4915, allocations: 2.309 MB / 0.652 GB, free: 15.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005165/0.492, allocations: 65.7 kB / 0.6521 GB, free: 15.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008579/0.4929, allocations: 1.18 MB / 0.6532 GB, free: 13.85 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009718/0.4938, allocations: 0.8703 MB / 0.6541 GB, free: 12.96 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004044/0.4943, allocations: 280.3 kB / 0.6543 GB, free: 12.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.4944, allocations: 305.1 kB / 0.6546 GB, free: 12.38 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004041/0.4984, allocations: 1.97 MB / 0.6566 GB, free: 10.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00427/0.5027, allocations: 2.358 MB / 0.6589 GB, free: 7.953 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05339/0.5561, allocations: 14.32 MB / 0.6729 GB, free: 9.391 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/0.5561, allocations: 4 kB / 0.6729 GB, free: 9.387 MB / 490.7 MB Notification: Performance of matching and sorting (n=405) (initialization): time 0.2605/0.8166, allocations: 12.44 MB / 0.685 GB, free: 106.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002036/0.8169, allocations: 406.5 kB / 0.6854 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.8169, allocations: 6.688 kB / 0.6854 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01764/0.8345, allocations: 5.446 MB / 0.6907 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/0.8375, allocations: 0.5385 MB / 0.6912 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04963/0.8871, allocations: 21.76 MB / 0.7125 GB, free: 97.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003952/0.8911, allocations: 479.6 kB / 0.7129 GB, free: 97.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003815/0.8915, allocations: 114.9 kB / 0.7131 GB, free: 97.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.8915, allocations: 3.375 kB / 0.7131 GB, free: 97.85 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03466/0.9262, allocations: 12.12 MB / 0.7249 GB, free: 86.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-05/0.9263, allocations: 8 kB / 0.7249 GB, free: 86.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01625/0.9425, allocations: 5.445 MB / 0.7302 GB, free: 80.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/0.9451, allocations: 0.5343 MB / 0.7307 GB, free: 80.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0471/0.9922, allocations: 21.73 MB / 0.752 GB, free: 58.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003547/0.9958, allocations: 450.1 kB / 0.7524 GB, free: 58.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/0.9961, allocations: 114 kB / 0.7525 GB, free: 58.03 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 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.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 311 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0011/0.9972, allocations: 0.6102 MB / 0.7531 GB, free: 57.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005055/0.9977, allocations: 292.3 kB / 0.7534 GB, free: 57.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03325/1.031, allocations: 11.72 MB / 0.7648 GB, free: 45.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-05/1.031, allocations: 19.95 kB / 0.7648 GB, free: 45.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.031, allocations: 0 / 0.7648 GB, free: 45.33 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007422/1.032, allocations: 413 kB / 0.7652 GB, free: 44.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005795/1.032, allocations: 48 kB / 0.7653 GB, free: 44.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002674/1.035, allocations: 287.7 kB / 0.7656 GB, free: 44.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003692/1.039, allocations: 1.339 MB / 0.7669 GB, free: 43.24 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01366/1.052, allocations: 5.791 MB / 0.7725 GB, free: 37.46 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01022/1.063, allocations: 5.973 MB / 0.7784 GB, free: 31.45 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003061/1.066, allocations: 1.64 MB / 0.78 GB, free: 29.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001939/1.068, allocations: 1.535 MB / 0.7815 GB, free: 28.28 MB / 490.7 MB Notification: Performance of Backend: time 5.41e-07/1.068, allocations: 0 / 0.7815 GB, free: 28.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02493/1.093, allocations: 9.868 MB / 0.7911 GB, free: 18.3 MB / 490.7 MB Notification: Performance of SimCode: time 0.006914/1.1, allocations: 7.396 MB / 0.7983 GB, free: 10.84 MB / 490.7 MB Notification: Performance of Templates: time 0.1148/1.214, allocations: 82.48 MB / 0.8789 GB, free: 8.383 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)