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.001353/0.001353, allocations: 107.3 kB / 15.99 MB, free: 6.348 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.315/1.315, allocations: 222.9 MB / 239.6 MB, free: 4.758 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.001289/0.001289, allocations: 180.5 kB / 289.9 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4843/0.4843, allocations: 91.91 MB / 432 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 72.17 kB / 0.502 GB, free: 8.078 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3467, allocations: 71.26 MB / 0.5716 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.005692/0.3524, allocations: 6.969 MB / 0.5784 GB, free: 32.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003628/0.3561, allocations: 2.029 MB / 0.5804 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006685/0.3568, allocations: 11.84 kB / 0.5804 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006598/0.3575, allocations: 188.8 kB / 0.5806 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.3591, allocations: 0.7187 MB / 0.5813 GB, free: 30.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3602, allocations: 0.588 MB / 0.5819 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.3614, allocations: 1.631 MB / 0.5835 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.3618, allocations: 332.7 kB / 0.5838 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005894/0.3624, allocations: 0.679 MB / 0.5844 GB, free: 28.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00064/0.363, allocations: 0.8564 MB / 0.5853 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.3632, allocations: 127.8 kB / 0.5854 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.3636, allocations: 268.5 kB / 0.5857 GB, free: 28.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.3638, allocations: 348.4 kB / 0.586 GB, free: 28.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004148/0.3643, allocations: 0.6895 MB / 0.5867 GB, free: 27.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009894/0.3653, allocations: 1.314 MB / 0.588 GB, free: 27.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3653, allocations: 0 / 0.588 GB, free: 27.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3653, allocations: 1.094 kB / 0.588 GB, free: 27.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.3653, allocations: 0 / 0.588 GB, free: 27.28 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.008704/0.374, allocations: 2.751 MB / 0.5906 GB, free: 26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3741, allocations: 10.09 kB / 0.5906 GB, free: 26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004981/0.3791, allocations: 0.7789 MB / 0.5914 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.3806, allocations: 0.9101 MB / 0.5923 GB, free: 25.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.3809, allocations: 259 kB / 0.5925 GB, free: 25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.381, allocations: 89.48 kB / 0.5926 GB, free: 24.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.3831, allocations: 1.098 MB / 0.5937 GB, free: 24.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.3831, allocations: 7.922 kB / 0.5937 GB, free: 24.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.114e-05/0.3832, allocations: 30.44 kB / 0.5937 GB, free: 24.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.3832, allocations: 19.34 kB / 0.5938 GB, free: 24.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.3852, allocations: 1 MB / 0.5947 GB, free: 24.18 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.006285/0.3914, allocations: 3.878 MB / 0.5985 GB, free: 21.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007512/0.399, allocations: 2.391 MB / 0.6009 GB, free: 21.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.4004, allocations: 0.6856 MB / 0.6015 GB, free: 20.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.4006, allocations: 20.97 kB / 0.6015 GB, free: 20.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001653/0.4022, allocations: 0.83 MB / 0.6024 GB, free: 20.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.036e-06/0.4022, allocations: 0 / 0.6024 GB, free: 20.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03105/0.4333, allocations: 7.219 MB / 0.6094 GB, free: 19.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.4334, allocations: 114.4 kB / 0.6095 GB, free: 18.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.4353, allocations: 1.127 MB / 0.6106 GB, free: 18.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002387/0.4356, allocations: 46.94 kB / 0.6107 GB, free: 18.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.4359, allocations: 0.4994 MB / 0.6111 GB, free: 18.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/0.4363, allocations: 362 kB / 0.6115 GB, free: 17.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005218/0.4368, allocations: 293.7 kB / 0.6118 GB, free: 17.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.473e-05/0.4368, allocations: 306.3 kB / 0.6121 GB, free: 17.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.4384, allocations: 0.7811 MB / 0.6128 GB, free: 17.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.4401, allocations: 0.9514 MB / 0.6138 GB, free: 16.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02431/0.4645, allocations: 5.82 MB / 0.6194 GB, free: 13.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.4645, allocations: 0 / 0.6194 GB, free: 13.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01252/0.477, allocations: 4.446 MB / 0.6238 GB, free: 8.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.4771, allocations: 59.34 kB / 0.6238 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.4772, allocations: 8 kB / 0.6238 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005431/0.4826, allocations: 1.639 MB / 0.6254 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.4841, allocations: 295.5 kB / 0.6257 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/0.5027, allocations: 8.607 MB / 0.6341 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/0.5051, allocations: 198.7 kB / 0.6343 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.5053, allocations: 67.91 kB / 0.6344 GB, free: 13.77 MB / 446.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 order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.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: 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 (167): * Single equations (assignments): 164 * 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.0006626/0.5059, allocations: 304.4 kB / 0.6347 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.5062, allocations: 126.5 kB / 0.6348 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.519, allocations: 3.908 MB / 0.6386 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.519, allocations: 8 kB / 0.6386 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.519, allocations: 8 kB / 0.6386 GB, free: 9.379 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.18e-05/0.5191, allocations: 7.984 kB / 0.6386 GB, free: 9.371 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.01495/0.534, allocations: 5.52 MB / 0.644 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.5341, allocations: 0 / 0.644 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007656/0.5349, allocations: 103.8 kB / 0.6441 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00548/0.5404, allocations: 1.588 MB / 0.6457 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/0.5406, allocations: 20 kB / 0.6457 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/0.5606, allocations: 9.665 MB / 0.6551 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5606, allocations: 0 / 0.6551 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01489/0.5755, allocations: 4.772 MB / 0.6598 GB, free: 3.262 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006691/0.5763, allocations: 231.2 kB / 0.66 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.5765, allocations: 27.88 kB / 0.66 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.5778, allocations: 107.9 kB / 0.6601 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006515/0.5784, allocations: 196.7 kB / 0.6603 GB, free: 2.688 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/0.5785, allocations: 23.98 kB / 0.6604 GB, free: 2.664 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001104/0.5796, allocations: 0.7592 MB / 0.6611 GB, free: 1.898 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5796, allocations: 0 / 0.6611 GB, free: 1.898 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001544/0.5812, allocations: 487.5 kB / 0.6616 GB, free: 1.422 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 (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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003272/0.5815, allocations: 132 kB / 0.6617 GB, free: 1.285 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007057/0.5886, allocations: 2.632 MB / 0.6643 GB, free: 14.61 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5886, allocations: 0 / 0.6643 GB, free: 14.61 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004132/0.5927, allocations: 1.587 MB / 0.6658 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.5939, allocations: 133 kB / 0.6659 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/0.5983, allocations: 2.834 MB / 0.6687 GB, free: 10 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.5989, allocations: 1.136 MB / 0.6698 GB, free: 8.832 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.5993, allocations: 83.41 kB / 0.6699 GB, free: 8.75 MB / 478.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5993, allocations: 0 / 0.6699 GB, free: 8.75 MB / 478.1 MB Notification: Performance of Templates: time 0.02736/0.6266, allocations: 23.87 MB / 0.6932 GB, free: 0.8867 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)