Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 183.2 kB / 15.98 MB, free: 5.77 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.264/1.264, allocations: 222.9 MB / 239.7 MB, free: 10.99 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.0009708/0.0009707, allocations: 106.1 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4161/0.4161, allocations: 78.49 MB / 418.5 MB, free: 8.816 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 497.4 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2571, allocations: 68.13 MB / 0.5523 GB, free: 20.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005298/0.2624, allocations: 7.005 MB / 0.5591 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.2653, allocations: 2.052 MB / 0.5612 GB, free: 11.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003855/0.2657, allocations: 16 kB / 0.5612 GB, free: 11.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.2662, allocations: 190.8 kB / 0.5613 GB, free: 10.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.2675, allocations: 0.7314 MB / 0.5621 GB, free: 10.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008931/0.2684, allocations: 0.5949 MB / 0.5626 GB, free: 9.586 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009046/0.2693, allocations: 1.601 MB / 0.5642 GB, free: 7.977 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003063/0.2696, allocations: 291.5 kB / 0.5645 GB, free: 7.684 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.2701, allocations: 0.626 MB / 0.5651 GB, free: 7.055 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006075/0.2707, allocations: 0.8283 MB / 0.5659 GB, free: 6.223 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.2709, allocations: 80 kB / 0.566 GB, free: 6.145 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.2712, allocations: 203.9 kB / 0.5662 GB, free: 5.945 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.2714, allocations: 298.5 kB / 0.5665 GB, free: 5.652 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003617/0.2717, allocations: 0.6405 MB / 0.5671 GB, free: 5.008 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009105/0.2727, allocations: 1.654 MB / 0.5687 GB, free: 3.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2727, allocations: 4 kB / 0.5687 GB, free: 3.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.2727, allocations: 0 / 0.5687 GB, free: 3.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.2727, allocations: 0 / 0.5687 GB, free: 3.344 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008018/0.2807, allocations: 2.785 MB / 0.5714 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2808, allocations: 12.03 kB / 0.5714 GB, free: 492 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004577/0.2853, allocations: 0.7787 MB / 0.5722 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.2868, allocations: 0.9257 MB / 0.5731 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/0.287, allocations: 260.2 kB / 0.5734 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.2872, allocations: 87.91 kB / 0.5734 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.2892, allocations: 1.118 MB / 0.5745 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.2893, allocations: 0 / 0.5745 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.012e-05/0.2894, allocations: 28 kB / 0.5746 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.2894, allocations: 20 kB / 0.5746 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.2914, allocations: 0.9995 MB / 0.5755 GB, free: 12.16 MB / 394.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.006211/0.2976, allocations: 3.926 MB / 0.5794 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007602/0.3052, allocations: 2.408 MB / 0.5817 GB, free: 5.559 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.3066, allocations: 0.6956 MB / 0.5824 GB, free: 4.855 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.3068, allocations: 20.97 kB / 0.5824 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/0.3083, allocations: 0.8334 MB / 0.5832 GB, free: 3.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 2.936e-06/0.3083, allocations: 0 / 0.5832 GB, free: 3.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=98): time 0.02824/0.3366, allocations: 7.089 MB / 0.5902 GB, free: 12.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.3367, allocations: 115.8 kB / 0.5903 GB, free: 12.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.3383, allocations: 1.143 MB / 0.5914 GB, free: 11.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.3385, allocations: 45.7 kB / 0.5914 GB, free: 11.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.3388, allocations: 0.5008 MB / 0.5919 GB, free: 10.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.3391, allocations: 362.9 kB / 0.5923 GB, free: 10.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004992/0.3397, allocations: 299.4 kB / 0.5926 GB, free: 10.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.3397, allocations: 301.1 kB / 0.5928 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.3413, allocations: 0.7965 MB / 0.5936 GB, free: 9.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.3431, allocations: 0.9733 MB / 0.5946 GB, free: 8.215 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02512/0.3682, allocations: 5.924 MB / 0.6004 GB, free: 2.207 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.3682, allocations: 4 kB / 0.6004 GB, free: 2.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01399/0.3822, allocations: 4.516 MB / 0.6048 GB, free: 13.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/0.3823, allocations: 59.39 kB / 0.6048 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.3823, allocations: 4 kB / 0.6048 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006447/0.3888, allocations: 1.658 MB / 0.6065 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.3903, allocations: 299.6 kB / 0.6067 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/0.4093, allocations: 7.94 MB / 0.6145 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.4113, allocations: 206.6 kB / 0.6147 GB, free: 3.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.4114, allocations: 59.97 kB / 0.6147 GB, free: 3.277 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005501/0.412, allocations: 311.6 kB / 0.615 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.4122, allocations: 126.4 kB / 0.6152 GB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/0.4254, allocations: 3.928 MB / 0.619 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.4254, allocations: 16 kB / 0.619 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.4255, allocations: 4 kB / 0.619 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.4255, allocations: 3.984 kB / 0.619 GB, free: 14.86 MB / 442.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 postOpt removeSimpleEquations (simulation): time 0.01491/0.4404, allocations: 5.559 MB / 0.6245 GB, free: 9.184 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.4404, allocations: 7.969 kB / 0.6245 GB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007222/0.4412, allocations: 99.89 kB / 0.6246 GB, free: 9.078 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00554/0.4467, allocations: 1.602 MB / 0.6261 GB, free: 7.469 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.4469, allocations: 23.98 kB / 0.6261 GB, free: 7.445 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01841/0.4653, allocations: 8.767 MB / 0.6347 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4653, allocations: 4 kB / 0.6347 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09561/0.5609, allocations: 33.46 MB / 0.6674 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.5613, allocations: 231.1 kB / 0.6676 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/0.5617, allocations: 24 kB / 0.6676 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.5631, allocations: 115.8 kB / 0.6677 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000632/0.5637, allocations: 192.7 kB / 0.6679 GB, free: 11.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.5639, allocations: 31.98 kB / 0.668 GB, free: 11.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001233/0.5651, allocations: 0.7752 MB / 0.6687 GB, free: 11.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5651, allocations: 3.938 kB / 0.6687 GB, free: 11.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002059/0.5672, allocations: 0.6792 MB / 0.6694 GB, free: 10.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (66): * Single equations (assignments): 63 * 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.0003032/0.5675, allocations: 132.1 kB / 0.6695 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006761/0.5743, allocations: 2.628 MB / 0.6721 GB, free: 7.531 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5743, allocations: 0 / 0.6721 GB, free: 7.531 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004369/0.5786, allocations: 1.616 MB / 0.6737 GB, free: 5.883 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008842/0.5795, allocations: 111.8 kB / 0.6738 GB, free: 5.777 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007977/0.5875, allocations: 4.32 MB / 0.678 GB, free: 1.379 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006534/0.5882, allocations: 1.172 MB / 0.6791 GB, free: 180 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005265/0.5887, allocations: 136.2 kB / 0.6793 GB, free: 40 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1923/0.781, allocations: 77.73 kB / 0.6793 GB, free: 114.7 MB / 490.7 MB Notification: Performance of SimCode: time 9.41e-07/0.7811, allocations: 2.656 kB / 0.6793 GB, free: 114.7 MB / 490.7 MB Notification: Performance of Templates: time 0.04292/0.824, allocations: 33.03 MB / 0.7116 GB, free: 95.14 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)