Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 112.6 kB / 16.37 MB, free: 6 MB / 14.72 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: 222.9 MB / 240 MB, free: 4.543 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.001302/0.001302, allocations: 196.5 kB / 290.3 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4433/0.4433, allocations: 78.54 MB / 419 MB, free: 3.102 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 79.88 kB / 498.9 MB, free: 5.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1424, allocations: 68.17 MB / 0.5538 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.2166/0.359, allocations: 6.041 MB / 0.5597 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003558/0.3626, allocations: 1.784 MB / 0.5614 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009241/0.3635, allocations: 9.531 kB / 0.5614 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006896/0.3643, allocations: 212.7 kB / 0.5616 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.3662, allocations: 0.6987 MB / 0.5623 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.3673, allocations: 0.5743 MB / 0.5629 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.3686, allocations: 1.337 MB / 0.5642 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003572/0.369, allocations: 290.9 kB / 0.5645 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005134/0.3695, allocations: 0.5563 MB / 0.565 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005835/0.3701, allocations: 0.6956 MB / 0.5657 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.3702, allocations: 98.03 kB / 0.5658 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.3706, allocations: 240.8 kB / 0.566 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.3708, allocations: 259.7 kB / 0.5663 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.3712, allocations: 0.5745 MB / 0.5668 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.3723, allocations: 1.445 MB / 0.5682 GB, free: 34.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3723, allocations: 1.031 kB / 0.5682 GB, free: 34.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3723, allocations: 0 / 0.5682 GB, free: 34.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.209e-05/0.3723, allocations: 1.656 kB / 0.5682 GB, free: 34.34 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006899/0.3792, allocations: 2.443 MB / 0.5706 GB, free: 33.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3793, allocations: 10.22 kB / 0.5706 GB, free: 33.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004665/0.384, allocations: 0.7664 MB / 0.5714 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.3851, allocations: 0.7407 MB / 0.5721 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.3853, allocations: 252.3 kB / 0.5723 GB, free: 32.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.3855, allocations: 75.75 kB / 0.5724 GB, free: 32.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.3873, allocations: 1.083 MB / 0.5735 GB, free: 32.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.3873, allocations: 0.75 kB / 0.5735 GB, free: 32.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.499e-05/0.3874, allocations: 30.42 kB / 0.5735 GB, free: 32.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.3875, allocations: 18.38 kB / 0.5735 GB, free: 32.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.3893, allocations: 1.037 MB / 0.5745 GB, free: 32.75 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.00424/0.3936, allocations: 3.053 MB / 0.5775 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.3959, allocations: 1.567 MB / 0.579 GB, free: 31.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.3971, allocations: 0.7551 MB / 0.5798 GB, free: 30.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.3972, allocations: 19.2 kB / 0.5798 GB, free: 30.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.3973, allocations: 41.3 kB / 0.5798 GB, free: 30.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.254e-06/0.3973, allocations: 2.688 kB / 0.5798 GB, free: 30.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.02782/0.4251, allocations: 7.466 MB / 0.5871 GB, free: 29.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.4252, allocations: 66.7 kB / 0.5872 GB, free: 29.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.4267, allocations: 0.8439 MB / 0.588 GB, free: 28.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003321/0.427, allocations: 41.45 kB / 0.5881 GB, free: 28.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.4274, allocations: 453.8 kB / 0.5885 GB, free: 28.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/0.4278, allocations: 329.8 kB / 0.5888 GB, free: 28.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005016/0.4284, allocations: 199.2 kB / 0.589 GB, free: 28.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4285, allocations: 352.7 kB / 0.5893 GB, free: 27.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.4301, allocations: 0.6944 MB / 0.59 GB, free: 27.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.4319, allocations: 0.8128 MB / 0.5908 GB, free: 27.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003336/0.4353, allocations: 1.498 MB / 0.5923 GB, free: 26.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.4353, allocations: 1.062 kB / 0.5923 GB, free: 26.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01522/0.4505, allocations: 4.355 MB / 0.5965 GB, free: 25.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.4506, allocations: 7.969 kB / 0.5965 GB, free: 25.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.4506, allocations: 2.562 kB / 0.5965 GB, free: 25.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006901/0.4575, allocations: 1.896 MB / 0.5984 GB, free: 25.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.4587, allocations: 173 kB / 0.5985 GB, free: 25.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02274/0.4815, allocations: 9.965 MB / 0.6083 GB, free: 20.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.483, allocations: 160.2 kB / 0.6084 GB, free: 20.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.4831, allocations: 43.14 kB / 0.6085 GB, free: 20.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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.0004117/0.4835, allocations: 222.7 kB / 0.6087 GB, free: 20.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.4837, allocations: 111.5 kB / 0.6088 GB, free: 20 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/0.4956, allocations: 4.055 MB / 0.6127 GB, free: 17.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.4957, allocations: 9.406 kB / 0.6128 GB, free: 17.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4957, allocations: 0 / 0.6128 GB, free: 17.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/0.4957, allocations: 4.859 kB / 0.6128 GB, free: 17.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.5085, allocations: 5.637 MB / 0.6183 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.5086, allocations: 4 kB / 0.6183 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006039/0.5092, allocations: 91.89 kB / 0.6184 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005181/0.5144, allocations: 1.828 MB / 0.6201 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.5146, allocations: 24 kB / 0.6202 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01641/0.531, allocations: 8.633 MB / 0.6286 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.531, allocations: 4 kB / 0.6286 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/0.5447, allocations: 4.963 MB / 0.6334 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004953/0.5453, allocations: 195.6 kB / 0.6336 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000292/0.5456, allocations: 16 kB / 0.6336 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5466, allocations: 91.89 kB / 0.6337 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006809/0.5473, allocations: 208.6 kB / 0.6339 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/0.5474, allocations: 20.94 kB / 0.634 GB, free: 11.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007477/0.5481, allocations: 0.5706 MB / 0.6345 GB, free: 11.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5482, allocations: 0 / 0.6345 GB, free: 11.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001501/0.5497, allocations: 431.6 kB / 0.6349 GB, free: 10.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * 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 (55): * Single equations (assignments): 54 * 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.000296/0.55, allocations: 138.4 kB / 0.6351 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006315/0.5563, allocations: 2.45 MB / 0.6374 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5563, allocations: 0 / 0.6374 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004494/0.5608, allocations: 1.568 MB / 0.639 GB, free: 6.734 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/0.5617, allocations: 88.94 kB / 0.6391 GB, free: 6.645 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.5657, allocations: 1.97 MB / 0.641 GB, free: 4.695 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/0.5664, allocations: 1.057 MB / 0.642 GB, free: 3.613 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003531/0.5667, allocations: 84.36 kB / 0.6421 GB, free: 3.527 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.5669, allocations: 63.44 kB / 0.6422 GB, free: 3.465 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5669, allocations: 4 kB / 0.6422 GB, free: 3.461 MB / 446.1 MB Notification: Performance of Templates: time 0.03949/0.6064, allocations: 24.17 MB / 0.6658 GB, free: 11.46 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)