Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_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_release_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.0009276/0.0009276, allocations: 174.9 kB / 15.77 MB, free: 6.328 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.41/1.41, allocations: 223.3 MB / 239.8 MB, free: 1.742 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.0008191/0.000819, allocations: 104.4 kB / 290.9 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5454/0.5454, allocations: 78.61 MB / 420.7 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.000367, allocations: 11.98 kB / 0.4888 GB, free: 2.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3851, allocations: 69.36 MB / 0.5565 GB, free: 38.98 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test): time 0.005976/0.3911, allocations: 6.435 MB / 0.5628 GB, free: 37.42 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004382/0.3955, allocations: 2.092 MB / 0.5648 GB, free: 35.93 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007908/0.3963, allocations: 19.78 kB / 0.5649 GB, free: 35.92 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005364/0.3969, allocations: 180.9 kB / 0.565 GB, free: 35.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.3986, allocations: 0.6095 MB / 0.5656 GB, free: 35.43 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.4001, allocations: 0.6366 MB / 0.5663 GB, free: 35.1 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001786/0.4019, allocations: 1.494 MB / 0.5677 GB, free: 34.33 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005502/0.4024, allocations: 362.8 kB / 0.5681 GB, free: 34.16 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00077/0.4032, allocations: 0.5444 MB / 0.5686 GB, free: 33.91 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007276/0.404, allocations: 0.6994 MB / 0.5693 GB, free: 33.58 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.4041, allocations: 60.78 kB / 0.5693 GB, free: 33.58 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.4046, allocations: 184.3 kB / 0.5695 GB, free: 33.54 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.4048, allocations: 245.9 kB / 0.5697 GB, free: 33.4 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.405, allocations: 255.4 kB / 0.57 GB, free: 33.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009633/0.406, allocations: 1.355 MB / 0.5713 GB, free: 32.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.406, allocations: 0 / 0.5713 GB, free: 32.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.406, allocations: 0 / 0.5713 GB, free: 32.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.633e-05/0.406, allocations: 0 / 0.5713 GB, free: 32.82 MB / 426.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.007513/0.4135, allocations: 2.553 MB / 0.5738 GB, free: 31.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4136, allocations: 12.53 kB / 0.5738 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004777/0.4184, allocations: 0.8127 MB / 0.5746 GB, free: 31.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.4197, allocations: 0.8714 MB / 0.5755 GB, free: 30.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.4199, allocations: 247.9 kB / 0.5757 GB, free: 30.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.42, allocations: 96.38 kB / 0.5758 GB, free: 30.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.4225, allocations: 1.441 MB / 0.5772 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.4225, allocations: 0 / 0.5772 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.4226, allocations: 47.09 kB / 0.5772 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.4227, allocations: 26.3 kB / 0.5773 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.425, allocations: 1.3 MB / 0.5785 GB, free: 29.68 MB / 426.7 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.005812/0.4308, allocations: 4.545 MB / 0.583 GB, free: 26.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003058/0.4339, allocations: 1.868 MB / 0.5848 GB, free: 25.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.4354, allocations: 0.9009 MB / 0.5857 GB, free: 25.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-05/0.4355, allocations: 22.11 kB / 0.5857 GB, free: 25.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.4356, allocations: 48.81 kB / 0.5857 GB, free: 25.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=110): time 3.617e-06/0.4356, allocations: 0 / 0.5857 GB, free: 25.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.02917/0.4647, allocations: 8.686 MB / 0.5942 GB, free: 23.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.4649, allocations: 116.3 kB / 0.5943 GB, free: 23.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.4664, allocations: 1.048 MB / 0.5954 GB, free: 23.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000255/0.4667, allocations: 45.61 kB / 0.5954 GB, free: 23.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.4671, allocations: 0.5854 MB / 0.596 GB, free: 22.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/0.4674, allocations: 394.2 kB / 0.5964 GB, free: 22.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.3e-05/0.4675, allocations: 25.09 kB / 0.5964 GB, free: 22.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.438e-05/0.4676, allocations: 358.3 kB / 0.5967 GB, free: 22.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/0.4694, allocations: 0.822 MB / 0.5975 GB, free: 21.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/0.4713, allocations: 1.035 MB / 0.5985 GB, free: 21.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.4731, allocations: 0.9099 MB / 0.5994 GB, free: 20.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.4731, allocations: 5.656 kB / 0.5994 GB, free: 20.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01685/0.49, allocations: 5.526 MB / 0.6048 GB, free: 19.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.4902, allocations: 224.3 kB / 0.605 GB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.4902, allocations: 5.031 kB / 0.605 GB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007442/0.4977, allocations: 2.228 MB / 0.6072 GB, free: 19.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.4988, allocations: 224 kB / 0.6074 GB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02201/0.5208, allocations: 10.28 MB / 0.6175 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.5225, allocations: 230.7 kB / 0.6177 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.413e-05/0.5226, allocations: 51.98 kB / 0.6177 GB, free: 11.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.5227, allocations: 4 kB / 0.6177 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01377/0.5364, allocations: 5.323 MB / 0.6229 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.5365, allocations: 11.92 kB / 0.623 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006192/0.5427, allocations: 2.23 MB / 0.6251 GB, free: 3.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009707/0.5437, allocations: 211.7 kB / 0.6253 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02241/0.5661, allocations: 10.24 MB / 0.6353 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.5679, allocations: 214.9 kB / 0.6355 GB, free: 8.719 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.5681, allocations: 47.97 kB / 0.6356 GB, free: 8.672 MB / 442.7 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.0008502/0.569, allocations: 367.2 kB / 0.6359 GB, free: 8.305 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/0.5693, allocations: 138.3 kB / 0.6361 GB, free: 8.168 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/0.585, allocations: 5.172 MB / 0.6411 GB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.585, allocations: 12 kB / 0.6411 GB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.585, allocations: 0 / 0.6411 GB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/0.5851, allocations: 3.984 kB / 0.6411 GB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/0.603, allocations: 6.992 MB / 0.648 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.6031, allocations: 0 / 0.648 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007576/0.6038, allocations: 123.9 kB / 0.6481 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006664/0.6105, allocations: 2.16 MB / 0.6502 GB, free: 9.551 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002023/0.6107, allocations: 24 kB / 0.6502 GB, free: 9.527 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02029/0.631, allocations: 8.832 MB / 0.6588 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6311, allocations: 0 / 0.6588 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/0.6485, allocations: 6.24 MB / 0.6649 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005082/0.6491, allocations: 231.1 kB / 0.6651 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.6493, allocations: 24 kB / 0.6652 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.6504, allocations: 139.9 kB / 0.6653 GB, free: 9.879 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005871/0.651, allocations: 208.6 kB / 0.6655 GB, free: 9.676 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.479e-05/0.6511, allocations: 28 kB / 0.6655 GB, free: 9.648 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009075/0.652, allocations: 0.6906 MB / 0.6662 GB, free: 8.953 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.652, allocations: 0 / 0.6662 GB, free: 8.953 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002126/0.6541, allocations: 0.7917 MB / 0.667 GB, free: 8.16 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,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.0002759/0.6544, allocations: 141.3 kB / 0.6671 GB, free: 8.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01255/0.667, allocations: 4.917 MB / 0.6719 GB, free: 3.082 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.667, allocations: 0 / 0.6719 GB, free: 3.082 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004926/0.6719, allocations: 1.834 MB / 0.6737 GB, free: 1.234 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009837/0.6729, allocations: 142.5 kB / 0.6738 GB, free: 1.094 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/0.6772, allocations: 2.854 MB / 0.6766 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007448/0.6779, allocations: 1.189 MB / 0.6778 GB, free: 12.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.6782, allocations: 75.44 kB / 0.6779 GB, free: 12.91 MB / 490.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6782, allocations: 0 / 0.6779 GB, free: 12.91 MB / 490.7 MB Notification: Performance of Templates: time 0.0309/0.7091, allocations: 24.29 MB / 0.7016 GB, free: 4.598 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)