Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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-master/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-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.Tests.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001758/0.001759, allocations: 175.1 kB / 12.73 MB, free: 2.59 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.379/1.379, allocations: 205.2 MB / 218.5 MB, free: 9.207 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.0008558/0.0008559, allocations: 91.12 kB / 266.6 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0655/0.0655, allocations: 12.59 MB / 327.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2838/0.2838, allocations: 78.01 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.783e-05, allocations: 4 kB / 0.5218 GB, free: 23.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.09932, allocations: 69.34 MB / 0.5895 GB, free: 2.477 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3555/0.4549, allocations: 101 MB / 0.6881 GB, free: 14.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.4552, allocations: 84.89 kB / 0.6882 GB, free: 14.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07766/0.5328, allocations: 28.67 MB / 0.7162 GB, free: 6.266 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5329, allocations: 0 / 0.7162 GB, free: 6.266 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.802e-05/0.533, allocations: 31.94 kB / 0.7162 GB, free: 6.234 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004868/0.5378, allocations: 1.886 MB / 0.7181 GB, free: 4.434 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.5379, allocations: 15.98 kB / 0.7181 GB, free: 4.418 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/0.5411, allocations: 0.5819 MB / 0.7186 GB, free: 3.875 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.5426, allocations: 0.8743 MB / 0.7195 GB, free: 3.133 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.5428, allocations: 245.1 kB / 0.7197 GB, free: 2.895 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.543, allocations: 97.5 kB / 0.7198 GB, free: 2.832 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.5448, allocations: 1.179 MB / 0.721 GB, free: 2.012 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.5449, allocations: 0 / 0.721 GB, free: 2.012 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.545, allocations: 46.25 kB / 0.721 GB, free: 2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.545, allocations: 24 kB / 0.721 GB, free: 1.977 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.5466, allocations: 0.9955 MB / 0.722 GB, free: 1.344 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005872/0.5525, allocations: 4.48 MB / 0.7264 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/0.5549, allocations: 1.559 MB / 0.7279 GB, free: 12.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008899/0.5558, allocations: 0.6581 MB / 0.7285 GB, free: 12.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.5559, allocations: 12.98 kB / 0.7286 GB, free: 12.03 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.556, allocations: 46.81 kB / 0.7286 GB, free: 11.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=110): time 2.785e-06/0.556, allocations: 0 / 0.7286 GB, free: 11.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=110): time 0.01312/0.5691, allocations: 4.347 MB / 0.7329 GB, free: 8.227 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.5692, allocations: 119.8 kB / 0.733 GB, free: 8.086 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.5703, allocations: 0.8859 MB / 0.7338 GB, free: 7.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.605e-05/0.5704, allocations: 44.14 kB / 0.7339 GB, free: 7.375 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.5707, allocations: 0.5926 MB / 0.7345 GB, free: 7.039 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/0.571, allocations: 389.9 kB / 0.7348 GB, free: 6.703 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.5711, allocations: 25.25 kB / 0.7348 GB, free: 6.695 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5712, allocations: 343.1 kB / 0.7352 GB, free: 6.371 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007669/0.572, allocations: 494.5 kB / 0.7356 GB, free: 6.105 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008771/0.5729, allocations: 0.6666 MB / 0.7363 GB, free: 5.613 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008413/0.5737, allocations: 0.5436 MB / 0.7368 GB, free: 5.297 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.5738, allocations: 4 kB / 0.7368 GB, free: 5.293 MB / 474.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01329/0.587, allocations: 4.561 MB / 0.7413 GB, free: 1.375 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005502/0.5876, allocations: 1.686 MB / 0.7429 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.5876, allocations: 4 kB / 0.7429 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005706/0.5934, allocations: 1.82 MB / 0.7447 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/0.5941, allocations: 170.4 kB / 0.7449 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/0.6097, allocations: 7.713 MB / 0.7524 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.6113, allocations: 214.9 kB / 0.7526 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.954e-05/0.6114, allocations: 39.98 kB / 0.7527 GB, free: 6.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.6114, allocations: 4 kB / 0.7527 GB, free: 6.336 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01317/0.6246, allocations: 4.407 MB / 0.757 GB, free: 1.922 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.6246, allocations: 4 kB / 0.757 GB, free: 1.918 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005646/0.6302, allocations: 1.819 MB / 0.7587 GB, free: 96 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/0.6309, allocations: 147.8 kB / 0.7589 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01583/0.6468, allocations: 7.696 MB / 0.7664 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.6483, allocations: 187.1 kB / 0.7666 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.6485, allocations: 43.98 kB / 0.7666 GB, free: 7.891 MB / 0.4948 GB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.00031/0.6488, allocations: 177.9 kB / 0.7668 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.649, allocations: 146.2 kB / 0.7669 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.6626, allocations: 4.46 MB / 0.7713 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.6626, allocations: 12 kB / 0.7713 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.6626, allocations: 0 / 0.7713 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.6626, allocations: 7.969 kB / 0.7713 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.678, allocations: 6.253 MB / 0.7774 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.678, allocations: 0 / 0.7774 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006671/0.6787, allocations: 135.8 kB / 0.7775 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0054/0.6841, allocations: 1.735 MB / 0.7792 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.644e-05/0.6842, allocations: 31.94 kB / 0.7793 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01343/0.6977, allocations: 6.677 MB / 0.7858 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6977, allocations: 7.953 kB / 0.7858 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/0.7124, allocations: 5.268 MB / 0.7909 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.7129, allocations: 223.1 kB / 0.7911 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.7131, allocations: 23.95 kB / 0.7912 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.7142, allocations: 143.9 kB / 0.7913 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005629/0.7148, allocations: 212.6 kB / 0.7915 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-05/0.7149, allocations: 24 kB / 0.7915 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008737/0.7158, allocations: 0.6806 MB / 0.7922 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7158, allocations: 4 kB / 0.7922 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001855/0.7177, allocations: 0.7604 MB / 0.7929 GB, free: 12.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002667/0.7179, allocations: 158.3 kB / 0.7931 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009755/0.7277, allocations: 3.87 MB / 0.7969 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.7277, allocations: 4 kB / 0.7969 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004243/0.732, allocations: 1.564 MB / 0.7984 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006436/0.7326, allocations: 116.7 kB / 0.7985 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.7355, allocations: 1.772 MB / 0.8002 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/0.7362, allocations: 1.213 MB / 0.8014 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007086/0.7369, allocations: 179.4 kB / 0.8016 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.7371, allocations: 59.42 kB / 0.8017 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/0.7371, allocations: 3.938 kB / 0.8017 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of Templates: time 0.0429/0.78, allocations: 31.93 MB / 0.8328 GB, free: 3.582 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)