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.001663/0.001663, allocations: 169.5 kB / 16.1 MB, free: 5.691 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.403/1.403, allocations: 223.3 MB / 240.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 97.44 kB / 291.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4761/0.4761, allocations: 78.61 MB / 421 MB, free: 9.086 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004095, allocations: 12 kB / 0.4894 GB, free: 9.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3338, allocations: 69.35 MB / 0.5571 GB, free: 18.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test): time 0.004984/0.3388, allocations: 6.762 MB / 0.5637 GB, free: 11.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003779/0.3426, allocations: 2.143 MB / 0.5658 GB, free: 9.832 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006932/0.3433, allocations: 19.94 kB / 0.5659 GB, free: 9.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004909/0.3438, allocations: 190.7 kB / 0.566 GB, free: 9.625 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.3454, allocations: 0.6508 MB / 0.5667 GB, free: 8.977 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.3468, allocations: 0.708 MB / 0.5674 GB, free: 8.277 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.348, allocations: 1.534 MB / 0.5689 GB, free: 6.734 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004872/0.3486, allocations: 409.9 kB / 0.5693 GB, free: 6.305 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005042/0.3491, allocations: 0.5635 MB / 0.5698 GB, free: 5.738 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005355/0.3496, allocations: 0.7034 MB / 0.5705 GB, free: 5.031 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.3498, allocations: 56 kB / 0.5705 GB, free: 4.977 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004086/0.3502, allocations: 195.8 kB / 0.5707 GB, free: 4.785 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.3504, allocations: 246.6 kB / 0.571 GB, free: 4.543 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.3507, allocations: 0.6459 MB / 0.5716 GB, free: 3.887 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008595/0.3516, allocations: 1.309 MB / 0.5729 GB, free: 2.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3516, allocations: 4 kB / 0.5729 GB, free: 2.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3516, allocations: 0 / 0.5729 GB, free: 2.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.3516, allocations: 0 / 0.5729 GB, free: 2.57 MB / 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.006659/0.3583, allocations: 2.506 MB / 0.5753 GB, free: 12 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3584, allocations: 12.03 kB / 0.5753 GB, free: 0 / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004781/0.3631, allocations: 0.8059 MB / 0.5761 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.3645, allocations: 0.8745 MB / 0.577 GB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/0.3648, allocations: 246.4 kB / 0.5772 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.365, allocations: 96 kB / 0.5773 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.3675, allocations: 1.415 MB / 0.5787 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.3676, allocations: 7.875 kB / 0.5787 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.3677, allocations: 36 kB / 0.5787 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.3677, allocations: 24 kB / 0.5788 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.3703, allocations: 1.292 MB / 0.58 GB, free: 11.08 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.006144/0.3764, allocations: 4.322 MB / 0.5842 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003308/0.3797, allocations: 1.842 MB / 0.586 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.3814, allocations: 0.9005 MB / 0.5869 GB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.3815, allocations: 16.98 kB / 0.5869 GB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.3816, allocations: 51.48 kB / 0.587 GB, free: 3.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=107): time 2.595e-06/0.3816, allocations: 0 / 0.587 GB, free: 3.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=107): time 0.02932/0.4109, allocations: 9.062 MB / 0.5958 GB, free: 10.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/0.411, allocations: 115.8 kB / 0.5959 GB, free: 10.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.4125, allocations: 1.018 MB / 0.5969 GB, free: 9.395 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.4127, allocations: 45.7 kB / 0.597 GB, free: 9.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.4131, allocations: 0.5632 MB / 0.5975 GB, free: 8.773 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/0.4135, allocations: 386.5 kB / 0.5979 GB, free: 8.391 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.4137, allocations: 117.6 kB / 0.598 GB, free: 8.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4139, allocations: 361.9 kB / 0.5984 GB, free: 7.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.4156, allocations: 0.8153 MB / 0.5992 GB, free: 7.098 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.4174, allocations: 1.022 MB / 0.6001 GB, free: 6.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01869/0.4361, allocations: 5.437 MB / 0.6055 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.4362, allocations: 0 / 0.6055 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.01559/0.4518, allocations: 5.526 MB / 0.6109 GB, free: 10.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.452, allocations: 212.5 kB / 0.6111 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.452, allocations: 7.938 kB / 0.6111 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006868/0.4589, allocations: 2.221 MB / 0.6132 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.46, allocations: 219.6 kB / 0.6134 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02323/0.4832, allocations: 10.28 MB / 0.6235 GB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.485, allocations: 242.6 kB / 0.6237 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.4851, allocations: 43.98 kB / 0.6238 GB, free: 13.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.4851, allocations: 4 kB / 0.6238 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01477/0.4999, allocations: 5.319 MB / 0.629 GB, free: 8.234 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.5, allocations: 4 kB / 0.629 GB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006713/0.5067, allocations: 2.225 MB / 0.6311 GB, free: 6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.5077, allocations: 203.7 kB / 0.6313 GB, free: 5.801 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02305/0.5308, allocations: 10.26 MB / 0.6413 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.5325, allocations: 203 kB / 0.6415 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.5326, allocations: 43.98 kB / 0.6416 GB, free: 11.15 MB / 458.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.0007086/0.5333, allocations: 372.1 kB / 0.6419 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.5335, allocations: 130.4 kB / 0.6421 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/0.5478, allocations: 5.176 MB / 0.6471 GB, free: 5.449 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.5478, allocations: 12 kB / 0.6471 GB, free: 5.438 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5478, allocations: 0 / 0.6471 GB, free: 5.438 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.5479, allocations: 7.984 kB / 0.6471 GB, free: 5.43 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/0.5644, allocations: 6.948 MB / 0.6539 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.5645, allocations: 0 / 0.6539 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005944/0.5651, allocations: 123.9 kB / 0.654 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006234/0.5713, allocations: 2.172 MB / 0.6562 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.5714, allocations: 20 kB / 0.6562 GB, free: 12.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01892/0.5904, allocations: 8.829 MB / 0.6648 GB, free: 3.059 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5904, allocations: 0 / 0.6648 GB, free: 3.059 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/0.6067, allocations: 6.232 MB / 0.6709 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/0.6072, allocations: 227.1 kB / 0.6711 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.6074, allocations: 16 kB / 0.6711 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.6084, allocations: 147.9 kB / 0.6713 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005504/0.609, allocations: 196.7 kB / 0.6714 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.6091, allocations: 27.98 kB / 0.6715 GB, free: 12.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009422/0.61, allocations: 0.6777 MB / 0.6721 GB, free: 11.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.61, allocations: 4 kB / 0.6721 GB, free: 11.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002265/0.6123, allocations: 0.7762 MB / 0.6729 GB, free: 10.72 MB / 490.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.0002845/0.6126, allocations: 145.5 kB / 0.673 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01225/0.6249, allocations: 4.885 MB / 0.6778 GB, free: 5.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.6249, allocations: 0 / 0.6778 GB, free: 5.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004818/0.6297, allocations: 1.826 MB / 0.6796 GB, free: 3.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.6309, allocations: 135.9 kB / 0.6797 GB, free: 3.691 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/0.6354, allocations: 2.897 MB / 0.6825 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2582/0.8936, allocations: 1.163 MB / 0.6837 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/0.8941, allocations: 74.72 kB / 0.6838 GB, free: 115.8 MB / 490.7 MB Notification: Performance of SimCode: time 6.92e-07/0.8941, allocations: 5.219 kB / 0.6838 GB, free: 115.8 MB / 490.7 MB Notification: Performance of Templates: time 0.03113/0.9253, allocations: 23.58 MB / 0.7068 GB, free: 104.6 MB / 490.7 MB 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)