Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001154, allocations: 172.3 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.4 MB / 222.3 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007529/0.0007528, allocations: 90.36 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2973/0.2973, allocations: 42.28 MB / 361.2 MB, free: 49.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000429/0.0004291, allocations: 15.94 kB / 429.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1192, allocations: 57.56 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3695/0.4888, allocations: 95.86 MB / 0.5692 GB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.4892, allocations: 98.41 kB / 0.5693 GB, free: 11.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08234/0.5715, allocations: 29.05 MB / 0.5976 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5716, allocations: 0 / 0.5976 GB, free: 14.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.663e-05/0.5716, allocations: 23.94 kB / 0.5977 GB, free: 14.6 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.005743/0.5774, allocations: 2.153 MB / 0.5998 GB, free: 12.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.5774, allocations: 12.03 kB / 0.5998 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003547/0.581, allocations: 0.5719 MB / 0.6003 GB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.5832, allocations: 0.9045 MB / 0.6012 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002905/0.5835, allocations: 260.2 kB / 0.6015 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/0.5837, allocations: 83.98 kB / 0.6016 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/0.5863, allocations: 1.231 MB / 0.6028 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.5863, allocations: 0 / 0.6028 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.5864, allocations: 32 kB / 0.6028 GB, free: 9.199 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.5865, allocations: 24 kB / 0.6028 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.5888, allocations: 1.144 MB / 0.6039 GB, free: 8.027 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006984/0.5958, allocations: 3.739 MB / 0.6076 GB, free: 4.156 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/0.5984, allocations: 1.606 MB / 0.6091 GB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.6001, allocations: 0.8478 MB / 0.61 GB, free: 1.574 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.6002, allocations: 20.98 kB / 0.61 GB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001919/0.6021, allocations: 0.9544 MB / 0.6109 GB, free: 0.582 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 2.985e-06/0.6022, allocations: 0 / 0.6109 GB, free: 0.582 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.02864/0.6308, allocations: 8.574 MB / 0.6193 GB, free: 7.941 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.646e-05/0.6309, allocations: 115.8 kB / 0.6194 GB, free: 7.805 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.6326, allocations: 0.9996 MB / 0.6204 GB, free: 6.789 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003333/0.633, allocations: 45.7 kB / 0.6204 GB, free: 6.738 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.6334, allocations: 0.5128 MB / 0.6209 GB, free: 6.219 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004897/0.6339, allocations: 362.7 kB / 0.6213 GB, free: 5.859 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.6341, allocations: 24 kB / 0.6213 GB, free: 5.836 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6343, allocations: 349.9 kB / 0.6216 GB, free: 5.488 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.6358, allocations: 0.7132 MB / 0.6223 GB, free: 4.773 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.6375, allocations: 0.8343 MB / 0.6231 GB, free: 3.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01598/0.6535, allocations: 4.994 MB / 0.628 GB, free: 14.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.6535, allocations: 0 / 0.628 GB, free: 14.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01464/0.6682, allocations: 5.086 MB / 0.633 GB, free: 9.723 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.74e-05/0.6683, allocations: 63.41 kB / 0.633 GB, free: 9.648 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.6683, allocations: 0 / 0.633 GB, free: 9.648 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0071/0.6754, allocations: 2.248 MB / 0.6352 GB, free: 7.398 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.6766, allocations: 183.7 kB / 0.6354 GB, free: 7.219 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0217/0.6983, allocations: 9.916 MB / 0.6451 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.7, allocations: 219 kB / 0.6453 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.7001, allocations: 32 kB / 0.6453 GB, free: 12.92 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRI.firstOrder2.y:VARIABLE(start = aVRI.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (97): * Single equations (assignments): 94 * 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 {25 14} Notification: Performance of prepare postOptimizeDAE: time 0.000606/0.7007, allocations: 285.4 kB / 0.6456 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.701, allocations: 122.5 kB / 0.6457 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/0.7147, allocations: 5.096 MB / 0.6507 GB, free: 7.375 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.7148, allocations: 12 kB / 0.6507 GB, free: 7.363 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7148, allocations: 0 / 0.6507 GB, free: 7.363 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.593e-05/0.7148, allocations: 3.984 kB / 0.6507 GB, free: 7.359 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.7312, allocations: 6.831 MB / 0.6574 GB, free: 404 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.7313, allocations: 4 kB / 0.6574 GB, free: 400 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008254/0.7321, allocations: 103.9 kB / 0.6575 GB, free: 292 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006339/0.7385, allocations: 2.145 MB / 0.6596 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002331/0.7387, allocations: 27.98 kB / 0.6596 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02036/0.7591, allocations: 10.3 MB / 0.6697 GB, free: 3.527 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7591, allocations: 0 / 0.6697 GB, free: 3.527 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2563/1.015, allocations: 6.084 MB / 0.6756 GB, free: 123.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006482/1.016, allocations: 223.3 kB / 0.6758 GB, free: 123.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/1.016, allocations: 19.5 kB / 0.6758 GB, free: 123.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/1.018, allocations: 158.4 kB / 0.676 GB, free: 123.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008377/1.019, allocations: 209.7 kB / 0.6762 GB, free: 123.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.609e-05/1.019, allocations: 31.39 kB / 0.6762 GB, free: 123.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001351/1.02, allocations: 0.6913 MB / 0.6769 GB, free: 123.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.02, allocations: 0 / 0.6769 GB, free: 123.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001815/1.022, allocations: 473.8 kB / 0.6774 GB, free: 123.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.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 (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: 0 * Non-linear torn systems: 2 {26 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003373/1.022, allocations: 155 kB / 0.6775 GB, free: 123.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007072/1.03, allocations: 2.735 MB / 0.6802 GB, free: 122.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.03, allocations: 2.938 kB / 0.6802 GB, free: 122.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005142/1.035, allocations: 1.975 MB / 0.6821 GB, free: 122.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/1.036, allocations: 117 kB / 0.6822 GB, free: 122.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/1.041, allocations: 2.774 MB / 0.6849 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/1.042, allocations: 1.127 MB / 0.686 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004916/1.042, allocations: 85.95 kB / 0.6861 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/1.043, allocations: 65.52 kB / 0.6862 GB, free: 120.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.133e-06/1.043, allocations: 0 / 0.6862 GB, free: 120.6 MB / 490.7 MB Notification: Performance of Templates: time 0.03837/1.081, allocations: 22.58 MB / 0.7082 GB, free: 119.5 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)