Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009263/0.0009266, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0008957/0.0008956, allocations: 89.81 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4498/0.4498, allocations: 78.13 MB / 409.4 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.675e-05/1.678e-05, allocations: 3.938 kB / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1442, allocations: 69.36 MB / 0.5413 GB, free: 6.957 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3451/0.4893, allocations: 97.85 MB / 0.6369 GB, free: 1.914 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.4896, allocations: 77.64 kB / 0.6369 GB, free: 1.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08421/0.5738, allocations: 30.9 MB / 0.6671 GB, free: 2.965 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5739, allocations: 0 / 0.6671 GB, free: 2.965 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.013e-05/0.5739, allocations: 24 kB / 0.6671 GB, free: 2.941 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004315/0.5783, allocations: 1.698 MB / 0.6688 GB, free: 1.188 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5783, allocations: 11.97 kB / 0.6688 GB, free: 1.176 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.5817, allocations: 0.5608 MB / 0.6694 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.5831, allocations: 0.7588 MB / 0.6701 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002718/0.5833, allocations: 228.2 kB / 0.6703 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.5835, allocations: 51.92 kB / 0.6704 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001448/0.585, allocations: 0.7967 MB / 0.6712 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.5865, allocations: 0.8251 MB / 0.672 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.5865, allocations: 3.906 kB / 0.672 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.391e-05/0.5866, allocations: 4 kB / 0.672 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.5866, allocations: 16 kB / 0.672 GB, free: 13.83 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006344/0.593, allocations: 3.669 MB / 0.6756 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007478/0.6004, allocations: 2.609 MB / 0.6781 GB, free: 7.297 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008775/0.6013, allocations: 0.5188 MB / 0.6786 GB, free: 6.777 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.6015, allocations: 20.75 kB / 0.6786 GB, free: 6.758 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/0.6027, allocations: 0.6371 MB / 0.6793 GB, free: 6.102 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 3.146e-06/0.6027, allocations: 0 / 0.6793 GB, free: 6.102 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01232/0.615, allocations: 3.93 MB / 0.6831 GB, free: 2.156 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.6151, allocations: 116 kB / 0.6832 GB, free: 2.016 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.6165, allocations: 0.8187 MB / 0.684 GB, free: 1.184 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.6167, allocations: 25.7 kB / 0.684 GB, free: 1.152 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.6171, allocations: 0.5127 MB / 0.6845 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/0.6175, allocations: 327.1 kB / 0.6848 GB, free: 316 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.6176, allocations: 0 / 0.6848 GB, free: 316 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.6177, allocations: 345.9 kB / 0.6852 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007655/0.6185, allocations: 438.6 kB / 0.6856 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008003/0.6193, allocations: 0.5497 MB / 0.6861 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008029/0.6201, allocations: 496.8 kB / 0.6866 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.6201, allocations: 4 kB / 0.6866 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01227/0.6324, allocations: 3.958 MB / 0.6905 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.154e-05/0.6325, allocations: 64.61 kB / 0.6905 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.6325, allocations: 4 kB / 0.6905 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005533/0.638, allocations: 1.502 MB / 0.692 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.6391, allocations: 183.8 kB / 0.6922 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/0.6521, allocations: 6.593 MB / 0.6986 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.6537, allocations: 187 kB / 0.6988 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-05/0.6538, allocations: 39.92 kB / 0.6988 GB, free: 1.781 MB / 0.4948 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003246/0.6542, allocations: 161.4 kB / 0.699 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.6544, allocations: 126.5 kB / 0.6991 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/0.6662, allocations: 4.03 MB / 0.703 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.6662, allocations: 12 kB / 0.7031 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.6663, allocations: 8.844 kB / 0.7031 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/0.6663, allocations: 3.984 kB / 0.7031 GB, free: 13.41 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01318/0.6795, allocations: 5.501 MB / 0.7084 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6795, allocations: 0 / 0.7084 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/0.6801, allocations: 99.89 kB / 0.7085 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004642/0.6847, allocations: 1.485 MB / 0.71 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.728e-05/0.6848, allocations: 11.98 kB / 0.71 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01289/0.6977, allocations: 7.536 MB / 0.7174 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.6978, allocations: 0 / 0.7174 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/0.7107, allocations: 4.766 MB / 0.722 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/0.7111, allocations: 223.3 kB / 0.7222 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.7113, allocations: 4 kB / 0.7222 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.7124, allocations: 127.9 kB / 0.7224 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004971/0.713, allocations: 201 kB / 0.7225 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/0.713, allocations: 28 kB / 0.7226 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008025/0.7138, allocations: 0.6216 MB / 0.7232 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7139, allocations: 0 / 0.7232 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001185/0.715, allocations: 387.5 kB / 0.7235 GB, free: 8.055 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002746/0.7153, allocations: 151.8 kB / 0.7237 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004673/0.72, allocations: 1.993 MB / 0.7256 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.72, allocations: 0 / 0.7256 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003772/0.7238, allocations: 1.544 MB / 0.7271 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/0.7245, allocations: 90.09 kB / 0.7272 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.7273, allocations: 1.622 MB / 0.7288 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006307/0.728, allocations: 1.147 MB / 0.7299 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003892/0.7284, allocations: 94.69 kB / 0.73 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.7286, allocations: 59.42 kB / 0.7301 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/0.7286, allocations: 1.781 kB / 0.7301 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of Templates: time 0.02804/0.7566, allocations: 18.91 MB / 0.7486 GB, free: 14.5 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)