Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001477, allocations: 110.4 kB / 16.41 MB, free: 6.488 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.432/1.432, allocations: 222.9 MB / 240.1 MB, free: 4.375 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.001541/0.001541, allocations: 184.5 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5369/0.5369, allocations: 91.91 MB / 432.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 79.69 kB / 0.5734 GB, free: 33.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1507, allocations: 71.29 MB / 0.6431 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01289/0.1637, allocations: 13.87 MB / 0.6566 GB, free: 5.598 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008271/0.172, allocations: 3.515 MB / 0.66 GB, free: 2.066 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003223/0.1753, allocations: 35.88 kB / 0.6601 GB, free: 2.031 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002373/0.1777, allocations: 0.5537 MB / 0.6606 GB, free: 1.473 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006364/0.1841, allocations: 1.442 MB / 0.662 GB, free: 28 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004715/0.1888, allocations: 1.528 MB / 0.6635 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00689/0.1957, allocations: 3.816 MB / 0.6672 GB, free: 10.69 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.1979, allocations: 0.8974 MB / 0.6681 GB, free: 9.742 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003174/0.2011, allocations: 1.556 MB / 0.6696 GB, free: 8.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003452/0.2046, allocations: 2.007 MB / 0.6716 GB, free: 6.164 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001459/0.206, allocations: 296 kB / 0.6719 GB, free: 5.875 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.2081, allocations: 439.8 kB / 0.6723 GB, free: 5.445 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.2095, allocations: 0.7819 MB / 0.6731 GB, free: 4.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00316/0.2126, allocations: 1.662 MB / 0.6747 GB, free: 2.988 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006461/0.2191, allocations: 4.048 MB / 0.6786 GB, free: 14.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.2192, allocations: 0 / 0.6786 GB, free: 14.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.2192, allocations: 0 / 0.6786 GB, free: 14.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001758/0.2194, allocations: 0 / 0.6786 GB, free: 14.93 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02657/0.2459, allocations: 6.676 MB / 0.6852 GB, free: 8.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.246, allocations: 8.031 kB / 0.6852 GB, free: 8.145 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/0.2621, allocations: 2.275 MB / 0.6874 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005245/0.2674, allocations: 1.91 MB / 0.6892 GB, free: 3.887 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009523/0.2684, allocations: 0.7291 MB / 0.69 GB, free: 3.043 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/0.2695, allocations: 223.8 kB / 0.6902 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009404/0.2789, allocations: 3.051 MB / 0.6932 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-05/0.2791, allocations: 4 kB / 0.6932 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006403/0.2797, allocations: 87.94 kB / 0.6932 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/0.2798, allocations: 48 kB / 0.6933 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007362/0.2871, allocations: 2.807 MB / 0.696 GB, free: 12.73 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.02375/0.3109, allocations: 9.892 MB / 0.7057 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.3229, allocations: 4.224 MB / 0.7098 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004862/0.3278, allocations: 1.987 MB / 0.7118 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004634/0.3283, allocations: 45.95 kB / 0.7118 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005851/0.3341, allocations: 2.248 MB / 0.714 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=250): time 8.736e-06/0.3342, allocations: 0 / 0.714 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.1267/0.4609, allocations: 28.82 MB / 0.7421 GB, free: 12.81 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.4611, allocations: 188.2 kB / 0.7423 GB, free: 12.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004482/0.4656, allocations: 2.325 MB / 0.7446 GB, free: 10.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008331/0.4665, allocations: 77.64 kB / 0.7447 GB, free: 10.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.4676, allocations: 1.176 MB / 0.7458 GB, free: 8.977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00173/0.4694, allocations: 0.8858 MB / 0.7467 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002691/0.4721, allocations: 0.5699 MB / 0.7472 GB, free: 7.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.4722, allocations: 301.1 kB / 0.7475 GB, free: 7.203 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004999/0.4772, allocations: 1.986 MB / 0.7495 GB, free: 5.215 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005282/0.4825, allocations: 2.358 MB / 0.7518 GB, free: 2.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05915/0.5417, allocations: 14.37 MB / 0.7658 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.12e-05/0.5418, allocations: 3.938 kB / 0.7658 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.3834/0.9251, allocations: 12.61 MB / 0.7781 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.9253, allocations: 118.7 kB / 0.7782 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/0.9253, allocations: 10.28 kB / 0.7782 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01916/0.9445, allocations: 5.433 MB / 0.7835 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/0.9474, allocations: 0.5801 MB / 0.7841 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05612/1.004, allocations: 23.64 MB / 0.8072 GB, free: 96.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004726/1.008, allocations: 493.9 kB / 0.8077 GB, free: 96.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006/1.009, allocations: 120 kB / 0.8078 GB, free: 96.39 MB / 0.5606 GB 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: 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 (336): * Single equations (assignments): 331 * 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.001272/1.01, allocations: 0.5344 MB / 0.8083 GB, free: 95.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006638/1.011, allocations: 302.8 kB / 0.8086 GB, free: 95.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03729/1.048, allocations: 11.95 MB / 0.8203 GB, free: 83.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/1.048, allocations: 24 kB / 0.8203 GB, free: 83.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.857e-05/1.048, allocations: 20 kB / 0.8203 GB, free: 83.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.141e-05/1.048, allocations: 18.64 kB / 0.8203 GB, free: 83.5 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.04105/1.089, allocations: 15.58 MB / 0.8355 GB, free: 67.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/1.09, allocations: 3.984 kB / 0.8355 GB, free: 67.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/1.091, allocations: 251.6 kB / 0.8358 GB, free: 67.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01642/1.107, allocations: 5.281 MB / 0.8409 GB, free: 62.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005935/1.108, allocations: 51.98 kB / 0.841 GB, free: 62.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0522/1.16, allocations: 24.92 MB / 0.8653 GB, free: 36.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.16, allocations: 11.94 kB / 0.8653 GB, free: 36.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04226/1.203, allocations: 14.34 MB / 0.8793 GB, free: 22.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009889/1.204, allocations: 421.8 kB / 0.8797 GB, free: 22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006049/1.204, allocations: 48 kB / 0.8798 GB, free: 21.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002916/1.207, allocations: 295.6 kB / 0.8801 GB, free: 21.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001938/1.209, allocations: 0.5878 MB / 0.8806 GB, free: 21.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/1.209, allocations: 63.98 kB / 0.8807 GB, free: 21.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002026/1.211, allocations: 1.551 MB / 0.8822 GB, free: 19.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/1.211, allocations: 0 / 0.8822 GB, free: 19.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003304/1.215, allocations: 1.182 MB / 0.8834 GB, free: 18.28 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004408/1.215, allocations: 175.9 kB / 0.8835 GB, free: 18.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.017/1.232, allocations: 6.795 MB / 0.8902 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.232, allocations: 0 / 0.8902 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01226/1.245, allocations: 4.411 MB / 0.8945 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/1.247, allocations: 274.1 kB / 0.8947 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008339/1.255, allocations: 5.551 MB / 0.9002 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/1.256, allocations: 1.815 MB / 0.9019 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008203/1.257, allocations: 183.4 kB / 0.9021 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/1.257, allocations: 3.391 kB / 0.9021 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of Templates: time 0.08358/1.341, allocations: 64.9 MB / 0.9655 GB, free: 13.93 MB / 0.6387 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)