Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.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/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004956/0.004957, allocations: 172.1 kB / 15.12 MB, free: 5.973 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.333/1.333, allocations: 205.4 MB / 221.2 MB, free: 13.82 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.0008455/0.0008454, allocations: 86.86 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06389/0.06389, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4104/0.4104, allocations: 78.52 MB / 459.6 MB, free: 3.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.000471, allocations: 17.5 kB / 0.528 GB, free: 35.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1181, allocations: 69.24 MB / 0.5956 GB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3826/0.5007, allocations: 102.4 MB / 0.6956 GB, free: 98.86 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.501, allocations: 91.95 kB / 0.6957 GB, free: 98.86 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07246/0.5734, allocations: 29.2 MB / 0.7243 GB, free: 86.82 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5735, allocations: 0 / 0.7243 GB, free: 86.82 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001223/0.5736, allocations: 27.94 kB / 0.7243 GB, free: 86.8 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.006237/0.5799, allocations: 2.162 MB / 0.7264 GB, free: 84.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5799, allocations: 15.98 kB / 0.7264 GB, free: 84.55 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004304/0.5804, allocations: 134.9 kB / 0.7265 GB, free: 84.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/0.5837, allocations: 0.568 MB / 0.7271 GB, free: 83.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.586, allocations: 0.8615 MB / 0.7279 GB, free: 82.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002388/0.5863, allocations: 264.2 kB / 0.7282 GB, free: 82.63 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.5865, allocations: 83.91 kB / 0.7283 GB, free: 82.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/0.5889, allocations: 1.227 MB / 0.7295 GB, free: 81.31 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.5889, allocations: 0 / 0.7295 GB, free: 81.31 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.589, allocations: 36 kB / 0.7295 GB, free: 81.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.5891, allocations: 20 kB / 0.7295 GB, free: 81.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.5912, allocations: 1.14 MB / 0.7306 GB, free: 80.11 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006679/0.5979, allocations: 3.746 MB / 0.7343 GB, free: 76.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.6001, allocations: 1.603 MB / 0.7359 GB, free: 74.51 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.6002, allocations: 17 kB / 0.7359 GB, free: 74.49 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001576/0.6018, allocations: 0.9504 MB / 0.7368 GB, free: 73.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=102): time 3.727e-06/0.6018, allocations: 4 kB / 0.7368 GB, free: 73.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=102): time 0.02658/0.6284, allocations: 8.533 MB / 0.7451 GB, free: 64.92 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.6285, allocations: 115.8 kB / 0.7452 GB, free: 64.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.6301, allocations: 0.8807 MB / 0.7461 GB, free: 63.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002421/0.6304, allocations: 41.7 kB / 0.7461 GB, free: 63.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.6307, allocations: 0.5206 MB / 0.7467 GB, free: 63.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000443/0.6311, allocations: 362.7 kB / 0.747 GB, free: 62.96 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.6312, allocations: 23.94 kB / 0.747 GB, free: 62.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.6313, allocations: 349.9 kB / 0.7474 GB, free: 62.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.6327, allocations: 0.7171 MB / 0.7481 GB, free: 61.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.6341, allocations: 0.8342 MB / 0.7489 GB, free: 61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.6355, allocations: 0.8078 MB / 0.7497 GB, free: 60.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6355, allocations: 4 kB / 0.7497 GB, free: 60.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01342/0.6489, allocations: 5.094 MB / 0.7546 GB, free: 55.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/0.649, allocations: 63.41 kB / 0.7547 GB, free: 54.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.6491, allocations: 4 kB / 0.7547 GB, free: 54.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00693/0.656, allocations: 2.209 MB / 0.7569 GB, free: 52.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.6571, allocations: 187.8 kB / 0.757 GB, free: 52.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02085/0.678, allocations: 10.42 MB / 0.7672 GB, free: 42.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.6799, allocations: 211 kB / 0.7674 GB, free: 41.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/0.6802, allocations: 35.98 kB / 0.7674 GB, free: 41.8 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.0008358/0.681, allocations: 284.1 kB / 0.7677 GB, free: 41.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003886/0.6814, allocations: 122.5 kB / 0.7678 GB, free: 41.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/0.6944, allocations: 5.091 MB / 0.7728 GB, free: 36.26 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.6944, allocations: 12 kB / 0.7728 GB, free: 36.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6944, allocations: 4 kB / 0.7728 GB, free: 36.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/0.6945, allocations: 7.969 kB / 0.7728 GB, free: 36.24 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/0.7099, allocations: 6.82 MB / 0.7795 GB, free: 29.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.7099, allocations: 0 / 0.7795 GB, free: 29.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007563/0.7107, allocations: 111.8 kB / 0.7796 GB, free: 29.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005891/0.7166, allocations: 2.152 MB / 0.7817 GB, free: 27.01 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000204/0.7168, allocations: 20 kB / 0.7817 GB, free: 26.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/0.7361, allocations: 10.77 MB / 0.7922 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.7361, allocations: 4 kB / 0.7922 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01469/0.7508, allocations: 6.091 MB / 0.7982 GB, free: 9.805 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.7514, allocations: 227.3 kB / 0.7984 GB, free: 9.562 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/0.7517, allocations: 16 kB / 0.7984 GB, free: 9.547 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.7531, allocations: 159.9 kB / 0.7986 GB, free: 9.391 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006167/0.7537, allocations: 212.7 kB / 0.7988 GB, free: 9.184 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-05/0.7538, allocations: 27.98 kB / 0.7988 GB, free: 9.156 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001183/0.755, allocations: 0.6993 MB / 0.7995 GB, free: 8.449 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.755, allocations: 0 / 0.7995 GB, free: 8.449 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00161/0.7566, allocations: 475.4 kB / 0.7999 GB, free: 7.984 MB / 474.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.0152/0.7718, allocations: 6.758 MB / 0.8065 GB, free: 1.172 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007173/0.779, allocations: 2.734 MB / 0.8092 GB, free: 14.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.7791, allocations: 0 / 0.8092 GB, free: 14.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005134/0.7842, allocations: 1.974 MB / 0.8111 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.7855, allocations: 103.4 kB / 0.8112 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006926/0.7924, allocations: 4.743 MB / 0.8159 GB, free: 7.445 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008256/0.7933, allocations: 1.155 MB / 0.817 GB, free: 6.262 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004925/0.7938, allocations: 90.69 kB / 0.8171 GB, free: 6.168 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006695/0.7945, allocations: 463.3 kB / 0.8175 GB, free: 5.715 MB / 490.7 MB Notification: Performance of SimCode: time 7.82e-07/0.7945, allocations: 3.938 kB / 0.8175 GB, free: 5.711 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0623/0.8568, allocations: 32.41 MB / 0.8492 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.8571, allocations: 204.8 kB / 0.8494 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.827/3.684, allocations: 7.938 kB / 0.8494 GB, free: 5.219 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)