Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004797/0.004796, allocations: 167 kB / 15.13 MB, free: 6.02 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.249/1.249, allocations: 223.3 MB / 239.1 MB, free: 15.98 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.0007894/0.0007895, allocations: 97.45 kB / 290.3 MB, free: 4.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4305/0.4305, allocations: 78.62 MB / 420 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 12 kB / 499.9 MB, free: 7.234 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1121, allocations: 69.36 MB / 0.5559 GB, free: 1.812 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test): time 0.005902/0.118, allocations: 6.438 MB / 0.5622 GB, free: 11.34 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003183/0.1212, allocations: 2.087 MB / 0.5642 GB, free: 9.25 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004282/0.1217, allocations: 19.94 kB / 0.5643 GB, free: 9.23 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004039/0.1221, allocations: 186.5 kB / 0.5644 GB, free: 9.047 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.1234, allocations: 0.6098 MB / 0.565 GB, free: 8.434 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1246, allocations: 0.6379 MB / 0.5657 GB, free: 7.805 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.1259, allocations: 1.488 MB / 0.5671 GB, free: 6.312 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004587/0.1264, allocations: 365.7 kB / 0.5675 GB, free: 5.93 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.1269, allocations: 0.5403 MB / 0.568 GB, free: 5.387 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006408/0.1275, allocations: 0.6997 MB / 0.5687 GB, free: 4.684 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.1277, allocations: 60 kB / 0.5687 GB, free: 4.625 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.128, allocations: 187.9 kB / 0.5689 GB, free: 4.441 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.1282, allocations: 246.7 kB / 0.5691 GB, free: 4.199 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.1284, allocations: 256.9 kB / 0.5694 GB, free: 3.941 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.1295, allocations: 1.348 MB / 0.5707 GB, free: 2.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1295, allocations: 0 / 0.5707 GB, free: 2.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1295, allocations: 0 / 0.5707 GB, free: 2.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.1295, allocations: 0 / 0.5707 GB, free: 2.59 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.2014/0.3309, allocations: 2.564 MB / 0.5732 GB, free: 43.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.331, allocations: 7.344 kB / 0.5732 GB, free: 43.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00508/0.336, allocations: 0.8078 MB / 0.574 GB, free: 43.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.3374, allocations: 0.866 MB / 0.5748 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.3376, allocations: 241.4 kB / 0.5751 GB, free: 43.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.3378, allocations: 103 kB / 0.5752 GB, free: 43.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.3403, allocations: 1.444 MB / 0.5766 GB, free: 43.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.3404, allocations: 0.5 kB / 0.5766 GB, free: 43.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.3405, allocations: 40.5 kB / 0.5766 GB, free: 43.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.3405, allocations: 26.98 kB / 0.5767 GB, free: 43.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.3431, allocations: 1.303 MB / 0.5779 GB, free: 43.23 MB / 442.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.005518/0.3486, allocations: 4.55 MB / 0.5824 GB, free: 41.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/0.3518, allocations: 1.857 MB / 0.5842 GB, free: 40.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.3535, allocations: 0.9055 MB / 0.5851 GB, free: 40.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.63e-05/0.3536, allocations: 16.05 kB / 0.5851 GB, free: 40.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3536, allocations: 45.25 kB / 0.5851 GB, free: 40.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=110): time 2.695e-06/0.3536, allocations: 0 / 0.5851 GB, free: 40.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=110): time 0.02952/0.3831, allocations: 8.693 MB / 0.5936 GB, free: 40.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.3832, allocations: 120.8 kB / 0.5937 GB, free: 40.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.3844, allocations: 1.042 MB / 0.5947 GB, free: 39.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.3846, allocations: 47.61 kB / 0.5948 GB, free: 39.56 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.3848, allocations: 0.5783 MB / 0.5954 GB, free: 39.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.3851, allocations: 398.2 kB / 0.5957 GB, free: 38.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/0.3852, allocations: 30.41 kB / 0.5958 GB, free: 38.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.3853, allocations: 357 kB / 0.5961 GB, free: 38.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.3868, allocations: 0.8218 MB / 0.5969 GB, free: 38.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.3883, allocations: 1.035 MB / 0.5979 GB, free: 37.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.3899, allocations: 0.9062 MB / 0.5988 GB, free: 37.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.39, allocations: 7.281 kB / 0.5988 GB, free: 37.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.0147/0.4047, allocations: 5.53 MB / 0.6042 GB, free: 36.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.817e-05/0.4048, allocations: 222.6 kB / 0.6044 GB, free: 35.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.4048, allocations: 6.125 kB / 0.6044 GB, free: 35.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006602/0.4114, allocations: 2.226 MB / 0.6066 GB, free: 35.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.4125, allocations: 224.8 kB / 0.6068 GB, free: 35.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02266/0.4352, allocations: 10.27 MB / 0.6168 GB, free: 31.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.4369, allocations: 233.5 kB / 0.6171 GB, free: 30.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.4372, allocations: 50.05 kB / 0.6171 GB, free: 30.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.4372, allocations: 3.969 kB / 0.6171 GB, free: 30.97 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01563/0.4528, allocations: 5.328 MB / 0.6223 GB, free: 29.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.4529, allocations: 3.344 kB / 0.6223 GB, free: 29.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007196/0.4601, allocations: 2.227 MB / 0.6245 GB, free: 29.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.4612, allocations: 215.7 kB / 0.6247 GB, free: 29.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02172/0.4829, allocations: 10.25 MB / 0.6347 GB, free: 22.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.4846, allocations: 202.3 kB / 0.6349 GB, free: 22.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/0.4848, allocations: 44.5 kB / 0.635 GB, free: 22.56 MB / 442.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(flow=false start = tGTypeIV.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(flow=false start = tGTypeIV.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(flow=false start = tGTypeIV.integrator4.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(flow=false start = tGTypeIV.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(flow=false start = tGTypeIV.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: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * 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.000777/0.4856, allocations: 380.1 kB / 0.6353 GB, free: 22.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.4859, allocations: 138.3 kB / 0.6355 GB, free: 22.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/0.5002, allocations: 5.16 MB / 0.6405 GB, free: 17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.5002, allocations: 13.78 kB / 0.6405 GB, free: 16.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.5002, allocations: 4 kB / 0.6405 GB, free: 16.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.5002, allocations: 3.984 kB / 0.6405 GB, free: 16.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.516, allocations: 6.988 MB / 0.6473 GB, free: 9.887 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.516, allocations: 0 / 0.6473 GB, free: 9.887 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.5166, allocations: 128.8 kB / 0.6475 GB, free: 9.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00619/0.5228, allocations: 2.155 MB / 0.6496 GB, free: 7.605 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.523, allocations: 20 kB / 0.6496 GB, free: 7.586 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/0.5413, allocations: 8.842 MB / 0.6582 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5414, allocations: 0 / 0.6582 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01743/0.5588, allocations: 6.253 MB / 0.6643 GB, free: 8.348 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/0.5593, allocations: 227.1 kB / 0.6645 GB, free: 8.105 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002841/0.5596, allocations: 16 kB / 0.6646 GB, free: 8.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.5609, allocations: 147.9 kB / 0.6647 GB, free: 7.945 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005536/0.5614, allocations: 200.6 kB / 0.6649 GB, free: 7.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.631e-05/0.5615, allocations: 27.98 kB / 0.6649 GB, free: 7.723 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009711/0.5625, allocations: 0.6945 MB / 0.6656 GB, free: 7.023 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5625, allocations: 0 / 0.6656 GB, free: 7.023 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002225/0.5647, allocations: 0.7943 MB / 0.6664 GB, free: 6.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.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 (73): * Single equations (assignments): 72 * 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.0002483/0.565, allocations: 131.1 kB / 0.6665 GB, free: 6.094 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01284/0.5778, allocations: 4.917 MB / 0.6713 GB, free: 1.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5779, allocations: 0 / 0.6713 GB, free: 1.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005071/0.583, allocations: 1.843 MB / 0.6731 GB, free: 15.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/0.5839, allocations: 132.7 kB / 0.6732 GB, free: 15.19 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.588, allocations: 2.823 MB / 0.676 GB, free: 12.38 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/0.5886, allocations: 1.181 MB / 0.6771 GB, free: 11.16 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005707/0.5892, allocations: 129.2 kB / 0.6773 GB, free: 11.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.5895, allocations: 79.36 kB / 0.6773 GB, free: 10.96 MB / 474.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5895, allocations: 0 / 0.6773 GB, free: 10.96 MB / 474.7 MB Notification: Performance of Templates: time 0.04316/0.6326, allocations: 30.4 MB / 0.707 GB, free: 12.68 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)