Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008868/0.0008868, allocations: 169 kB / 7.642 MB, free: 1.41 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.24/1.24, allocations: 221.5 MB / 229.6 MB, free: 7.496 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.000783/0.0007829, allocations: 87.61 kB / 280.5 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4401/0.4401, allocations: 78.06 MB / 409.3 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.627e-05/1.629e-05, allocations: 4 kB / 484.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1268, allocations: 69.37 MB / 0.5413 GB, free: 6.793 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4076/0.5344, allocations: 98.14 MB / 0.6371 GB, free: 1.402 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.5347, allocations: 76.77 kB / 0.6372 GB, free: 1.328 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09704/0.6318, allocations: 36.02 MB / 0.6724 GB, free: 13.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.6318, allocations: 0 / 0.6724 GB, free: 13.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.835e-05/0.6319, allocations: 27.94 kB / 0.6724 GB, free: 13.27 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004221/0.6361, allocations: 1.706 MB / 0.6741 GB, free: 11.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.6362, allocations: 8.031 kB / 0.6741 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.6394, allocations: 0.5641 MB / 0.6746 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.6409, allocations: 0.7762 MB / 0.6754 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/0.6411, allocations: 246.3 kB / 0.6756 GB, free: 9.824 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.6413, allocations: 51.91 kB / 0.6757 GB, free: 9.773 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001392/0.6427, allocations: 0.7967 MB / 0.6764 GB, free: 8.977 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.6441, allocations: 0.8257 MB / 0.6772 GB, free: 8.141 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.6441, allocations: 4 kB / 0.6772 GB, free: 8.137 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.059e-05/0.6442, allocations: 0 / 0.6772 GB, free: 8.137 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.6442, allocations: 16 kB / 0.6773 GB, free: 8.121 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.006117/0.6504, allocations: 3.66 MB / 0.6808 GB, free: 4.293 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006947/0.6573, allocations: 2.614 MB / 0.6834 GB, free: 1.582 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007596/0.6581, allocations: 0.5201 MB / 0.6839 GB, free: 1.059 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.6582, allocations: 20.77 kB / 0.6839 GB, free: 1.039 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009452/0.6592, allocations: 0.6422 MB / 0.6845 GB, free: 388 kB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.545e-06/0.6592, allocations: 0 / 0.6845 GB, free: 388 kB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01175/0.6709, allocations: 3.934 MB / 0.6884 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.671, allocations: 113.2 kB / 0.6885 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.6723, allocations: 0.8028 MB / 0.6893 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001997/0.6725, allocations: 25.7 kB / 0.6893 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.6729, allocations: 0.5166 MB / 0.6898 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/0.6733, allocations: 335.1 kB / 0.6901 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.6733, allocations: 0 / 0.6901 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6735, allocations: 349.9 kB / 0.6905 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006904/0.6742, allocations: 438.6 kB / 0.6909 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000764/0.6749, allocations: 0.5536 MB / 0.6914 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/0.6757, allocations: 494.2 kB / 0.6919 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6757, allocations: 0 / 0.6919 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0118/0.6875, allocations: 3.955 MB / 0.6957 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.6877, allocations: 63.39 kB / 0.6958 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.6877, allocations: 4 kB / 0.6958 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005506/0.6932, allocations: 1.506 MB / 0.6973 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.6945, allocations: 179.8 kB / 0.6975 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.7079, allocations: 6.553 MB / 0.7039 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.7097, allocations: 195.7 kB / 0.704 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.7099, allocations: 39.92 kB / 0.7041 GB, free: 12.1 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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 (96): * Single equations (assignments): 93 * 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.0003753/0.7103, allocations: 163.7 kB / 0.7042 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.7105, allocations: 122.5 kB / 0.7044 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.7221, allocations: 4.032 MB / 0.7083 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/0.7222, allocations: 15.89 kB / 0.7083 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.7223, allocations: 11.98 kB / 0.7083 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-05/0.7223, allocations: 4.734 kB / 0.7083 GB, free: 7.723 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.01466/0.737, allocations: 5.49 MB / 0.7137 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.737, allocations: 4.031 kB / 0.7137 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006485/0.7377, allocations: 95.91 kB / 0.7138 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00463/0.7423, allocations: 1.473 MB / 0.7152 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.7425, allocations: 11.94 kB / 0.7152 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01293/0.7554, allocations: 7.543 MB / 0.7226 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.7555, allocations: 4 kB / 0.7226 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/0.7682, allocations: 4.767 MB / 0.7273 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005005/0.7688, allocations: 227.2 kB / 0.7275 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.769, allocations: 8 kB / 0.7275 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.7701, allocations: 127.1 kB / 0.7276 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005357/0.7706, allocations: 209 kB / 0.7278 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.192e-05/0.7707, allocations: 20 kB / 0.7278 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008248/0.7716, allocations: 0.6175 MB / 0.7284 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.41e-07/0.7716, allocations: 0 / 0.7284 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001237/0.7728, allocations: 387.4 kB / 0.7288 GB, free: 2.371 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002789/0.7731, allocations: 146.8 kB / 0.7289 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004485/0.7776, allocations: 1.989 MB / 0.7309 GB, free: 196 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7776, allocations: 0.75 kB / 0.7309 GB, free: 196 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003664/0.7813, allocations: 1.528 MB / 0.7324 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.782, allocations: 84.42 kB / 0.7324 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.7848, allocations: 1.699 MB / 0.7341 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/0.7855, allocations: 1.147 MB / 0.7352 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003844/0.7859, allocations: 99.61 kB / 0.7353 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.7861, allocations: 67.42 kB / 0.7354 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/0.7861, allocations: 0 / 0.7354 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of Templates: time 0.02933/0.8154, allocations: 18.86 MB / 0.7538 GB, free: 8.82 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)