Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.005937/0.005937, allocations: 170.2 kB / 15.11 MB, free: 6.039 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.161/1.161, allocations: 223.2 MB / 239.1 MB, free: 1.773 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.0008378/0.0008378, allocations: 101.3 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3933/0.3933, allocations: 78.52 MB / 419.8 MB, free: 44.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003322, allocations: 8 kB / 499.7 MB, free: 2.719 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2987, allocations: 69.36 MB / 0.5557 GB, free: 38.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.4047, allocations: 98.59 MB / 0.652 GB, free: 7.797 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.4049, allocations: 79.95 kB / 0.6521 GB, free: 7.719 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07657/0.4815, allocations: 31.35 MB / 0.6827 GB, free: 8.219 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.047e-06/0.4816, allocations: 0 / 0.6827 GB, free: 8.219 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.352e-05/0.4816, allocations: 27.94 kB / 0.6827 GB, free: 8.191 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004514/0.4861, allocations: 1.99 MB / 0.6847 GB, free: 6.133 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.4862, allocations: 12.03 kB / 0.6847 GB, free: 6.121 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003095/0.4893, allocations: 0.568 MB / 0.6852 GB, free: 5.551 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.4906, allocations: 0.7937 MB / 0.686 GB, free: 4.703 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.4909, allocations: 256.2 kB / 0.6862 GB, free: 4.418 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.491, allocations: 79.98 kB / 0.6863 GB, free: 4.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.493, allocations: 1.129 MB / 0.6874 GB, free: 3.195 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.493, allocations: 4 kB / 0.6874 GB, free: 3.191 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-05/0.4931, allocations: 28 kB / 0.6874 GB, free: 3.164 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.4931, allocations: 20 kB / 0.6875 GB, free: 3.145 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.495, allocations: 1.05 MB / 0.6885 GB, free: 2.094 MB / 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.005882/0.5009, allocations: 3.801 MB / 0.6922 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00751/0.5084, allocations: 2.89 MB / 0.695 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.95e-05/0.5085, allocations: 16.97 kB / 0.695 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/0.51, allocations: 0.8723 MB / 0.6959 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=95): time 2.775e-06/0.51, allocations: 0 / 0.6959 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95): time 0.028/0.538, allocations: 8.542 MB / 0.7042 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.5381, allocations: 119.8 kB / 0.7043 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.5397, allocations: 0.9213 MB / 0.7052 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.5399, allocations: 45.73 kB / 0.7053 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.5403, allocations: 0.5053 MB / 0.7058 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003704/0.5407, allocations: 343 kB / 0.7061 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.5408, allocations: 20 kB / 0.7061 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5409, allocations: 345.9 kB / 0.7065 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.5422, allocations: 0.6384 MB / 0.7071 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.5435, allocations: 0.7713 MB / 0.7078 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.5449, allocations: 0.7462 MB / 0.7086 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.5449, allocations: 0 / 0.7086 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01295/0.5579, allocations: 4.68 MB / 0.7131 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.558, allocations: 64.5 kB / 0.7132 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.558, allocations: 0 / 0.7132 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006205/0.5642, allocations: 1.908 MB / 0.7151 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009539/0.5652, allocations: 175.8 kB / 0.7152 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02005/0.5852, allocations: 9.481 MB / 0.7245 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.5869, allocations: 199 kB / 0.7247 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.5871, allocations: 43.92 kB / 0.7247 GB, free: 12.35 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.e1q:VARIABLE(start = order3.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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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.0006707/0.5877, allocations: 288.3 kB / 0.725 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/0.5881, allocations: 122.7 kB / 0.7251 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/0.6009, allocations: 4.728 MB / 0.7297 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.601, allocations: 8 kB / 0.7297 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.601, allocations: 8 kB / 0.7297 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.601, allocations: 7.984 kB / 0.7298 GB, free: 7.148 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.0153/0.6163, allocations: 6.277 MB / 0.7359 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.6164, allocations: 0 / 0.7359 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00077/0.6172, allocations: 99.83 kB / 0.736 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006778/0.624, allocations: 1.891 MB / 0.7378 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/0.6241, allocations: 20 kB / 0.7378 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01973/0.6439, allocations: 10.12 MB / 0.7477 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6439, allocations: 0 / 0.7477 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/0.6585, allocations: 5.65 MB / 0.7532 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004561/0.659, allocations: 227.2 kB / 0.7535 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/0.6593, allocations: 23.95 kB / 0.7535 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.6606, allocations: 143.9 kB / 0.7536 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005591/0.6612, allocations: 196.6 kB / 0.7538 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.705e-05/0.6613, allocations: 31.98 kB / 0.7538 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00118/0.6625, allocations: 0.7237 MB / 0.7545 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/0.6625, allocations: 0 / 0.7545 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001419/0.6639, allocations: 439.5 kB / 0.755 GB, free: 12.87 MB / 0.5573 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 () * Number of clocked 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.0002834/0.6642, allocations: 155.1 kB / 0.7551 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005584/0.6698, allocations: 2.464 MB / 0.7575 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6698, allocations: 0 / 0.7575 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004123/0.674, allocations: 1.81 MB / 0.7593 GB, free: 8.355 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007295/0.6747, allocations: 101.1 kB / 0.7594 GB, free: 8.258 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/0.6784, allocations: 2.598 MB / 0.7619 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/0.679, allocations: 1.147 MB / 0.763 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003867/0.6794, allocations: 90.77 kB / 0.7631 GB, free: 4.367 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.6797, allocations: 63.42 kB / 0.7632 GB, free: 4.305 MB / 0.5573 GB Notification: Performance of SimCode: time 6.22e-07/0.6797, allocations: 0 / 0.7632 GB, free: 4.305 MB / 0.5573 GB Notification: Performance of Templates: time 0.2086/0.8883, allocations: 20.57 MB / 0.7833 GB, free: 146.4 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)