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.009854/0.009854, allocations: 169.2 kB / 15.11 MB, free: 5.988 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.506/1.506, allocations: 205.4 MB / 221.3 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.0008652/0.0008653, allocations: 82.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-master/package.mo): time 0.06839/0.06839, allocations: 12.6 MB / 330.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4204/0.4204, allocations: 78.52 MB / 460 MB, free: 3.449 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004926, allocations: 20.88 kB / 0.5285 GB, free: 35.03 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1204, allocations: 69.33 MB / 0.5962 GB, free: 3.805 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4094/0.5298, allocations: 101.1 MB / 0.6949 GB, free: 35.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000402/0.5303, allocations: 94.34 kB / 0.695 GB, free: 35.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09258/0.6229, allocations: 28.75 MB / 0.7231 GB, free: 33.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6229, allocations: 0 / 0.7231 GB, free: 33.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.734e-05/0.623, allocations: 36.59 kB / 0.7231 GB, free: 33.2 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005625/0.6287, allocations: 2.141 MB / 0.7252 GB, free: 32.25 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.6287, allocations: 12.23 kB / 0.7252 GB, free: 32.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/0.6322, allocations: 0.5847 MB / 0.7258 GB, free: 32.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.6341, allocations: 0.8905 MB / 0.7266 GB, free: 31.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.6343, allocations: 240.1 kB / 0.7269 GB, free: 31.61 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.6344, allocations: 102.5 kB / 0.727 GB, free: 31.61 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.6369, allocations: 1.434 MB / 0.7284 GB, free: 31.42 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.6369, allocations: 0 / 0.7284 GB, free: 31.42 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.637, allocations: 41.22 kB / 0.7284 GB, free: 31.42 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.637, allocations: 23.47 kB / 0.7284 GB, free: 31.42 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.6392, allocations: 1.308 MB / 0.7297 GB, free: 31.38 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005812/0.6451, allocations: 4.48 MB / 0.7341 GB, free: 29.58 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/0.6478, allocations: 1.855 MB / 0.7359 GB, free: 28.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.733e-05/0.6479, allocations: 20.33 kB / 0.7359 GB, free: 28.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.648, allocations: 46 kB / 0.7359 GB, free: 28.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=110): time 4.589e-06/0.648, allocations: 0 / 0.7359 GB, free: 28.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=110): time 0.0271/0.6751, allocations: 8.935 MB / 0.7447 GB, free: 27.67 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.6752, allocations: 115.5 kB / 0.7448 GB, free: 27.54 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.6766, allocations: 0.8983 MB / 0.7457 GB, free: 27.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002685/0.6769, allocations: 43.98 kB / 0.7457 GB, free: 27.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.6773, allocations: 0.5967 MB / 0.7463 GB, free: 26.97 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000348/0.6777, allocations: 390.6 kB / 0.7467 GB, free: 26.68 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.6777, allocations: 18.16 kB / 0.7467 GB, free: 26.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.6778, allocations: 348.3 kB / 0.747 GB, free: 26.37 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.6791, allocations: 0.7312 MB / 0.7477 GB, free: 26.25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.6805, allocations: 0.9146 MB / 0.7486 GB, free: 25.94 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.6818, allocations: 0.7924 MB / 0.7494 GB, free: 25.85 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6818, allocations: 0 / 0.7494 GB, free: 25.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0133/0.6951, allocations: 5.272 MB / 0.7545 GB, free: 24.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003544/0.6955, allocations: 1.678 MB / 0.7562 GB, free: 22.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.6956, allocations: 7.812 kB / 0.7562 GB, free: 22.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00631/0.7019, allocations: 2.249 MB / 0.7584 GB, free: 21.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009722/0.7029, allocations: 163.8 kB / 0.7585 GB, free: 21.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/0.7245, allocations: 10.77 MB / 0.769 GB, free: 18.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.7264, allocations: 223 kB / 0.7693 GB, free: 18.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002677/0.7267, allocations: 42.12 kB / 0.7693 GB, free: 18.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.7267, allocations: 3.906 kB / 0.7693 GB, free: 18.6 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0134/0.7401, allocations: 5.049 MB / 0.7742 GB, free: 17.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.7402, allocations: 7.938 kB / 0.7742 GB, free: 17.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006642/0.7468, allocations: 2.244 MB / 0.7764 GB, free: 16.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/0.7477, allocations: 161.5 kB / 0.7766 GB, free: 16.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02275/0.7705, allocations: 10.76 MB / 0.7871 GB, free: 8.555 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.7725, allocations: 190.4 kB / 0.7873 GB, free: 8.383 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002949/0.7728, allocations: 41.17 kB / 0.7873 GB, free: 8.352 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.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: 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 () * Number of clocked 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.001077/0.7739, allocations: 358 kB / 0.7877 GB, free: 8.078 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000514/0.7744, allocations: 138.3 kB / 0.7878 GB, free: 7.941 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/0.7879, allocations: 5.157 MB / 0.7928 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.788, allocations: 12 kB / 0.7928 GB, free: 2.875 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.788, allocations: 0 / 0.7928 GB, free: 2.875 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-05/0.788, allocations: 7.922 kB / 0.7929 GB, free: 2.867 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/0.806, allocations: 6.96 MB / 0.7996 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/0.8061, allocations: 0 / 0.7996 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008846/0.807, allocations: 127.9 kB / 0.7998 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006609/0.8136, allocations: 2.172 MB / 0.8019 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002587/0.8139, allocations: 24 kB / 0.8019 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02128/0.8352, allocations: 9.285 MB / 0.811 GB, free: 28 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.8352, allocations: 7.953 kB / 0.811 GB, free: 20 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01775/0.853, allocations: 6.221 MB / 0.8171 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008877/0.8539, allocations: 231.1 kB / 0.8173 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006542/0.8546, allocations: 27.95 kB / 0.8173 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/0.8563, allocations: 143.9 kB / 0.8174 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000739/0.8571, allocations: 204.6 kB / 0.8176 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/0.8573, allocations: 28 kB / 0.8177 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00146/0.8588, allocations: 0.6907 MB / 0.8183 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8588, allocations: 3.938 kB / 0.8183 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003564/0.8623, allocations: 0.7643 MB / 0.8191 GB, free: 7.668 MB / 0.4948 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 () * Number of clocked 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.0004568/0.8628, allocations: 151 kB / 0.8192 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01282/0.8756, allocations: 4.585 MB / 0.8237 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.8757, allocations: 0 / 0.8237 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00514/0.8809, allocations: 1.83 MB / 0.8255 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.8821, allocations: 128.3 kB / 0.8256 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005254/0.8874, allocations: 2.833 MB / 0.8284 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009593/0.8883, allocations: 1.215 MB / 0.8296 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005905/0.889, allocations: 103.5 kB / 0.8297 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.8892, allocations: 63.42 kB / 0.8297 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/0.8893, allocations: 0 / 0.8297 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of Templates: time 0.04644/0.9357, allocations: 29.84 MB / 0.8589 GB, free: 14.81 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)