Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008327/0.0008329, allocations: 177.1 kB / 15.42 MB, free: 5.785 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.241/1.241, allocations: 222.9 MB / 239 MB, free: 1.785 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.0008257/0.0008256, allocations: 92.77 kB / 289.8 MB, free: 14.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4391/0.4391, allocations: 78.42 MB / 418.9 MB, free: 44.28 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003805, allocations: 8 kB / 498.4 MB, free: 3.859 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2963, allocations: 68.74 MB / 0.5539 GB, free: 39.93 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test): time 0.006998/0.3033, allocations: 7.571 MB / 0.5613 GB, free: 36.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004425/0.3078, allocations: 2.328 MB / 0.5636 GB, free: 35.86 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000996/0.3088, allocations: 25.34 kB / 0.5636 GB, free: 35.86 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007378/0.3096, allocations: 219.3 kB / 0.5638 GB, free: 35.77 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.3114, allocations: 0.6792 MB / 0.5644 GB, free: 35.45 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.3132, allocations: 0.774 MB / 0.5652 GB, free: 35.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002345/0.3156, allocations: 1.699 MB / 0.5669 GB, free: 34.71 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000619/0.3162, allocations: 468.6 kB / 0.5673 GB, free: 34.46 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009394/0.3172, allocations: 0.6096 MB / 0.5679 GB, free: 34.17 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006492/0.3178, allocations: 0.772 MB / 0.5687 GB, free: 33.81 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.318, allocations: 62.12 kB / 0.5687 GB, free: 33.81 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004872/0.3185, allocations: 193 kB / 0.5689 GB, free: 33.76 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.3187, allocations: 280.2 kB / 0.5692 GB, free: 33.61 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004067/0.3191, allocations: 0.6727 MB / 0.5698 GB, free: 33.15 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.3203, allocations: 1.803 MB / 0.5716 GB, free: 32.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3203, allocations: 2.938 kB / 0.5716 GB, free: 32.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3203, allocations: 4 kB / 0.5716 GB, free: 32.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.3203, allocations: 0 / 0.5716 GB, free: 32.48 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.00713/0.3275, allocations: 2.589 MB / 0.5741 GB, free: 31.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3275, allocations: 7.938 kB / 0.5741 GB, free: 31.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004664/0.3322, allocations: 0.8117 MB / 0.5749 GB, free: 31.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.3336, allocations: 0.9731 MB / 0.5759 GB, free: 30.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.3338, allocations: 234.7 kB / 0.5761 GB, free: 30.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.334, allocations: 104.1 kB / 0.5762 GB, free: 30.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.3363, allocations: 1.438 MB / 0.5776 GB, free: 29.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.743e-05/0.3363, allocations: 7.875 kB / 0.5776 GB, free: 29.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.3365, allocations: 54.05 kB / 0.5777 GB, free: 29.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.3365, allocations: 27.44 kB / 0.5777 GB, free: 29.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.3388, allocations: 1.31 MB / 0.579 GB, free: 29.19 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.005677/0.3445, allocations: 4.34 MB / 0.5832 GB, free: 26.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002841/0.3473, allocations: 1.895 MB / 0.5851 GB, free: 25.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.3487, allocations: 0.884 MB / 0.5859 GB, free: 25.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.3489, allocations: 19.33 kB / 0.5859 GB, free: 25.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3489, allocations: 52.72 kB / 0.586 GB, free: 25.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=115): time 2.886e-06/0.3489, allocations: 0 / 0.586 GB, free: 25.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.02596/0.3749, allocations: 7.413 MB / 0.5932 GB, free: 23.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.375, allocations: 140.9 kB / 0.5934 GB, free: 23.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.3767, allocations: 1.137 MB / 0.5945 GB, free: 23.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002127/0.3769, allocations: 46.02 kB / 0.5945 GB, free: 23.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.3772, allocations: 0.6131 MB / 0.5951 GB, free: 22.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/0.3776, allocations: 412.1 kB / 0.5955 GB, free: 22.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.3778, allocations: 133.3 kB / 0.5956 GB, free: 22.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.307e-05/0.3778, allocations: 302.1 kB / 0.5959 GB, free: 21.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.3795, allocations: 0.8556 MB / 0.5968 GB, free: 21.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.3812, allocations: 1.003 MB / 0.5977 GB, free: 21.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02052/0.4018, allocations: 5.166 MB / 0.6028 GB, free: 19.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.4018, allocations: 1.156 kB / 0.6028 GB, free: 19.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01482/0.4167, allocations: 4.694 MB / 0.6074 GB, free: 17.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.4168, allocations: 208.8 kB / 0.6076 GB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.4168, allocations: 8.719 kB / 0.6076 GB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006094/0.4229, allocations: 1.896 MB / 0.6094 GB, free: 16.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.4241, allocations: 234.8 kB / 0.6097 GB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01878/0.4429, allocations: 9.193 MB / 0.6186 GB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.4447, allocations: 210.7 kB / 0.6188 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.4448, allocations: 51.98 kB / 0.6189 GB, free: 8.465 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/0.4448, allocations: 4 kB / 0.6189 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0125/0.4574, allocations: 4.487 MB / 0.6233 GB, free: 3.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.4574, allocations: 4 kB / 0.6233 GB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005485/0.4629, allocations: 1.893 MB / 0.6251 GB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009809/0.4639, allocations: 227.6 kB / 0.6253 GB, free: 1.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/0.4832, allocations: 9.176 MB / 0.6343 GB, free: 8.523 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.4848, allocations: 186.8 kB / 0.6345 GB, free: 8.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.4849, allocations: 51.98 kB / 0.6345 GB, free: 8.289 MB / 442.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start fixed = true ) "State of block" type: Real tGTypeVI.integrator.y:VARIABLE(flow=false start = tGTypeVI.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(flow=false start = tGTypeVI.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator5.y:VARIABLE(flow=false start = tGTypeVI.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.switch1.u2,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0007514/0.4857, allocations: 392.3 kB / 0.6349 GB, free: 7.898 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.4859, allocations: 146.2 kB / 0.635 GB, free: 7.754 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/0.499, allocations: 4.306 MB / 0.6392 GB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.499, allocations: 12 kB / 0.6393 GB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.499, allocations: 0 / 0.6393 GB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.616e-05/0.4991, allocations: 3.984 kB / 0.6393 GB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/0.5144, allocations: 6.219 MB / 0.6453 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.5145, allocations: 0 / 0.6453 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/0.5152, allocations: 139.8 kB / 0.6455 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005601/0.5208, allocations: 1.835 MB / 0.6473 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.5209, allocations: 24 kB / 0.6473 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01749/0.5384, allocations: 7.869 MB / 0.655 GB, free: 3.055 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.5384, allocations: 0 / 0.655 GB, free: 3.055 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/0.5539, allocations: 5.459 MB / 0.6603 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005284/0.5545, allocations: 227 kB / 0.6605 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.5547, allocations: 27.94 kB / 0.6605 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.5559, allocations: 123.8 kB / 0.6607 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006374/0.5566, allocations: 200.6 kB / 0.6608 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.5566, allocations: 39.98 kB / 0.6609 GB, free: 12.95 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00105/0.5577, allocations: 0.7625 MB / 0.6616 GB, free: 12.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5577, allocations: 0 / 0.6616 GB, free: 12.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002255/0.56, allocations: 0.8151 MB / 0.6624 GB, free: 11.37 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.transferFunction.x_scaled[1],tGTypeVI.derivative.x) * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002946/0.5603, allocations: 144.6 kB / 0.6626 GB, free: 11.22 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01146/0.5718, allocations: 4.533 MB / 0.667 GB, free: 6.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5718, allocations: 0 / 0.667 GB, free: 6.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004446/0.5762, allocations: 1.647 MB / 0.6686 GB, free: 5.004 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.5775, allocations: 172 kB / 0.6688 GB, free: 4.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/0.5817, allocations: 3.063 MB / 0.6718 GB, free: 1.746 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007655/0.5825, allocations: 1.228 MB / 0.673 GB, free: 500 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006252/0.5831, allocations: 168.9 kB / 0.6731 GB, free: 328 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.5834, allocations: 75.42 kB / 0.6732 GB, free: 252 kB / 474.7 MB Notification: Performance of SimCode: time 1.773e-06/0.5834, allocations: 0 / 0.6732 GB, free: 252 kB / 474.7 MB Notification: Performance of Templates: time 0.04523/0.6286, allocations: 32.16 MB / 0.7046 GB, free: 128 kB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)