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.005442/0.005442, allocations: 170.7 kB / 15.12 MB, free: 5.559 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.279/1.279, allocations: 223.2 MB / 239 MB, free: 1.727 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.0008801/0.0008801, allocations: 104.2 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4276/0.4276, allocations: 78.58 MB / 419.9 MB, free: 44.27 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004954, allocations: 8 kB / 499.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3335, allocations: 69.35 MB / 0.5558 GB, free: 38.8 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test): time 0.005747/0.3393, allocations: 6.348 MB / 0.562 GB, free: 37.27 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003526/0.3428, allocations: 2.255 MB / 0.5642 GB, free: 35.67 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000544/0.3434, allocations: 21.28 kB / 0.5642 GB, free: 35.67 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.344, allocations: 193.8 kB / 0.5644 GB, free: 35.58 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.3455, allocations: 0.7051 MB / 0.5651 GB, free: 35.1 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.3468, allocations: 0.6568 MB / 0.5657 GB, free: 34.76 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.3482, allocations: 1.123 MB / 0.5668 GB, free: 34.15 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006616/0.3489, allocations: 400.8 kB / 0.5672 GB, free: 33.96 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006762/0.3496, allocations: 0.6037 MB / 0.5678 GB, free: 33.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006342/0.3502, allocations: 0.7274 MB / 0.5685 GB, free: 33.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.3503, allocations: 60.06 kB / 0.5686 GB, free: 33.34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003721/0.3507, allocations: 176 kB / 0.5687 GB, free: 33.31 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.3509, allocations: 270.2 kB / 0.569 GB, free: 33.16 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.3511, allocations: 266.9 kB / 0.5692 GB, free: 32.98 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009597/0.3521, allocations: 1.382 MB / 0.5706 GB, free: 32.58 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3521, allocations: 0 / 0.5706 GB, free: 32.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3521, allocations: 0 / 0.5706 GB, free: 32.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.3521, allocations: 2.812 kB / 0.5706 GB, free: 32.58 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.007265/0.3594, allocations: 2.684 MB / 0.5732 GB, free: 31.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.3594, allocations: 11.59 kB / 0.5732 GB, free: 31.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/0.364, allocations: 0.8112 MB / 0.574 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.3653, allocations: 0.9256 MB / 0.5749 GB, free: 30.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.3655, allocations: 244.9 kB / 0.5751 GB, free: 30.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.3657, allocations: 106.7 kB / 0.5752 GB, free: 30.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.3681, allocations: 1.501 MB / 0.5767 GB, free: 29.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3682, allocations: 6.938 kB / 0.5767 GB, free: 29.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.3683, allocations: 44.98 kB / 0.5768 GB, free: 29.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.3683, allocations: 22.84 kB / 0.5768 GB, free: 29.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/0.3708, allocations: 1.411 MB / 0.5782 GB, free: 29.32 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.005767/0.3766, allocations: 4.422 MB / 0.5825 GB, free: 26.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/0.3798, allocations: 2.053 MB / 0.5845 GB, free: 25.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.825e-05/0.3799, allocations: 19.95 kB / 0.5845 GB, free: 25.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.38, allocations: 53.41 kB / 0.5846 GB, free: 25.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=115): time 3.467e-06/0.38, allocations: 0 / 0.5846 GB, free: 25.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.0291/0.4091, allocations: 9.113 MB / 0.5935 GB, free: 24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.4092, allocations: 141.3 kB / 0.5936 GB, free: 23.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.4108, allocations: 1.124 MB / 0.5947 GB, free: 23.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002291/0.411, allocations: 45.67 kB / 0.5947 GB, free: 23.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.4114, allocations: 0.6133 MB / 0.5953 GB, free: 22.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000329/0.4117, allocations: 412.3 kB / 0.5957 GB, free: 22.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/0.4118, allocations: 30.91 kB / 0.5958 GB, free: 22.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.4119, allocations: 360.9 kB / 0.5961 GB, free: 22.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/0.4138, allocations: 0.9273 MB / 0.597 GB, free: 21.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.4156, allocations: 1.081 MB / 0.5981 GB, free: 21.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.4175, allocations: 0.9473 MB / 0.599 GB, free: 20.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.4175, allocations: 1.719 kB / 0.599 GB, free: 20.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01648/0.434, allocations: 5.647 MB / 0.6045 GB, free: 19.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002871/0.4343, allocations: 1.593 MB / 0.6061 GB, free: 18.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.4343, allocations: 4.438 kB / 0.6061 GB, free: 18.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007274/0.4416, allocations: 2.227 MB / 0.6082 GB, free: 17.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.4429, allocations: 252 kB / 0.6085 GB, free: 17.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02264/0.4656, allocations: 10.78 MB / 0.619 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.4674, allocations: 258.7 kB / 0.6193 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.4676, allocations: 52 kB / 0.6193 GB, free: 8.668 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.4676, allocations: 4 kB / 0.6193 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01393/0.4815, allocations: 5.433 MB / 0.6246 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.4816, allocations: 4 kB / 0.6246 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006277/0.4878, allocations: 2.229 MB / 0.6268 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.489, allocations: 231.6 kB / 0.627 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02313/0.5121, allocations: 10.74 MB / 0.6375 GB, free: 5.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.5139, allocations: 226.8 kB / 0.6377 GB, free: 5.645 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.514, allocations: 51.98 kB / 0.6378 GB, free: 5.594 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.transferFunction.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.integrator5.y:VARIABLE(flow=false start = tGTypeVI.integrator5.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.integrator.y:VARIABLE(flow=false start = tGTypeVI.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: 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 (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.000704/0.5147, allocations: 393.5 kB / 0.6381 GB, free: 5.203 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.515, allocations: 142.2 kB / 0.6383 GB, free: 5.062 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/0.5303, allocations: 5.271 MB / 0.6434 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.5303, allocations: 8 kB / 0.6434 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5303, allocations: 15.94 kB / 0.6435 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.5303, allocations: 3.984 kB / 0.6435 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/0.5477, allocations: 7.176 MB / 0.6505 GB, free: 8.438 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.5477, allocations: 4 kB / 0.6505 GB, free: 8.434 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007383/0.5485, allocations: 143.8 kB / 0.6506 GB, free: 8.293 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006538/0.555, allocations: 2.156 MB / 0.6527 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.5551, allocations: 27.98 kB / 0.6527 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02076/0.5759, allocations: 9.317 MB / 0.6618 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5759, allocations: 0 / 0.6618 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01747/0.5934, allocations: 6.525 MB / 0.6682 GB, free: 6.094 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/0.5938, allocations: 238.9 kB / 0.6684 GB, free: 5.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.594, allocations: 27.95 kB / 0.6685 GB, free: 5.812 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.5952, allocations: 163.9 kB / 0.6686 GB, free: 5.652 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004913/0.5957, allocations: 208.6 kB / 0.6688 GB, free: 5.449 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.8e-05/0.5958, allocations: 27.98 kB / 0.6688 GB, free: 5.422 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001067/0.5969, allocations: 0.7546 MB / 0.6696 GB, free: 4.664 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5969, allocations: 0 / 0.6696 GB, free: 4.664 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002014/0.5989, allocations: 0.8228 MB / 0.6704 GB, free: 3.84 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 (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.0002364/0.5992, allocations: 135.2 kB / 0.6705 GB, free: 3.699 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01286/0.612, allocations: 5.078 MB / 0.6755 GB, free: 14.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.6121, allocations: 0 / 0.6755 GB, free: 14.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005087/0.6172, allocations: 1.888 MB / 0.6773 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008859/0.6181, allocations: 135.2 kB / 0.6774 GB, free: 12.56 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.6222, allocations: 3.03 MB / 0.6804 GB, free: 9.516 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.6229, allocations: 1.256 MB / 0.6816 GB, free: 8.227 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000632/0.6236, allocations: 172.9 kB / 0.6818 GB, free: 8.055 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.6238, allocations: 75.42 kB / 0.6819 GB, free: 7.98 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6238, allocations: 4 kB / 0.6819 GB, free: 7.977 MB / 490.7 MB Notification: Performance of Templates: time 0.04253/0.6664, allocations: 31.21 MB / 0.7124 GB, free: 8.789 MB / 0.5105 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)