Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.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 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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009307/0.0009307, allocations: 90.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 240 MB, free: 5.508 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.001133/0.001133, allocations: 179.5 kB / 291.3 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5196/0.5196, allocations: 91.92 MB / 434.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000412/0.0004122, allocations: 12 kB / 0.5054 GB, free: 7.238 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3624, allocations: 72.47 MB / 0.5762 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test): time 0.005549/0.368, allocations: 6.786 MB / 0.5828 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004163/0.3722, allocations: 2.151 MB / 0.5849 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.3737, allocations: 20.66 kB / 0.5849 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009266/0.3746, allocations: 194.5 kB / 0.5851 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.3771, allocations: 0.6481 MB / 0.5857 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.3788, allocations: 0.7028 MB / 0.5864 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002038/0.3808, allocations: 1.533 MB / 0.5879 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007314/0.3816, allocations: 409.2 kB / 0.5883 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009149/0.3825, allocations: 0.5639 MB / 0.5889 GB, free: 28.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009758/0.3835, allocations: 0.7017 MB / 0.5896 GB, free: 28.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003692/0.3839, allocations: 57.22 kB / 0.5896 GB, free: 28.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008181/0.3847, allocations: 188.8 kB / 0.5898 GB, free: 28.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003742/0.3851, allocations: 246.9 kB / 0.59 GB, free: 27.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008656/0.386, allocations: 0.647 MB / 0.5907 GB, free: 27.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.3873, allocations: 1.311 MB / 0.5919 GB, free: 27.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3873, allocations: 0 / 0.5919 GB, free: 27.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3874, allocations: 1 kB / 0.5919 GB, free: 27.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.287e-05/0.3874, allocations: 4 kB / 0.5919 GB, free: 27.12 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.008484/0.3959, allocations: 2.505 MB / 0.5944 GB, free: 26.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.396, allocations: 16.8 kB / 0.5944 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005371/0.4014, allocations: 0.7958 MB / 0.5952 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.4033, allocations: 0.8754 MB / 0.596 GB, free: 25.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.4036, allocations: 247.5 kB / 0.5963 GB, free: 25.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003447/0.4039, allocations: 97.78 kB / 0.5964 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003165/0.4071, allocations: 1.42 MB / 0.5978 GB, free: 24.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.4072, allocations: 3.938 kB / 0.5978 GB, free: 24.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.4073, allocations: 40.72 kB / 0.5978 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.4073, allocations: 23.44 kB / 0.5978 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00286/0.4102, allocations: 1.291 MB / 0.5991 GB, free: 24 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.007177/0.4174, allocations: 4.314 MB / 0.6033 GB, free: 21.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003623/0.421, allocations: 1.845 MB / 0.6051 GB, free: 20.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.4229, allocations: 0.8998 MB / 0.606 GB, free: 20 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.423, allocations: 23.5 kB / 0.606 GB, free: 20 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4231, allocations: 43.91 kB / 0.606 GB, free: 19.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 3.056e-06/0.4231, allocations: 0 / 0.606 GB, free: 19.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=107): time 0.03375/0.4568, allocations: 9.065 MB / 0.6149 GB, free: 18.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.457, allocations: 114.6 kB / 0.615 GB, free: 18.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.459, allocations: 1.013 MB / 0.616 GB, free: 17.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003294/0.4594, allocations: 47.16 kB / 0.616 GB, free: 17.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004643/0.4598, allocations: 0.5605 MB / 0.6166 GB, free: 17.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006151/0.4605, allocations: 392.1 kB / 0.617 GB, free: 17.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003795/0.4609, allocations: 116.4 kB / 0.6171 GB, free: 16.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.461, allocations: 360.6 kB / 0.6174 GB, free: 16.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/0.4631, allocations: 0.8196 MB / 0.6182 GB, free: 16.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.4653, allocations: 1.02 MB / 0.6192 GB, free: 15.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01984/0.4852, allocations: 5.436 MB / 0.6245 GB, free: 11.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.4852, allocations: 0 / 0.6245 GB, free: 11.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.01562/0.5008, allocations: 5.53 MB / 0.6299 GB, free: 6.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.501, allocations: 208.6 kB / 0.6301 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.501, allocations: 4 kB / 0.6301 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006586/0.5076, allocations: 2.225 MB / 0.6323 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.5088, allocations: 227.6 kB / 0.6325 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02507/0.5338, allocations: 10.29 MB / 0.6426 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.5359, allocations: 226.8 kB / 0.6428 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002987/0.5362, allocations: 47.98 kB / 0.6428 GB, free: 8.664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.5362, allocations: 4 kB / 0.6428 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01687/0.5531, allocations: 5.323 MB / 0.648 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/0.5532, allocations: 7.938 kB / 0.648 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007568/0.5608, allocations: 2.222 MB / 0.6502 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.5619, allocations: 207.7 kB / 0.6504 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02523/0.5872, allocations: 10.26 MB / 0.6604 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.5891, allocations: 199 kB / 0.6606 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/0.5894, allocations: 51.98 kB / 0.6607 GB, free: 6.242 MB / 462.1 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator.y:VARIABLE(flow=false start = tGTypeIII.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(flow=false start = tGTypeIII.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(flow=false start = tGTypeIII.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator3.y:VARIABLE(flow=false start = tGTypeIII.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: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 129 * 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.0009703/0.5904, allocations: 365.5 kB / 0.661 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004667/0.5908, allocations: 130.4 kB / 0.6611 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/0.6065, allocations: 5.172 MB / 0.6662 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.6066, allocations: 16 kB / 0.6662 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6066, allocations: 0 / 0.6662 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.561e-05/0.6066, allocations: 3.984 kB / 0.6662 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01934/0.626, allocations: 6.952 MB / 0.673 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.6261, allocations: 0 / 0.673 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007908/0.6269, allocations: 123.8 kB / 0.6731 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006895/0.6338, allocations: 2.168 MB / 0.6752 GB, free: 7.152 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002563/0.6341, allocations: 16 kB / 0.6752 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02201/0.6561, allocations: 8.832 MB / 0.6839 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6561, allocations: 3.938 kB / 0.6839 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/0.6748, allocations: 6.232 MB / 0.69 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005621/0.6754, allocations: 223.2 kB / 0.6902 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004564/0.6759, allocations: 16 kB / 0.6902 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.6774, allocations: 147.9 kB / 0.6903 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006886/0.6781, allocations: 200.7 kB / 0.6905 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.6782, allocations: 23.98 kB / 0.6905 GB, free: 7.289 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001012/0.6793, allocations: 0.6777 MB / 0.6912 GB, free: 6.605 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6793, allocations: 4 kB / 0.6912 GB, free: 6.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00257/0.6819, allocations: 0.7762 MB / 0.692 GB, free: 5.824 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.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 (70): * Single equations (assignments): 69 * 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.00031/0.6822, allocations: 135.2 kB / 0.6921 GB, free: 5.684 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01393/0.6961, allocations: 4.901 MB / 0.6969 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.6962, allocations: 3.938 kB / 0.6969 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005486/0.7017, allocations: 1.818 MB / 0.6987 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.7031, allocations: 140.7 kB / 0.6988 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/0.7078, allocations: 2.889 MB / 0.7016 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008549/0.7087, allocations: 1.169 MB / 0.7028 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/0.709, allocations: 83.36 kB / 0.7028 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.709, allocations: 0 / 0.7028 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.03323/0.7423, allocations: 23.58 MB / 0.7259 GB, free: 2.988 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)