Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001196/0.001196, allocations: 107 kB / 16.37 MB, free: 6.477 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.35/1.35, allocations: 222.9 MB / 240 MB, free: 4.57 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.001303/0.001303, allocations: 188.5 kB / 290.3 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4615/0.4615, allocations: 78.53 MB / 419 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 83.86 kB / 498.9 MB, free: 5.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1471, allocations: 68.17 MB / 0.5538 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.2461/0.3932, allocations: 6.657 MB / 0.5603 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004325/0.3976, allocations: 1.982 MB / 0.5622 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.3987, allocations: 11.78 kB / 0.5622 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007836/0.3995, allocations: 239.5 kB / 0.5625 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002117/0.4016, allocations: 0.8129 MB / 0.5632 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.4029, allocations: 0.636 MB / 0.5639 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.4047, allocations: 1.643 MB / 0.5655 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004629/0.4052, allocations: 318.7 kB / 0.5658 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008758/0.4061, allocations: 0.6777 MB / 0.5664 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008534/0.4069, allocations: 0.8564 MB / 0.5673 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.4071, allocations: 134 kB / 0.5674 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.4076, allocations: 268.6 kB / 0.5677 GB, free: 34.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.4079, allocations: 341 kB / 0.568 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005056/0.4084, allocations: 0.686 MB / 0.5687 GB, free: 34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.4099, allocations: 1.71 MB / 0.5703 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4099, allocations: 2.625 kB / 0.5703 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4099, allocations: 2.906 kB / 0.5703 GB, free: 33.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.4099, allocations: 0 / 0.5703 GB, free: 33.61 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.008861/0.4188, allocations: 2.75 MB / 0.573 GB, free: 32.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4189, allocations: 8.5 kB / 0.573 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004839/0.4237, allocations: 0.779 MB / 0.5738 GB, free: 32.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.4254, allocations: 0.9126 MB / 0.5747 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/0.4257, allocations: 256.3 kB / 0.5749 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.4259, allocations: 95.67 kB / 0.575 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.4278, allocations: 1.095 MB / 0.5761 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.4278, allocations: 3.938 kB / 0.5761 GB, free: 31.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.879e-05/0.4279, allocations: 32.69 kB / 0.5761 GB, free: 31.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.428, allocations: 18.38 kB / 0.5761 GB, free: 31.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.4297, allocations: 1.001 MB / 0.5771 GB, free: 31.82 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.006147/0.4359, allocations: 3.853 MB / 0.5809 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006895/0.4428, allocations: 2.39 MB / 0.5832 GB, free: 29.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.4445, allocations: 0.6844 MB / 0.5839 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.4447, allocations: 11.28 kB / 0.5839 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/0.4464, allocations: 0.8312 MB / 0.5847 GB, free: 28.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.575e-06/0.4464, allocations: 7.938 kB / 0.5847 GB, free: 28.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02933/0.4757, allocations: 7.215 MB / 0.5918 GB, free: 27.13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.4759, allocations: 114.6 kB / 0.5919 GB, free: 27.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.478, allocations: 1.124 MB / 0.593 GB, free: 26.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003327/0.4784, allocations: 47.75 kB / 0.593 GB, free: 26.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.4788, allocations: 0.4916 MB / 0.5935 GB, free: 26.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/0.4792, allocations: 366.2 kB / 0.5938 GB, free: 25.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005961/0.4798, allocations: 296 kB / 0.5941 GB, free: 25.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.061e-05/0.4798, allocations: 303.5 kB / 0.5944 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.4815, allocations: 0.78 MB / 0.5952 GB, free: 25.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.4833, allocations: 0.9556 MB / 0.5961 GB, free: 24.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02514/0.5084, allocations: 5.8 MB / 0.6018 GB, free: 22.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/0.5085, allocations: 2.953 kB / 0.6018 GB, free: 22.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01571/0.5242, allocations: 4.447 MB / 0.6061 GB, free: 21.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.066e-05/0.5243, allocations: 61.84 kB / 0.6062 GB, free: 21.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.5243, allocations: 8.125 kB / 0.6062 GB, free: 21.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005906/0.5302, allocations: 1.63 MB / 0.6078 GB, free: 20.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.5319, allocations: 292.1 kB / 0.608 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/0.5522, allocations: 8.602 MB / 0.6164 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.5546, allocations: 211.5 kB / 0.6166 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003746/0.555, allocations: 60.47 kB / 0.6167 GB, free: 13.82 MB / 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 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.0009834/0.556, allocations: 305.4 kB / 0.617 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005268/0.5565, allocations: 130.5 kB / 0.6171 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/0.5684, allocations: 3.899 MB / 0.6209 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.5684, allocations: 12 kB / 0.6209 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.369e-05/0.5684, allocations: 9.781 kB / 0.621 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.858e-05/0.5685, allocations: 10.31 kB / 0.621 GB, free: 9.43 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 postOpt removeSimpleEquations (simulation): time 0.01411/0.5826, allocations: 5.511 MB / 0.6263 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.5826, allocations: 0 / 0.6263 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/0.5834, allocations: 103.8 kB / 0.6264 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004874/0.5883, allocations: 1.588 MB / 0.628 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000215/0.5885, allocations: 23.98 kB / 0.628 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01969/0.6082, allocations: 9.652 MB / 0.6374 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6083, allocations: 0 / 0.6374 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.6227, allocations: 4.775 MB / 0.6421 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006318/0.6234, allocations: 223.2 kB / 0.6423 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005278/0.624, allocations: 27.92 kB / 0.6423 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.6255, allocations: 107.9 kB / 0.6424 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006947/0.6262, allocations: 196.7 kB / 0.6426 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/0.6264, allocations: 28.94 kB / 0.6427 GB, free: 2.738 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001428/0.6279, allocations: 0.7553 MB / 0.6434 GB, free: 1.977 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6279, allocations: 0 / 0.6434 GB, free: 1.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001987/0.6299, allocations: 495.5 kB / 0.6439 GB, free: 1.492 MB / 446.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.000364/0.6302, allocations: 131.8 kB / 0.644 GB, free: 1.355 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006692/0.6369, allocations: 2.603 MB / 0.6465 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.637, allocations: 0.75 kB / 0.6465 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004116/0.6411, allocations: 1.584 MB / 0.6481 GB, free: 13.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.6426, allocations: 121.4 kB / 0.6482 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004791/0.6474, allocations: 2.354 MB / 0.6505 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008477/0.6482, allocations: 1.128 MB / 0.6516 GB, free: 9.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005971/0.6489, allocations: 124.7 kB / 0.6517 GB, free: 9.359 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.6492, allocations: 75.42 kB / 0.6518 GB, free: 9.285 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.6493, allocations: 0 / 0.6518 GB, free: 9.285 MB / 462.1 MB Notification: Performance of Templates: time 0.04156/0.6908, allocations: 24.18 MB / 0.6754 GB, free: 1.312 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)