Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001284/0.001284, allocations: 168.8 kB / 7.645 MB, free: 1.434 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.361/1.361, allocations: 205.3 MB / 213.4 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008413/0.0008412, allocations: 90.22 kB / 261.4 MB, free: 1.621 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.06749/0.06749, allocations: 12.61 MB / 322 MB, free: 15.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4291/0.4291, allocations: 78.05 MB / 450.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.982e-05/1.984e-05, allocations: 4.094 kB / 0.5147 GB, free: 41.81 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 69.33 MB / 0.5824 GB, free: 292 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.2525, allocations: 102.7 MB / 0.6827 GB, free: 9.445 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.2528, allocations: 87.94 kB / 0.6828 GB, free: 9.359 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3699/0.6227, allocations: 30.06 MB / 0.7121 GB, free: 96.76 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6228, allocations: 0 / 0.7121 GB, free: 96.76 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001404/0.6229, allocations: 36.97 kB / 0.7122 GB, free: 96.75 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.005678/0.6286, allocations: 1.977 MB / 0.7141 GB, free: 95.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.6287, allocations: 11.16 kB / 0.7141 GB, free: 95.62 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003662/0.6324, allocations: 0.5939 MB / 0.7147 GB, free: 95.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/0.6346, allocations: 0.9128 MB / 0.7156 GB, free: 94.75 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002598/0.6349, allocations: 216.2 kB / 0.7158 GB, free: 94.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004315/0.6353, allocations: 59.19 kB / 0.7158 GB, free: 94.57 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00234/0.6377, allocations: 1.029 MB / 0.7168 GB, free: 94.11 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.6397, allocations: 1.091 MB / 0.7179 GB, free: 93.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.6397, allocations: 3.906 kB / 0.7179 GB, free: 93.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.6398, allocations: 3.984 kB / 0.7179 GB, free: 93.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.6398, allocations: 26.44 kB / 0.7179 GB, free: 93.45 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006326/0.6462, allocations: 4.14 MB / 0.722 GB, free: 89.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.6486, allocations: 1.686 MB / 0.7236 GB, free: 87.61 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008224/0.6494, allocations: 0.6674 MB / 0.7243 GB, free: 86.94 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.6495, allocations: 21.12 kB / 0.7243 GB, free: 86.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.6496, allocations: 47.88 kB / 0.7244 GB, free: 86.87 MB / 474.7 MB Notification: Performance of pre-optimization done (n=116): time 4.038e-06/0.6496, allocations: 0 / 0.7244 GB, free: 86.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=116): time 0.01166/0.6613, allocations: 4.364 MB / 0.7286 GB, free: 82.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.6613, allocations: 120.1 kB / 0.7287 GB, free: 82.35 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.6625, allocations: 0.8447 MB / 0.7296 GB, free: 81.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.6627, allocations: 25.7 kB / 0.7296 GB, free: 81.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.6631, allocations: 0.6264 MB / 0.7302 GB, free: 80.83 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003819/0.6635, allocations: 398 kB / 0.7306 GB, free: 80.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.884e-05/0.6636, allocations: 0 / 0.7306 GB, free: 80.44 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.6636, allocations: 345.9 kB / 0.7309 GB, free: 80.09 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007163/0.6644, allocations: 0.5025 MB / 0.7314 GB, free: 79.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007573/0.6651, allocations: 0.6585 MB / 0.732 GB, free: 78.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007701/0.6659, allocations: 0.5633 MB / 0.7326 GB, free: 78.32 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.6659, allocations: 0 / 0.7326 GB, free: 78.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01199/0.6779, allocations: 4.581 MB / 0.7371 GB, free: 73.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.6782, allocations: 1.333 MB / 0.7384 GB, free: 72.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.6783, allocations: 7.984 kB / 0.7384 GB, free: 72.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005308/0.6836, allocations: 1.757 MB / 0.7401 GB, free: 70.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009642/0.6846, allocations: 183.7 kB / 0.7403 GB, free: 70.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.6982, allocations: 7.487 MB / 0.7476 GB, free: 62.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.7002, allocations: 207 kB / 0.7478 GB, free: 62.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002705/0.7005, allocations: 43.98 kB / 0.7478 GB, free: 62.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.7005, allocations: 4 kB / 0.7478 GB, free: 62.51 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01217/0.7127, allocations: 4.386 MB / 0.7521 GB, free: 58.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.7127, allocations: 8.031 kB / 0.7521 GB, free: 58.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00519/0.7179, allocations: 1.757 MB / 0.7538 GB, free: 56.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008838/0.7188, allocations: 167.8 kB / 0.754 GB, free: 56.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.7322, allocations: 7.472 MB / 0.7613 GB, free: 48.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.7339, allocations: 195 kB / 0.7615 GB, free: 48.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.7341, allocations: 43.98 kB / 0.7615 GB, free: 48.36 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.realToBoolean.y,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0005703/0.7347, allocations: 138.2 kB / 0.7616 GB, free: 48.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005723/0.7353, allocations: 150.2 kB / 0.7618 GB, free: 48.07 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/0.7474, allocations: 4.447 MB / 0.7661 GB, free: 43.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.7474, allocations: 12 kB / 0.7661 GB, free: 43.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7474, allocations: 0 / 0.7661 GB, free: 43.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/0.7474, allocations: 11.91 kB / 0.7661 GB, free: 43.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/0.7616, allocations: 6.211 MB / 0.7722 GB, free: 37.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.7616, allocations: 0 / 0.7722 GB, free: 37.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008274/0.7625, allocations: 151.8 kB / 0.7724 GB, free: 37.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004854/0.7673, allocations: 1.715 MB / 0.774 GB, free: 35.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/0.7676, allocations: 12 kB / 0.774 GB, free: 35.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/0.7794, allocations: 6.547 MB / 0.7804 GB, free: 28.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7794, allocations: 4 kB / 0.7804 GB, free: 28.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/0.7927, allocations: 5.326 MB / 0.7856 GB, free: 23.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/0.7932, allocations: 239 kB / 0.7859 GB, free: 23.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004455/0.7937, allocations: 0 / 0.7859 GB, free: 23.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/0.7952, allocations: 147.9 kB / 0.786 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000618/0.7958, allocations: 212.9 kB / 0.7862 GB, free: 22.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.796, allocations: 28 kB / 0.7862 GB, free: 22.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009338/0.7969, allocations: 0.637 MB / 0.7869 GB, free: 22.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7969, allocations: 0 / 0.7869 GB, free: 22.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002657/0.7996, allocations: 0.7173 MB / 0.7876 GB, free: 21.39 MB / 474.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,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.derivative.x,tGTypeVI.transferFunction.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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.0003216/0.7999, allocations: 136.3 kB / 0.7877 GB, free: 21.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009445/0.8094, allocations: 3.863 MB / 0.7915 GB, free: 17.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.8095, allocations: 8.062 kB / 0.7915 GB, free: 17.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004257/0.8137, allocations: 1.553 MB / 0.793 GB, free: 15.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.8152, allocations: 131.8 kB / 0.7931 GB, free: 15.67 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.8193, allocations: 1.882 MB / 0.795 GB, free: 13.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007665/0.8201, allocations: 1.261 MB / 0.7962 GB, free: 12.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001134/0.8213, allocations: 231.5 kB / 0.7964 GB, free: 12.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.8215, allocations: 51.44 kB / 0.7965 GB, free: 12.16 MB / 474.7 MB Notification: Performance of SimCode: time 6.51e-07/0.8215, allocations: 4 kB / 0.7965 GB, free: 12.16 MB / 474.7 MB Notification: Performance of Templates: time 0.04802/0.8695, allocations: 30.64 MB / 0.8264 GB, free: 13.53 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)