Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 175 kB / 12.73 MB, free: 2.59 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.397/1.397, allocations: 221.4 MB / 234.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009208/0.0009208, allocations: 91.55 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4542/0.4542, allocations: 78.08 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.814e-05/2.816e-05, allocations: 4 kB / 491.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3238, allocations: 69.35 MB / 0.548 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.4593, allocations: 99.35 MB / 0.645 GB, free: 1.176 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.4596, allocations: 91.94 kB / 0.6451 GB, free: 1.086 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07719/0.5368, allocations: 29.41 MB / 0.6738 GB, free: 3.473 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.5369, allocations: 4 kB / 0.6738 GB, free: 3.469 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.814e-05/0.5369, allocations: 28 kB / 0.6739 GB, free: 3.441 MB / 490.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.005185/0.5421, allocations: 1.892 MB / 0.6757 GB, free: 1.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.5422, allocations: 11.97 kB / 0.6757 GB, free: 1.488 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003617/0.5458, allocations: 0.5834 MB / 0.6763 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3189/0.8648, allocations: 0.8692 MB / 0.6771 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003495/0.8652, allocations: 241.4 kB / 0.6774 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004083/0.8656, allocations: 95.02 kB / 0.6775 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002347/0.8679, allocations: 1.182 MB / 0.6786 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.868, allocations: 0.875 kB / 0.6786 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.8681, allocations: 38.66 kB / 0.6787 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.8681, allocations: 24.38 kB / 0.6787 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.8699, allocations: 1.002 MB / 0.6797 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006767/0.8767, allocations: 4.477 MB / 0.684 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.8793, allocations: 1.567 MB / 0.6856 GB, free: 99.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009951/0.8803, allocations: 0.6518 MB / 0.6862 GB, free: 99.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.8804, allocations: 18.33 kB / 0.6862 GB, free: 99.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.8804, allocations: 52.78 kB / 0.6863 GB, free: 99.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 3.126e-06/0.8804, allocations: 0 / 0.6863 GB, free: 99.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.01302/0.8935, allocations: 4.337 MB / 0.6905 GB, free: 99.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.8936, allocations: 118.3 kB / 0.6906 GB, free: 99.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.8949, allocations: 0.8819 MB / 0.6915 GB, free: 99.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002835/0.8952, allocations: 40.7 kB / 0.6915 GB, free: 99.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.8956, allocations: 0.591 MB / 0.6921 GB, free: 98.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.8959, allocations: 395.2 kB / 0.6925 GB, free: 98.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.291e-05/0.896, allocations: 19.94 kB / 0.6925 GB, free: 98.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.8961, allocations: 350.9 kB / 0.6928 GB, free: 98.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008154/0.8969, allocations: 494.1 kB / 0.6933 GB, free: 98.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008485/0.8978, allocations: 0.6668 MB / 0.6939 GB, free: 97.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008325/0.8986, allocations: 0.5428 MB / 0.6945 GB, free: 97.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.8986, allocations: 4 kB / 0.6945 GB, free: 97.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01302/0.9117, allocations: 4.562 MB / 0.6989 GB, free: 96.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003315/0.912, allocations: 1.682 MB / 0.7006 GB, free: 94.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.9121, allocations: 3.531 kB / 0.7006 GB, free: 94.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005786/0.9179, allocations: 1.818 MB / 0.7023 GB, free: 94.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008742/0.9188, allocations: 171.3 kB / 0.7025 GB, free: 94.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/0.9341, allocations: 7.715 MB / 0.71 GB, free: 90.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.9359, allocations: 212.8 kB / 0.7102 GB, free: 90.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.9361, allocations: 42.59 kB / 0.7103 GB, free: 90.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.9361, allocations: 3.688 kB / 0.7103 GB, free: 90.23 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01254/0.9487, allocations: 4.406 MB / 0.7146 GB, free: 87.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.9487, allocations: 7.875 kB / 0.7146 GB, free: 87.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005639/0.9544, allocations: 1.818 MB / 0.7164 GB, free: 85.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000839/0.9553, allocations: 165.1 kB / 0.7165 GB, free: 85.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/0.9702, allocations: 7.675 MB / 0.724 GB, free: 78.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.9721, allocations: 195.9 kB / 0.7242 GB, free: 78.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.9723, allocations: 40 kB / 0.7243 GB, free: 78.27 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.0003844/0.9727, allocations: 184.7 kB / 0.7244 GB, free: 78.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003203/0.973, allocations: 138.3 kB / 0.7246 GB, free: 77.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/0.9857, allocations: 4.462 MB / 0.7289 GB, free: 74.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/0.9858, allocations: 12 kB / 0.7289 GB, free: 74.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.9858, allocations: 0 / 0.7289 GB, free: 74.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.892e-05/0.9858, allocations: 7.547 kB / 0.7289 GB, free: 74.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/1.001, allocations: 6.251 MB / 0.735 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/1.001, allocations: 0 / 0.735 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008258/1.002, allocations: 127.8 kB / 0.7352 GB, free: 69.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00528/1.007, allocations: 1.734 MB / 0.7369 GB, free: 67.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002371/1.008, allocations: 20 kB / 0.7369 GB, free: 67.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/1.021, allocations: 6.702 MB / 0.7434 GB, free: 60.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.021, allocations: 0 / 0.7434 GB, free: 60.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/1.035, allocations: 5.268 MB / 0.7486 GB, free: 55.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005328/1.036, allocations: 227.1 kB / 0.7488 GB, free: 55.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000451/1.036, allocations: 20 kB / 0.7488 GB, free: 55.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/1.038, allocations: 143.9 kB / 0.7489 GB, free: 55.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006519/1.038, allocations: 208.6 kB / 0.7491 GB, free: 54.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/1.038, allocations: 28 kB / 0.7492 GB, free: 54.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001064/1.04, allocations: 0.6803 MB / 0.7498 GB, free: 54.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.04, allocations: 4 kB / 0.7498 GB, free: 54.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002989/1.043, allocations: 0.7597 MB / 0.7506 GB, free: 53.39 MB / 490.7 MB 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.0004132/1.043, allocations: 156.2 kB / 0.7507 GB, free: 53.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01002/1.053, allocations: 3.861 MB / 0.7545 GB, free: 49.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.053, allocations: 0 / 0.7545 GB, free: 49.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004378/1.057, allocations: 1.57 MB / 0.756 GB, free: 47.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/1.059, allocations: 126.1 kB / 0.7562 GB, free: 47.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/1.063, allocations: 1.786 MB / 0.7579 GB, free: 45.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008079/1.064, allocations: 1.213 MB / 0.7591 GB, free: 44.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009313/1.065, allocations: 170.9 kB / 0.7592 GB, free: 44.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/1.065, allocations: 63.42 kB / 0.7593 GB, free: 44.39 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/1.065, allocations: 0 / 0.7593 GB, free: 44.39 MB / 490.7 MB Notification: Performance of Templates: time 0.04722/1.112, allocations: 31.89 MB / 0.7904 GB, free: 12.82 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)