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.001013/0.001013, allocations: 170.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008102/0.0008102, allocations: 88.08 kB / 261.4 MB, free: 13.45 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.06863/0.06863, allocations: 12.6 MB / 321.9 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2885/0.2885, allocations: 78.06 MB / 450.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.668e-05/1.669e-05, allocations: 4 kB / 0.5147 GB, free: 29.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 69.33 MB / 0.5824 GB, free: 8.375 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3976/0.5162, allocations: 100.3 MB / 0.6804 GB, free: 7.621 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.5164, allocations: 83.02 kB / 0.6805 GB, free: 7.578 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06921/0.5856, allocations: 28.31 MB / 0.7081 GB, free: 384 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5857, allocations: 0 / 0.7081 GB, free: 384 kB / 442.7 MB Notification: Performance of Transformations before backend: time 7.476e-05/0.5858, allocations: 28 kB / 0.7081 GB, free: 356 kB / 442.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.004811/0.5906, allocations: 1.889 MB / 0.71 GB, free: 14.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.5906, allocations: 12.03 kB / 0.71 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003256/0.5939, allocations: 0.5852 MB / 0.7106 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.5955, allocations: 0.8781 MB / 0.7114 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.5958, allocations: 202.5 kB / 0.7116 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.5959, allocations: 59.38 kB / 0.7117 GB, free: 12.97 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001525/0.5974, allocations: 0.9312 MB / 0.7126 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.5991, allocations: 1.053 MB / 0.7136 GB, free: 11.63 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.5991, allocations: 0 / 0.7136 GB, free: 11.63 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-05/0.5992, allocations: 0 / 0.7136 GB, free: 11.63 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.5992, allocations: 28 kB / 0.7136 GB, free: 11.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006073/0.6053, allocations: 4.318 MB / 0.7178 GB, free: 8.066 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.6076, allocations: 1.533 MB / 0.7193 GB, free: 6.789 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008153/0.6085, allocations: 0.6288 MB / 0.72 GB, free: 6.457 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.6086, allocations: 21.28 kB / 0.72 GB, free: 6.438 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.6087, allocations: 51.06 kB / 0.72 GB, free: 6.383 MB / 458.7 MB Notification: Performance of pre-optimization done (n=110): time 4.678e-06/0.6087, allocations: 3.984 kB / 0.72 GB, free: 6.379 MB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.01254/0.6212, allocations: 4.268 MB / 0.7242 GB, free: 2.664 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.6213, allocations: 118.9 kB / 0.7243 GB, free: 2.527 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.6227, allocations: 0.812 MB / 0.7251 GB, free: 1.926 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002272/0.6229, allocations: 33.7 kB / 0.7251 GB, free: 1.887 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.6233, allocations: 0.5904 MB / 0.7257 GB, free: 1.551 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/0.6237, allocations: 375.9 kB / 0.7261 GB, free: 1.223 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.6238, allocations: 0 / 0.7261 GB, free: 1.223 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6239, allocations: 351.8 kB / 0.7264 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007218/0.6246, allocations: 472 kB / 0.7269 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008381/0.6255, allocations: 0.6426 MB / 0.7275 GB, free: 192 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007792/0.6263, allocations: 0.5292 MB / 0.728 GB, free: 15.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.6263, allocations: 4 kB / 0.728 GB, free: 15.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.013/0.6393, allocations: 4.453 MB / 0.7324 GB, free: 12.03 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007063/0.64, allocations: 1.684 MB / 0.734 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.6401, allocations: 4 kB / 0.734 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005647/0.6457, allocations: 1.761 MB / 0.7357 GB, free: 8.734 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008414/0.6466, allocations: 166.5 kB / 0.7359 GB, free: 8.578 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/0.6614, allocations: 7.495 MB / 0.7432 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.6631, allocations: 190.9 kB / 0.7434 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.6632, allocations: 39.98 kB / 0.7434 GB, free: 1.332 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.6632, allocations: 5.406 kB / 0.7434 GB, free: 1.328 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01253/0.6758, allocations: 4.285 MB / 0.7476 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.6759, allocations: 4 kB / 0.7476 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005473/0.6813, allocations: 1.757 MB / 0.7493 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000825/0.6822, allocations: 155.8 kB / 0.7495 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/0.6971, allocations: 7.477 MB / 0.7568 GB, free: 3.508 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.6988, allocations: 171 kB / 0.7569 GB, free: 3.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-05/0.6989, allocations: 40 kB / 0.757 GB, free: 3.301 MB / 490.7 MB 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.0004026/0.6993, allocations: 141.8 kB / 0.7571 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.6996, allocations: 142.3 kB / 0.7573 GB, free: 3.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.7123, allocations: 4.362 MB / 0.7615 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.7124, allocations: 16 kB / 0.7615 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7124, allocations: 0 / 0.7615 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/0.7124, allocations: 3.984 kB / 0.7615 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/0.7273, allocations: 6.059 MB / 0.7674 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.7274, allocations: 0 / 0.7674 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008008/0.7282, allocations: 127.8 kB / 0.7676 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005214/0.7334, allocations: 1.719 MB / 0.7692 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001953/0.7336, allocations: 8 kB / 0.7693 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01315/0.7468, allocations: 6.551 MB / 0.7757 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.7468, allocations: 4 kB / 0.7757 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/0.7612, allocations: 5.181 MB / 0.7807 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005806/0.7619, allocations: 227.1 kB / 0.7809 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/0.7621, allocations: 0 / 0.7809 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.7633, allocations: 123.9 kB / 0.7811 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005872/0.7639, allocations: 212.9 kB / 0.7813 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-05/0.764, allocations: 27.98 kB / 0.7813 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000841/0.7648, allocations: 0.6123 MB / 0.7819 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.483e-06/0.7648, allocations: 0 / 0.7819 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002/0.7668, allocations: 0.6939 MB / 0.7826 GB, free: 8.793 MB / 0.5105 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.0002855/0.7671, allocations: 127.1 kB / 0.7827 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009573/0.7767, allocations: 3.742 MB / 0.7863 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7767, allocations: 0 / 0.7863 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004193/0.7809, allocations: 1.514 MB / 0.7878 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000913/0.7819, allocations: 104.6 kB / 0.7879 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.785, allocations: 1.734 MB / 0.7896 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007526/0.7858, allocations: 1.21 MB / 0.7908 GB, free: 264 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000745/0.7866, allocations: 183.2 kB / 0.791 GB, free: 76 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.7867, allocations: 55.42 kB / 0.791 GB, free: 20 kB / 0.5105 GB Notification: Performance of SimCode: time 7.81e-07/0.7867, allocations: 0 / 0.791 GB, free: 20 kB / 0.5105 GB Notification: Performance of Templates: time 0.04731/0.8341, allocations: 29.65 MB / 0.82 GB, free: 2.359 MB / 0.5417 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)