Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.004962/0.004962, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.172/1.172, allocations: 223.2 MB / 239 MB, free: 1.781 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008015/0.0008015, allocations: 99.27 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.407/0.407, allocations: 78.51 MB / 419.8 MB, free: 44.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003076, allocations: 8 kB / 499.7 MB, free: 2.77 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2938, allocations: 69.35 MB / 0.5557 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.3964, allocations: 99.44 MB / 0.6528 GB, free: 6.949 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.3968, allocations: 87.95 kB / 0.6529 GB, free: 6.863 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06947/0.4662, allocations: 29.51 MB / 0.6817 GB, free: 9.215 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4663, allocations: 0 / 0.6817 GB, free: 9.215 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.836e-05/0.4664, allocations: 28 kB / 0.6818 GB, free: 9.188 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.004775/0.4711, allocations: 2.139 MB / 0.6838 GB, free: 6.992 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.4712, allocations: 8.031 kB / 0.6839 GB, free: 6.984 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003006/0.4742, allocations: 0.5873 MB / 0.6844 GB, free: 6.395 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.4756, allocations: 0.8779 MB / 0.6853 GB, free: 5.465 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.4758, allocations: 242.4 kB / 0.6855 GB, free: 5.195 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.4759, allocations: 99.98 kB / 0.6856 GB, free: 5.098 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.4783, allocations: 1.434 MB / 0.687 GB, free: 3.617 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.4783, allocations: 0 / 0.687 GB, free: 3.617 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.4784, allocations: 40 kB / 0.687 GB, free: 3.578 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.4784, allocations: 24 kB / 0.6871 GB, free: 3.555 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.4808, allocations: 1.308 MB / 0.6883 GB, free: 2.242 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005463/0.4862, allocations: 4.484 MB / 0.6927 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.4892, allocations: 1.861 MB / 0.6945 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.659e-05/0.4893, allocations: 16.98 kB / 0.6946 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.4894, allocations: 43.56 kB / 0.6946 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=110): time 1.934e-06/0.4894, allocations: 0 / 0.6946 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110): time 0.02761/0.517, allocations: 8.931 MB / 0.7033 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.5171, allocations: 115.8 kB / 0.7034 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.5181, allocations: 0.8936 MB / 0.7043 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.35e-05/0.5182, allocations: 45.7 kB / 0.7043 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.5186, allocations: 0.5949 MB / 0.7049 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.5189, allocations: 386.3 kB / 0.7053 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/0.519, allocations: 20 kB / 0.7053 GB, free: 492 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5191, allocations: 353.9 kB / 0.7057 GB, free: 132 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.5205, allocations: 0.7326 MB / 0.7064 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.522, allocations: 0.9099 MB / 0.7073 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.5234, allocations: 0.7966 MB / 0.708 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5235, allocations: 0 / 0.708 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01367/0.5371, allocations: 5.265 MB / 0.7132 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005088/0.5377, allocations: 1.684 MB / 0.7148 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.5377, allocations: 7.938 kB / 0.7148 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00629/0.544, allocations: 2.248 MB / 0.717 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.5446, allocations: 167.7 kB / 0.7172 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/0.566, allocations: 10.77 MB / 0.7277 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.5672, allocations: 211 kB / 0.7279 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/0.5673, allocations: 39.98 kB / 0.7279 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.5673, allocations: 5.406 kB / 0.7279 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01322/0.5805, allocations: 5.062 MB / 0.7329 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.5805, allocations: 8.062 kB / 0.7329 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006184/0.5867, allocations: 2.245 MB / 0.7351 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/0.5874, allocations: 155.8 kB / 0.7352 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02136/0.6087, allocations: 10.74 MB / 0.7457 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.6101, allocations: 191 kB / 0.7459 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.6102, allocations: 43.97 kB / 0.7459 GB, free: 6.371 MB / 0.5417 GB 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.0006653/0.6109, allocations: 368 kB / 0.7463 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/0.6112, allocations: 138.3 kB / 0.7464 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/0.6248, allocations: 5.162 MB / 0.7515 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.6249, allocations: 12 kB / 0.7515 GB, free: 0.6875 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.6249, allocations: 3.953 kB / 0.7515 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.6249, allocations: 3.984 kB / 0.7515 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.641, allocations: 6.956 MB / 0.7583 GB, free: 9.586 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.641, allocations: 0 / 0.7583 GB, free: 9.586 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006926/0.6417, allocations: 127.8 kB / 0.7584 GB, free: 9.461 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006042/0.6478, allocations: 2.16 MB / 0.7605 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/0.648, allocations: 27.98 kB / 0.7605 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2059/0.8539, allocations: 9.288 MB / 0.7696 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8539, allocations: 1.562 kB / 0.7696 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/0.8688, allocations: 6.219 MB / 0.7757 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000337/0.8691, allocations: 229.8 kB / 0.7759 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.8693, allocations: 18.47 kB / 0.7759 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009539/0.8702, allocations: 147.3 kB / 0.7761 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000458/0.8707, allocations: 211.5 kB / 0.7763 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.911e-05/0.8708, allocations: 27.03 kB / 0.7763 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007317/0.8715, allocations: 0.6879 MB / 0.777 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8715, allocations: 3.969 kB / 0.777 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001692/0.8732, allocations: 0.7711 MB / 0.7777 GB, free: 142.1 MB / 0.5573 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.000254/0.8735, allocations: 145.2 kB / 0.7779 GB, free: 142 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01019/0.8837, allocations: 4.589 MB / 0.7823 GB, free: 141.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8837, allocations: 6.625 kB / 0.7823 GB, free: 141.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004059/0.8878, allocations: 1.819 MB / 0.7841 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.8885, allocations: 120 kB / 0.7842 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.8916, allocations: 2.832 MB / 0.787 GB, free: 140 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.8921, allocations: 1.214 MB / 0.7882 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004114/0.8925, allocations: 103 kB / 0.7883 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.8927, allocations: 68.19 kB / 0.7884 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/0.8927, allocations: 0 / 0.7884 GB, free: 139.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.03926/0.9319, allocations: 29.82 MB / 0.8175 GB, free: 137.7 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)