Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008635/0.0008636, allocations: 176.1 kB / 15.42 MB, free: 6.211 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.246/1.246, allocations: 222.9 MB / 239 MB, free: 84 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000752/0.0007521, allocations: 100.2 kB / 289.8 MB, free: 4.543 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3272/0.3272, allocations: 78.43 MB / 419 MB, free: 68 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.000397, allocations: 12.78 kB / 498.4 MB, free: 35.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3137, allocations: 68.74 MB / 0.5539 GB, free: 10.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test): time 0.007574/0.3213, allocations: 7.26 MB / 0.561 GB, free: 5.594 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004328/0.3257, allocations: 2.15 MB / 0.5631 GB, free: 4.059 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.3272, allocations: 20.84 kB / 0.5631 GB, free: 4.055 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009763/0.3282, allocations: 195.2 kB / 0.5633 GB, free: 3.969 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.3309, allocations: 0.6479 MB / 0.5639 GB, free: 3.535 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.3327, allocations: 0.7093 MB / 0.5646 GB, free: 3.125 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.3351, allocations: 1.537 MB / 0.5661 GB, free: 2.359 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006314/0.3358, allocations: 409.8 kB / 0.5665 GB, free: 2.129 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.3368, allocations: 0.5547 MB / 0.567 GB, free: 1.867 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007884/0.3376, allocations: 0.7094 MB / 0.5677 GB, free: 1.523 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.3378, allocations: 58.28 kB / 0.5678 GB, free: 1.523 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004994/0.3383, allocations: 188.6 kB / 0.568 GB, free: 1.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.3385, allocations: 246.9 kB / 0.5682 GB, free: 1.332 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004665/0.339, allocations: 0.6256 MB / 0.5688 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.3408, allocations: 1.66 MB / 0.5704 GB, free: 296 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.3409, allocations: 0 / 0.5704 GB, free: 296 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3409, allocations: 2.688 kB / 0.5704 GB, free: 296 kB / 378.7 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.3409, allocations: 0 / 0.5704 GB, free: 296 kB / 378.7 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.007977/0.3489, allocations: 2.448 MB / 0.5728 GB, free: 15.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3489, allocations: 9.781 kB / 0.5728 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005127/0.3541, allocations: 0.7903 MB / 0.5736 GB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.3557, allocations: 0.8743 MB / 0.5745 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002368/0.356, allocations: 234.7 kB / 0.5747 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.3562, allocations: 99.8 kB / 0.5748 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.3588, allocations: 1.34 MB / 0.5761 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.3589, allocations: 5.25 kB / 0.5761 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.359, allocations: 37.66 kB / 0.5761 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.359, allocations: 23.59 kB / 0.5762 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.3615, allocations: 1.2 MB / 0.5773 GB, free: 13.06 MB / 394.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.006569/0.3681, allocations: 4.245 MB / 0.5815 GB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/0.3713, allocations: 1.7 MB / 0.5831 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.3728, allocations: 0.83 MB / 0.5839 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.373, allocations: 12.94 kB / 0.584 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.373, allocations: 43.69 kB / 0.584 GB, free: 7.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=107): time 3.146e-06/0.373, allocations: 0 / 0.584 GB, free: 7.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=107): time 0.02767/0.4007, allocations: 7.333 MB / 0.5912 GB, free: 4.285 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.4008, allocations: 118 kB / 0.5913 GB, free: 4.156 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.4023, allocations: 1.016 MB / 0.5923 GB, free: 3.586 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002279/0.4026, allocations: 42.08 kB / 0.5923 GB, free: 3.543 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004404/0.403, allocations: 0.5713 MB / 0.5929 GB, free: 3.031 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003933/0.4034, allocations: 378.7 kB / 0.5932 GB, free: 2.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.4036, allocations: 121.6 kB / 0.5933 GB, free: 2.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4037, allocations: 353.9 kB / 0.5937 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.4052, allocations: 0.745 MB / 0.5944 GB, free: 1.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.4068, allocations: 0.9398 MB / 0.5953 GB, free: 452 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01769/0.4245, allocations: 4.929 MB / 0.6001 GB, free: 11.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.4246, allocations: 0 / 0.6001 GB, free: 11.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.01389/0.4385, allocations: 4.554 MB / 0.6046 GB, free: 6.883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.4386, allocations: 216.4 kB / 0.6048 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4386, allocations: 11.98 kB / 0.6048 GB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006046/0.4447, allocations: 1.897 MB / 0.6066 GB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000954/0.4457, allocations: 215.7 kB / 0.6069 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0204/0.4661, allocations: 9.166 MB / 0.6158 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.4677, allocations: 182.7 kB / 0.616 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.4679, allocations: 51.98 kB / 0.616 GB, free: 10.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/0.4679, allocations: 4 kB / 0.616 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01353/0.4814, allocations: 4.374 MB / 0.6203 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4815, allocations: 4 kB / 0.6203 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006032/0.4875, allocations: 1.897 MB / 0.6222 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/0.4885, allocations: 203.7 kB / 0.6224 GB, free: 4.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02004/0.5085, allocations: 9.15 MB / 0.6313 GB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.5101, allocations: 170.9 kB / 0.6315 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.5103, allocations: 47.98 kB / 0.6315 GB, free: 10.95 MB / 442.7 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.0007182/0.511, allocations: 369.6 kB / 0.6319 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/0.5113, allocations: 130.4 kB / 0.632 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/0.5246, allocations: 4.215 MB / 0.6361 GB, free: 6.215 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.5246, allocations: 8 kB / 0.6361 GB, free: 6.207 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.5246, allocations: 0 / 0.6361 GB, free: 6.207 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.5246, allocations: 7.984 kB / 0.6361 GB, free: 6.199 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.54, allocations: 5.972 MB / 0.6419 GB, free: 96 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.5401, allocations: 7.984 kB / 0.6419 GB, free: 88 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007038/0.5408, allocations: 119.8 kB / 0.6421 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005706/0.5465, allocations: 1.831 MB / 0.6438 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/0.5467, allocations: 23.98 kB / 0.6439 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01774/0.5644, allocations: 7.864 MB / 0.6516 GB, free: 6.102 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.5645, allocations: 7.922 kB / 0.6516 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/0.5801, allocations: 5.189 MB / 0.6566 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004635/0.5806, allocations: 211.2 kB / 0.6568 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/0.581, allocations: 24 kB / 0.6569 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.5821, allocations: 99.88 kB / 0.6569 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006152/0.5828, allocations: 204.6 kB / 0.6571 GB, free: 344 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.448e-05/0.5829, allocations: 24 kB / 0.6572 GB, free: 320 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009515/0.5838, allocations: 0.6777 MB / 0.6578 GB, free: 15.63 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5838, allocations: 0 / 0.6578 GB, free: 15.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002221/0.5861, allocations: 0.7723 MB / 0.6586 GB, free: 14.86 MB / 474.7 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.0002565/0.5863, allocations: 141.4 kB / 0.6587 GB, free: 14.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01174/0.5981, allocations: 4.339 MB / 0.663 GB, free: 10.35 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.5981, allocations: 4.5 kB / 0.663 GB, free: 10.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004551/0.6027, allocations: 1.583 MB / 0.6645 GB, free: 8.746 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.6041, allocations: 143.2 kB / 0.6646 GB, free: 8.609 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/0.6087, allocations: 2.774 MB / 0.6673 GB, free: 5.812 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008571/0.6096, allocations: 1.165 MB / 0.6685 GB, free: 4.613 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006988/0.6103, allocations: 124.3 kB / 0.6686 GB, free: 4.488 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.6106, allocations: 67.42 kB / 0.6687 GB, free: 4.422 MB / 474.7 MB Notification: Performance of SimCode: time 8.11e-07/0.6106, allocations: 0 / 0.6687 GB, free: 4.422 MB / 474.7 MB Notification: Performance of Templates: time 0.04699/0.6576, allocations: 30.89 MB / 0.6988 GB, free: 5.527 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)