Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009495/0.0009496, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.365/1.365, allocations: 223.3 MB / 239 MB, free: 5.445 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.00112/0.00112, allocations: 180.5 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.517/0.517, allocations: 91.92 MB / 433.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 8 kB / 0.5042 GB, free: 7.656 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3354, allocations: 72.47 MB / 0.5749 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004512/0.3399, allocations: 6.105 MB / 0.5809 GB, free: 32.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002998/0.343, allocations: 1.945 MB / 0.5828 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004383/0.3434, allocations: 11.44 kB / 0.5828 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.3439, allocations: 169.9 kB / 0.583 GB, free: 31.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.3453, allocations: 0.662 MB / 0.5836 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009402/0.3463, allocations: 0.5262 MB / 0.5841 GB, free: 30.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.3473, allocations: 1.457 MB / 0.5856 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.3477, allocations: 276.7 kB / 0.5858 GB, free: 29.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005402/0.3483, allocations: 0.576 MB / 0.5864 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006649/0.3489, allocations: 0.7567 MB / 0.5871 GB, free: 29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.3491, allocations: 61.44 kB / 0.5872 GB, free: 29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000369/0.3494, allocations: 188.7 kB / 0.5874 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.3496, allocations: 260 kB / 0.5876 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.3498, allocations: 230 kB / 0.5878 GB, free: 28.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008895/0.3507, allocations: 1.266 MB / 0.5891 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3507, allocations: 3.094 kB / 0.5891 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3507, allocations: 2.844 kB / 0.5891 GB, free: 28.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.3508, allocations: 0 / 0.5891 GB, free: 28.29 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.007358/0.3581, allocations: 2.57 MB / 0.5916 GB, free: 27.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3582, allocations: 9 kB / 0.5916 GB, free: 27.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004865/0.363, allocations: 0.7882 MB / 0.5924 GB, free: 27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.3645, allocations: 0.8607 MB / 0.5932 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000243/0.3648, allocations: 270.8 kB / 0.5935 GB, free: 26.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.365, allocations: 88.14 kB / 0.5935 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.367, allocations: 1.158 MB / 0.5947 GB, free: 25.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.367, allocations: 0 / 0.5947 GB, free: 25.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/0.3671, allocations: 30.91 kB / 0.5947 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.3671, allocations: 21.3 kB / 0.5947 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.3692, allocations: 1.056 MB / 0.5957 GB, free: 25.38 MB / 430.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.006369/0.3756, allocations: 3.957 MB / 0.5996 GB, free: 23.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007449/0.3831, allocations: 2.929 MB / 0.6025 GB, free: 22.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.3847, allocations: 0.7495 MB / 0.6032 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.3849, allocations: 23.55 kB / 0.6032 GB, free: 21.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001756/0.3866, allocations: 0.8894 MB / 0.6041 GB, free: 21.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.156e-06/0.3866, allocations: 0 / 0.6041 GB, free: 21.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02925/0.4159, allocations: 8.793 MB / 0.6127 GB, free: 19.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.416, allocations: 117.9 kB / 0.6128 GB, free: 19.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.4177, allocations: 1.116 MB / 0.6139 GB, free: 18.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000224/0.418, allocations: 46.17 kB / 0.6139 GB, free: 18.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.4183, allocations: 0.4916 MB / 0.6144 GB, free: 18.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.4186, allocations: 361.5 kB / 0.6148 GB, free: 18.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-05/0.4187, allocations: 30.56 kB / 0.6148 GB, free: 18.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.4188, allocations: 363.6 kB / 0.6151 GB, free: 17.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.4204, allocations: 0.8362 MB / 0.6159 GB, free: 17.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.422, allocations: 1.015 MB / 0.6169 GB, free: 16.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.4237, allocations: 0.978 MB / 0.6179 GB, free: 16.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.4237, allocations: 1.5 kB / 0.6179 GB, free: 16.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01251/0.4363, allocations: 5.204 MB / 0.623 GB, free: 12.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.4364, allocations: 67.33 kB / 0.623 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.4364, allocations: 4 kB / 0.623 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005377/0.4418, allocations: 1.92 MB / 0.6249 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.4434, allocations: 315.6 kB / 0.6252 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/0.4608, allocations: 8.974 MB / 0.634 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.4626, allocations: 234.7 kB / 0.6342 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.4628, allocations: 59.97 kB / 0.6343 GB, free: 392 kB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005072/0.4633, allocations: 322.4 kB / 0.6346 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.4635, allocations: 130.4 kB / 0.6347 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.4762, allocations: 4.736 MB / 0.6393 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.4762, allocations: 12 kB / 0.6393 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.4762, allocations: 4 kB / 0.6393 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.319e-05/0.4763, allocations: 3.984 kB / 0.6393 GB, free: 11.14 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01474/0.491, allocations: 6.36 MB / 0.6456 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.4911, allocations: 0 / 0.6456 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006735/0.4917, allocations: 99.89 kB / 0.6456 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005381/0.4971, allocations: 1.873 MB / 0.6475 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.4973, allocations: 23.98 kB / 0.6475 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01841/0.5158, allocations: 9.689 MB / 0.657 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5158, allocations: 7.938 kB / 0.657 GB, free: 8.688 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/0.5307, allocations: 5.678 MB / 0.6625 GB, free: 2.977 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005894/0.5313, allocations: 231.2 kB / 0.6627 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004061/0.5317, allocations: 20 kB / 0.6628 GB, free: 2.711 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.5331, allocations: 147.9 kB / 0.6629 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006182/0.5337, allocations: 192.6 kB / 0.6631 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.5338, allocations: 31.98 kB / 0.6631 GB, free: 2.344 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001235/0.5351, allocations: 0.7475 MB / 0.6638 GB, free: 1.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5351, allocations: 0 / 0.6638 GB, free: 1.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001764/0.5368, allocations: 483.6 kB / 0.6643 GB, free: 1.117 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003101/0.5372, allocations: 144 kB / 0.6644 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006304/0.5435, allocations: 2.858 MB / 0.6672 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5435, allocations: 0 / 0.6672 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004113/0.5476, allocations: 1.794 MB / 0.669 GB, free: 12.24 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.549, allocations: 112.6 kB / 0.6691 GB, free: 12.13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004289/0.5533, allocations: 2.763 MB / 0.6718 GB, free: 9.34 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006841/0.554, allocations: 1.136 MB / 0.6729 GB, free: 8.172 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005177/0.5546, allocations: 116.1 kB / 0.673 GB, free: 8.055 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.5549, allocations: 79.41 kB / 0.6731 GB, free: 7.977 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5549, allocations: 0 / 0.6731 GB, free: 7.977 MB / 478.1 MB Notification: Performance of Templates: time 0.03434/0.5892, allocations: 21.72 MB / 0.6943 GB, free: 2.285 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)