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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 223.2 MB / 238.9 MB, free: 5.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 181 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4216/0.4216, allocations: 78.52 MB / 419.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 12 kB / 499.7 MB, free: 6.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1161, allocations: 69.37 MB / 0.5557 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test): time 0.1895/0.3056, allocations: 6.159 MB / 0.5617 GB, free: 37.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.309, allocations: 2.115 MB / 0.5638 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008989/0.3099, allocations: 19.09 kB / 0.5638 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005369/0.3105, allocations: 178.3 kB / 0.564 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.3123, allocations: 0.6813 MB / 0.5646 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.3135, allocations: 0.6262 MB / 0.5652 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.315, allocations: 1.058 MB / 0.5663 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004599/0.3155, allocations: 359.1 kB / 0.5666 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.316, allocations: 0.5493 MB / 0.5671 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005623/0.3166, allocations: 0.6793 MB / 0.5678 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.3167, allocations: 60.97 kB / 0.5679 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.3171, allocations: 173.1 kB / 0.568 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.3173, allocations: 240.1 kB / 0.5683 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.3175, allocations: 258.5 kB / 0.5685 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009356/0.3185, allocations: 1.311 MB / 0.5698 GB, free: 36.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.3185, allocations: 5.281 kB / 0.5698 GB, free: 36.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3185, allocations: 0 / 0.5698 GB, free: 36.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.104e-05/0.3185, allocations: 0 / 0.5698 GB, free: 36.32 MB / 430.1 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.006955/0.3255, allocations: 2.562 MB / 0.5723 GB, free: 35.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.3255, allocations: 9.469 kB / 0.5723 GB, free: 35.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004619/0.3301, allocations: 0.8083 MB / 0.5731 GB, free: 35.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.3313, allocations: 0.8746 MB / 0.574 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.3315, allocations: 245.4 kB / 0.5742 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.3316, allocations: 95.97 kB / 0.5743 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.3338, allocations: 1.437 MB / 0.5757 GB, free: 33.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.3339, allocations: 0 / 0.5757 GB, free: 33.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.953e-05/0.334, allocations: 40.12 kB / 0.5757 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.334, allocations: 30.66 kB / 0.5757 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.3362, allocations: 1.302 MB / 0.577 GB, free: 33.23 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005112/0.3414, allocations: 4.543 MB / 0.5815 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/0.3442, allocations: 1.852 MB / 0.5833 GB, free: 29.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.3443, allocations: 21.2 kB / 0.5833 GB, free: 29.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.3443, allocations: 40 kB / 0.5833 GB, free: 29.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=110): time 2.796e-06/0.3443, allocations: 0 / 0.5833 GB, free: 29.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=110): time 0.02695/0.3713, allocations: 8.688 MB / 0.5918 GB, free: 27.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.3714, allocations: 120.1 kB / 0.5919 GB, free: 27.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.373, allocations: 1.045 MB / 0.5929 GB, free: 27.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002606/0.3733, allocations: 42.02 kB / 0.593 GB, free: 27.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.3737, allocations: 0.5824 MB / 0.5936 GB, free: 26.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/0.3741, allocations: 392.7 kB / 0.5939 GB, free: 26.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.223e-05/0.3742, allocations: 26.69 kB / 0.594 GB, free: 26.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.3743, allocations: 359.6 kB / 0.5943 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.376, allocations: 0.8267 MB / 0.5951 GB, free: 25.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.3778, allocations: 1.027 MB / 0.5961 GB, free: 25.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.3795, allocations: 0.9019 MB / 0.597 GB, free: 24.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.3795, allocations: 5.219 kB / 0.597 GB, free: 24.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01558/0.3951, allocations: 5.531 MB / 0.6024 GB, free: 23.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003562/0.3955, allocations: 1.673 MB / 0.604 GB, free: 21.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.3956, allocations: 3.375 kB / 0.604 GB, free: 21.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007233/0.4028, allocations: 2.234 MB / 0.6062 GB, free: 21.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.4039, allocations: 231.7 kB / 0.6064 GB, free: 21.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0238/0.4278, allocations: 10.78 MB / 0.617 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.4295, allocations: 230.7 kB / 0.6172 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.4296, allocations: 52.53 kB / 0.6172 GB, free: 14.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.4296, allocations: 5.094 kB / 0.6172 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01338/0.443, allocations: 5.319 MB / 0.6224 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.443, allocations: 5.062 kB / 0.6224 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006042/0.4491, allocations: 2.233 MB / 0.6246 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009136/0.45, allocations: 215.7 kB / 0.6248 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02251/0.4726, allocations: 10.74 MB / 0.6353 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.4743, allocations: 206.9 kB / 0.6355 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.4745, allocations: 49.41 kB / 0.6355 GB, free: 11.96 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(flow=false start = tGTypeIV.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(flow=false start = tGTypeIV.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(flow=false start = tGTypeIV.integrator4.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(flow=false start = tGTypeIV.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(flow=false 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 (136): * Single equations (assignments): 135 * 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.0007192/0.4752, allocations: 374 kB / 0.6359 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/0.4755, allocations: 142.3 kB / 0.636 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/0.4902, allocations: 5.169 MB / 0.6411 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.4902, allocations: 9.547 kB / 0.6411 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4902, allocations: 4 kB / 0.6411 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/0.4902, allocations: 4.547 kB / 0.6411 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.5069, allocations: 6.988 MB / 0.6479 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.5069, allocations: 1.125 kB / 0.6479 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000681/0.5076, allocations: 127.8 kB / 0.6481 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006365/0.514, allocations: 2.155 MB / 0.6502 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/0.5142, allocations: 20 kB / 0.6502 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01975/0.5339, allocations: 9.322 MB / 0.6593 GB, free: 3.371 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.534, allocations: 0 / 0.6593 GB, free: 3.371 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/0.5502, allocations: 6.252 MB / 0.6654 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/0.5507, allocations: 219.1 kB / 0.6656 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/0.5509, allocations: 28.98 kB / 0.6656 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.552, allocations: 143.9 kB / 0.6658 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000554/0.5526, allocations: 208.6 kB / 0.666 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.153e-05/0.5527, allocations: 24 kB / 0.666 GB, free: 12.46 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008684/0.5535, allocations: 0.6906 MB / 0.6667 GB, free: 11.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5535, allocations: 0 / 0.6667 GB, free: 11.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002254/0.5558, allocations: 0.7956 MB / 0.6674 GB, free: 10.97 MB / 478.1 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 () * 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.0002706/0.5561, allocations: 135.2 kB / 0.6676 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01203/0.5681, allocations: 4.921 MB / 0.6724 GB, free: 5.898 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.5682, allocations: 0 / 0.6724 GB, free: 5.898 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004872/0.5731, allocations: 1.835 MB / 0.6742 GB, free: 4.051 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008332/0.5739, allocations: 118.3 kB / 0.6743 GB, free: 3.938 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.5779, allocations: 2.846 MB / 0.6771 GB, free: 1.098 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000713/0.5786, allocations: 1.204 MB / 0.6782 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005138/0.5792, allocations: 133.8 kB / 0.6784 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.5794, allocations: 75.36 kB / 0.6784 GB, free: 15.66 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5794, allocations: 0 / 0.6784 GB, free: 15.66 MB / 494.1 MB Notification: Performance of Templates: time 0.04258/0.622, allocations: 30.37 MB / 0.7081 GB, free: 1.422 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: