Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006566/0.006566, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.391/1.391, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0009441/0.000944, allocations: 94.86 kB / 269.6 MB, free: 13.36 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.06707/0.06707, allocations: 12.6 MB / 330.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4084/0.4084, allocations: 78.52 MB / 460 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004996, allocations: 23.42 kB / 0.5285 GB, free: 35.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 69.34 MB / 0.5962 GB, free: 3.801 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3493/0.4585, allocations: 101 MB / 0.6948 GB, free: 98.62 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.4588, allocations: 88.61 kB / 0.6949 GB, free: 98.62 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07027/0.529, allocations: 28.08 MB / 0.7223 GB, free: 88.51 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5291, allocations: 0 / 0.7223 GB, free: 88.51 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001248/0.5292, allocations: 28 kB / 0.7223 GB, free: 88.48 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.00574/0.535, allocations: 2.1 MB / 0.7244 GB, free: 86.33 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.535, allocations: 15.98 kB / 0.7244 GB, free: 86.31 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003292/0.5383, allocations: 0.5757 MB / 0.725 GB, free: 85.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.5401, allocations: 0.8579 MB / 0.7258 GB, free: 84.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.5403, allocations: 238.4 kB / 0.726 GB, free: 84.56 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/0.5405, allocations: 92 kB / 0.7261 GB, free: 84.47 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.5429, allocations: 1.403 MB / 0.7275 GB, free: 83.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.5429, allocations: 7.938 kB / 0.7275 GB, free: 83.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.543, allocations: 36 kB / 0.7275 GB, free: 82.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.543, allocations: 20 kB / 0.7275 GB, free: 82.96 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.5453, allocations: 1.284 MB / 0.7288 GB, free: 81.67 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005813/0.5512, allocations: 4.26 MB / 0.733 GB, free: 77.25 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/0.5541, allocations: 1.838 MB / 0.7348 GB, free: 75.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.5542, allocations: 20.97 kB / 0.7348 GB, free: 75.28 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.5542, allocations: 43.56 kB / 0.7348 GB, free: 75.23 MB / 474.7 MB Notification: Performance of pre-optimization done (n=107): time 3.537e-06/0.5542, allocations: 0 / 0.7348 GB, free: 75.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=107): time 0.02623/0.5805, allocations: 8.732 MB / 0.7433 GB, free: 66.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.5806, allocations: 115.8 kB / 0.7435 GB, free: 66.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.5819, allocations: 0.8607 MB / 0.7443 GB, free: 65.45 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002095/0.5821, allocations: 49.64 kB / 0.7443 GB, free: 65.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.5825, allocations: 0.5713 MB / 0.7449 GB, free: 64.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004025/0.5829, allocations: 378.5 kB / 0.7453 GB, free: 64.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/0.583, allocations: 20 kB / 0.7453 GB, free: 64.42 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.5831, allocations: 353.9 kB / 0.7456 GB, free: 64.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.5844, allocations: 0.717 MB / 0.7463 GB, free: 63.35 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.5858, allocations: 0.8991 MB / 0.7472 GB, free: 62.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.5872, allocations: 0.7801 MB / 0.748 GB, free: 61.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.5872, allocations: 7.875 kB / 0.748 GB, free: 61.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01298/0.6002, allocations: 5.226 MB / 0.7531 GB, free: 56.37 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000339/0.6006, allocations: 1.508 MB / 0.7545 GB, free: 54.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.6006, allocations: 4 kB / 0.7545 GB, free: 54.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006088/0.6067, allocations: 2.233 MB / 0.7567 GB, free: 52.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007811/0.6075, allocations: 155.8 kB / 0.7569 GB, free: 52.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02055/0.6281, allocations: 10.77 MB / 0.7674 GB, free: 41.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.6298, allocations: 210.9 kB / 0.7676 GB, free: 41.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/0.63, allocations: 35.94 kB / 0.7676 GB, free: 41.21 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.63, allocations: 4 kB / 0.7676 GB, free: 41.21 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01274/0.6428, allocations: 5.031 MB / 0.7725 GB, free: 36.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.6429, allocations: 4 kB / 0.7726 GB, free: 36.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005912/0.6488, allocations: 2.234 MB / 0.7747 GB, free: 33.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007562/0.6496, allocations: 151.8 kB / 0.7749 GB, free: 33.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02041/0.67, allocations: 10.75 MB / 0.7854 GB, free: 22.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.6715, allocations: 191 kB / 0.7856 GB, free: 22.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/0.6717, allocations: 43.92 kB / 0.7856 GB, free: 22.67 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.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: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0008275/0.6726, allocations: 350.2 kB / 0.7859 GB, free: 22.32 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003745/0.6729, allocations: 134.4 kB / 0.7861 GB, free: 22.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/0.6856, allocations: 5.137 MB / 0.7911 GB, free: 17.03 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.6857, allocations: 15.98 kB / 0.7911 GB, free: 17.01 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6857, allocations: 0 / 0.7911 GB, free: 17.01 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-05/0.6858, allocations: 3.984 kB / 0.7911 GB, free: 17.01 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.7016, allocations: 6.912 MB / 0.7978 GB, free: 9.957 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.7017, allocations: 0 / 0.7978 GB, free: 9.957 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000667/0.7023, allocations: 123.8 kB / 0.798 GB, free: 9.836 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005628/0.708, allocations: 2.16 MB / 0.8001 GB, free: 7.672 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/0.7082, allocations: 24 kB / 0.8001 GB, free: 7.648 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01828/0.7265, allocations: 9.304 MB / 0.8092 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7265, allocations: 0 / 0.8092 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/0.7429, allocations: 6.189 MB / 0.8152 GB, free: 7.992 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006441/0.7435, allocations: 219.1 kB / 0.8154 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003351/0.7439, allocations: 28 kB / 0.8155 GB, free: 7.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.7452, allocations: 139.9 kB / 0.8156 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006185/0.7458, allocations: 212.6 kB / 0.8158 GB, free: 7.387 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-05/0.7459, allocations: 28 kB / 0.8158 GB, free: 7.359 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001174/0.7471, allocations: 0.6701 MB / 0.8165 GB, free: 6.684 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7471, allocations: 0 / 0.8165 GB, free: 6.684 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002562/0.7497, allocations: 0.7449 MB / 0.8172 GB, free: 5.938 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.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 (70): * Single equations (assignments): 69 * 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.0003467/0.7501, allocations: 151.1 kB / 0.8174 GB, free: 5.785 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01207/0.7621, allocations: 4.538 MB / 0.8218 GB, free: 1.219 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.7622, allocations: 0 / 0.8218 GB, free: 1.219 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004846/0.767, allocations: 1.829 MB / 0.8236 GB, free: 15.38 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.7681, allocations: 108.6 kB / 0.8237 GB, free: 15.27 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/0.7731, allocations: 2.74 MB / 0.8263 GB, free: 12.51 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009248/0.774, allocations: 1.191 MB / 0.8275 GB, free: 11.29 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0005367/0.7746, allocations: 111 kB / 0.8276 GB, free: 11.18 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.7748, allocations: 59.44 kB / 0.8277 GB, free: 11.12 MB / 0.4949 GB Notification: Performance of SimCode: time 9.42e-07/0.7748, allocations: 0 / 0.8277 GB, free: 11.12 MB / 0.4949 GB Notification: Performance of Templates: time 0.05008/0.8249, allocations: 29.48 MB / 0.8565 GB, free: 13.63 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)