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/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.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 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.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/Complex 4.0.0+maint.om/package.mo): time 0.004562/0.004562, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.174/1.174, allocations: 223.2 MB / 239.1 MB, free: 1.766 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008355/0.0008356, allocations: 102.5 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4107/0.4107, allocations: 78.52 MB / 419.8 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 12 kB / 499.7 MB, free: 2.746 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3001, allocations: 69.36 MB / 0.5557 GB, free: 38.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1065/0.4066, allocations: 99.26 MB / 0.6527 GB, free: 7.109 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.4069, allocations: 84.58 kB / 0.6527 GB, free: 7.027 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08055/0.4875, allocations: 32.22 MB / 0.6842 GB, free: 6.641 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4875, allocations: 0 / 0.6842 GB, free: 6.641 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.786e-05/0.4876, allocations: 27.88 kB / 0.6842 GB, free: 6.613 MB / 490.7 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.005293/0.4929, allocations: 2.056 MB / 0.6862 GB, free: 4.492 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.4929, allocations: 12.03 kB / 0.6862 GB, free: 4.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/0.4962, allocations: 0.568 MB / 0.6868 GB, free: 3.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.4978, allocations: 0.8135 MB / 0.6876 GB, free: 3.043 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.4981, allocations: 272.1 kB / 0.6879 GB, free: 2.738 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.4983, allocations: 83.91 kB / 0.6879 GB, free: 2.656 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.5003, allocations: 1.153 MB / 0.6891 GB, free: 1.492 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.5004, allocations: 0 / 0.6891 GB, free: 1.492 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-05/0.5005, allocations: 28 kB / 0.6891 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.5005, allocations: 20 kB / 0.6891 GB, free: 1.445 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.5024, allocations: 1.058 MB / 0.6901 GB, free: 392 kB / 490.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.006096/0.5085, allocations: 3.854 MB / 0.6939 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007432/0.516, allocations: 2.909 MB / 0.6967 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.65e-05/0.5161, allocations: 24.97 kB / 0.6968 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/0.5176, allocations: 0.8841 MB / 0.6976 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=97): time 3.046e-06/0.5176, allocations: 4 kB / 0.6976 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of matching and sorting (n=97): time 0.0271/0.5447, allocations: 8.428 MB / 0.7059 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.5448, allocations: 123.8 kB / 0.706 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.5465, allocations: 0.9532 MB / 0.7069 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.5466, allocations: 45.69 kB / 0.707 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.547, allocations: 0.5053 MB / 0.7075 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003288/0.5473, allocations: 350.9 kB / 0.7078 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.5474, allocations: 20 kB / 0.7078 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5475, allocations: 345.9 kB / 0.7081 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.5488, allocations: 0.6543 MB / 0.7088 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.5501, allocations: 0.7887 MB / 0.7095 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.5515, allocations: 0.755 MB / 0.7103 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5515, allocations: 4 kB / 0.7103 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01281/0.5643, allocations: 4.708 MB / 0.7149 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-05/0.5644, allocations: 59.39 kB / 0.7149 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.5644, allocations: 4 kB / 0.7149 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006001/0.5704, allocations: 1.916 MB / 0.7168 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.5716, allocations: 203.8 kB / 0.717 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01953/0.5911, allocations: 9.407 MB / 0.7262 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.5928, allocations: 203 kB / 0.7264 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.593, allocations: 39.98 kB / 0.7264 GB, free: 10.58 MB / 0.5261 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(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 (98): * Single equations (assignments): 95 * 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.0007108/0.5938, allocations: 301.3 kB / 0.7267 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/0.5941, allocations: 126.4 kB / 0.7268 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.607, allocations: 4.756 MB / 0.7315 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.6071, allocations: 12 kB / 0.7315 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/0.6071, allocations: 8 kB / 0.7315 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.883e-05/0.6071, allocations: 7.938 kB / 0.7315 GB, free: 5.336 MB / 0.5261 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.01491/0.622, allocations: 6.334 MB / 0.7377 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.6221, allocations: 0 / 0.7377 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006187/0.6227, allocations: 103.8 kB / 0.7378 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00532/0.628, allocations: 1.876 MB / 0.7396 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.6282, allocations: 27.98 kB / 0.7397 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01894/0.6471, allocations: 10.12 MB / 0.7495 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.6472, allocations: 7.938 kB / 0.7495 GB, free: 2.473 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/0.6618, allocations: 5.693 MB / 0.7551 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000464/0.6623, allocations: 227.3 kB / 0.7553 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/0.6626, allocations: 20.25 kB / 0.7553 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.6639, allocations: 147.9 kB / 0.7555 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005414/0.6645, allocations: 204.6 kB / 0.7557 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.642e-05/0.6646, allocations: 20 kB / 0.7557 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001238/0.6658, allocations: 0.7553 MB / 0.7564 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6659, allocations: 0 / 0.7564 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0014/0.6673, allocations: 451.4 kB / 0.7569 GB, free: 10.91 MB / 0.5573 GB 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002965/0.6676, allocations: 152.4 kB / 0.757 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005763/0.6733, allocations: 2.52 MB / 0.7595 GB, free: 8.199 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6734, allocations: 0 / 0.7595 GB, free: 8.199 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004061/0.6774, allocations: 1.813 MB / 0.7612 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006705/0.6781, allocations: 113.2 kB / 0.7613 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.6821, allocations: 2.782 MB / 0.7641 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006455/0.6828, allocations: 1.151 MB / 0.7652 GB, free: 2.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004023/0.6832, allocations: 98.89 kB / 0.7653 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.6835, allocations: 67.42 kB / 0.7653 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of SimCode: time 5.82e-07/0.6835, allocations: 0 / 0.7653 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of Templates: time 0.2465/0.93, allocations: 20.94 MB / 0.7858 GB, free: 145.3 MB / 0.5573 GB 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)