Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.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.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004275/0.004275, allocations: 172 kB / 15.11 MB, free: 5.98 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.273/1.273, allocations: 223.2 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008052/0.0008053, allocations: 99.88 kB / 290.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4141/0.4141, allocations: 79.43 MB / 420.8 MB, free: 36.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 8 kB / 0.489 GB, free: 6.383 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1201, allocations: 69.51 MB / 0.5569 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3203/0.4405, allocations: 101.4 MB / 0.656 GB, free: 15.88 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.4408, allocations: 93.39 kB / 0.656 GB, free: 15.79 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07918/0.52, allocations: 30.29 MB / 0.6856 GB, free: 1.555 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.52, allocations: 0 / 0.6856 GB, free: 1.555 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.754e-05/0.5201, allocations: 27.94 kB / 0.6857 GB, free: 1.527 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.005485/0.5256, allocations: 2.161 MB / 0.6878 GB, free: 15.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.5256, allocations: 12.03 kB / 0.6878 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003125/0.5288, allocations: 0.568 MB / 0.6883 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.5304, allocations: 0.8499 MB / 0.6892 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/0.5307, allocations: 264.2 kB / 0.6894 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.5308, allocations: 87.95 kB / 0.6895 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.5331, allocations: 1.227 MB / 0.6907 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.5331, allocations: 1.406 kB / 0.6907 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.5332, allocations: 36 kB / 0.6907 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.5333, allocations: 24 kB / 0.6908 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.5355, allocations: 1.14 MB / 0.6919 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006184/0.5417, allocations: 3.746 MB / 0.6955 GB, free: 7.117 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.5441, allocations: 1.596 MB / 0.6971 GB, free: 5.398 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.5443, allocations: 20.97 kB / 0.6971 GB, free: 5.379 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001755/0.546, allocations: 0.9466 MB / 0.698 GB, free: 4.414 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 2.594e-06/0.546, allocations: 0 / 0.698 GB, free: 4.414 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.02776/0.5738, allocations: 8.537 MB / 0.7064 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.5739, allocations: 119.8 kB / 0.7065 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.5753, allocations: 0.8845 MB / 0.7073 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.5755, allocations: 45.7 kB / 0.7074 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/0.5759, allocations: 0.5012 MB / 0.7079 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.5762, allocations: 370.7 kB / 0.7082 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.5763, allocations: 21.69 kB / 0.7083 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5765, allocations: 353.9 kB / 0.7086 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.5779, allocations: 0.7132 MB / 0.7093 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/0.5794, allocations: 0.8381 MB / 0.7101 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.5809, allocations: 0.8039 MB / 0.7109 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.5809, allocations: 4 kB / 0.7109 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01444/0.5954, allocations: 5.098 MB / 0.7159 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.5955, allocations: 55.41 kB / 0.7159 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.5955, allocations: 8 kB / 0.7159 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007099/0.6026, allocations: 2.224 MB / 0.7181 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.6037, allocations: 187.8 kB / 0.7183 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02251/0.6262, allocations: 10.4 MB / 0.7284 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.628, allocations: 211.1 kB / 0.7286 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-05/0.6281, allocations: 43.98 kB / 0.7287 GB, free: 4.688 MB / 0.5105 GB 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.0006006/0.6287, allocations: 283.7 kB / 0.7289 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.6289, allocations: 130.3 kB / 0.7291 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/0.6429, allocations: 5.076 MB / 0.734 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.6429, allocations: 12 kB / 0.734 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6429, allocations: 0 / 0.734 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.643, allocations: 11.94 kB / 0.7341 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/0.6583, allocations: 6.831 MB / 0.7407 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.6584, allocations: 3.984 kB / 0.7407 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006766/0.6591, allocations: 111.8 kB / 0.7408 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006099/0.6652, allocations: 2.146 MB / 0.7429 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.6653, allocations: 24 kB / 0.743 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02063/0.6859, allocations: 10.77 MB / 0.7535 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.686, allocations: 3.938 kB / 0.7535 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/0.7015, allocations: 6.091 MB / 0.7594 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000399/0.7019, allocations: 227.2 kB / 0.7596 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.702, allocations: 20 kB / 0.7597 GB, free: 4.434 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.7032, allocations: 152 kB / 0.7598 GB, free: 4.285 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005483/0.7038, allocations: 220.5 kB / 0.76 GB, free: 4.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.307e-05/0.7039, allocations: 32 kB / 0.76 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001016/0.7049, allocations: 0.6915 MB / 0.7607 GB, free: 3.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7049, allocations: 0 / 0.7607 GB, free: 3.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001233/0.7062, allocations: 467.5 kB / 0.7612 GB, free: 2.883 MB / 0.5417 GB 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.0002659/0.7064, allocations: 151.4 kB / 0.7613 GB, free: 2.727 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006445/0.7129, allocations: 2.744 MB / 0.764 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7129, allocations: 0 / 0.764 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004715/0.7176, allocations: 1.978 MB / 0.7659 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.7182, allocations: 96.44 kB / 0.766 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.722, allocations: 2.799 MB / 0.7687 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/0.7227, allocations: 1.155 MB / 0.7699 GB, free: 9.832 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003495/0.723, allocations: 82.69 kB / 0.7699 GB, free: 9.746 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.7233, allocations: 63.42 kB / 0.77 GB, free: 9.684 MB / 0.5573 GB Notification: Performance of SimCode: time 3.01e-07/0.7233, allocations: 0 / 0.77 GB, free: 9.684 MB / 0.5573 GB Notification: Performance of Templates: time 0.03147/0.7547, allocations: 22.56 MB / 0.792 GB, free: 3.188 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)