Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000957/0.000957, allocations: 178 kB / 15.42 MB, free: 6.215 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.26/1.26, allocations: 222.9 MB / 239 MB, free: 1.797 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008419/0.000842, allocations: 107.2 kB / 289.8 MB, free: 14.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4403/0.4403, allocations: 78.42 MB / 418.9 MB, free: 44.26 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 12 kB / 498.4 MB, free: 3.855 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3174, allocations: 68.75 MB / 0.5539 GB, free: 39.8 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.00582/0.3232, allocations: 6.643 MB / 0.5604 GB, free: 37.22 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.3266, allocations: 1.992 MB / 0.5623 GB, free: 36.41 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005499/0.3271, allocations: 15.72 kB / 0.5623 GB, free: 36.41 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.3277, allocations: 186.7 kB / 0.5625 GB, free: 36.34 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.3292, allocations: 0.6456 MB / 0.5631 GB, free: 36.04 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.3305, allocations: 0.6149 MB / 0.5637 GB, free: 35.92 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.332, allocations: 1.385 MB / 0.5651 GB, free: 35.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004115/0.3324, allocations: 288.1 kB / 0.5654 GB, free: 35.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006915/0.3331, allocations: 0.5238 MB / 0.5659 GB, free: 35.36 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00068/0.3338, allocations: 0.6736 MB / 0.5665 GB, free: 35.14 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.334, allocations: 53.47 kB / 0.5666 GB, free: 35.14 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004634/0.3344, allocations: 183.6 kB / 0.5668 GB, free: 35.09 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.3347, allocations: 230.2 kB / 0.567 GB, free: 34.96 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.3351, allocations: 0.5545 MB / 0.5675 GB, free: 34.6 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.3363, allocations: 1.446 MB / 0.5689 GB, free: 34.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3363, allocations: 2.562 kB / 0.5689 GB, free: 34.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3363, allocations: 0 / 0.5689 GB, free: 34.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.3363, allocations: 0 / 0.5689 GB, free: 34.05 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.006714/0.3431, allocations: 2.32 MB / 0.5712 GB, free: 33.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3431, allocations: 8.781 kB / 0.5712 GB, free: 33.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004507/0.3476, allocations: 0.7722 MB / 0.572 GB, free: 32.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.3487, allocations: 0.824 MB / 0.5728 GB, free: 32.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.3489, allocations: 216.5 kB / 0.573 GB, free: 32.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.349, allocations: 75 kB / 0.5731 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.3508, allocations: 1.133 MB / 0.5742 GB, free: 31.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3509, allocations: 3.938 kB / 0.5742 GB, free: 31.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.967e-05/0.3509, allocations: 29.78 kB / 0.5742 GB, free: 31.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.351, allocations: 16.91 kB / 0.5742 GB, free: 31.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.3528, allocations: 1.079 MB / 0.5753 GB, free: 31.29 MB / 426.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.004232/0.3571, allocations: 3.157 MB / 0.5783 GB, free: 29.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.3595, allocations: 1.594 MB / 0.5799 GB, free: 28.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.3607, allocations: 0.7646 MB / 0.5807 GB, free: 28.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.3608, allocations: 13.48 kB / 0.5807 GB, free: 28.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.3609, allocations: 44.83 kB / 0.5807 GB, free: 28.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 2.945e-06/0.3609, allocations: 0 / 0.5807 GB, free: 28.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.02393/0.3848, allocations: 7.062 MB / 0.5876 GB, free: 26.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3849, allocations: 91.36 kB / 0.5877 GB, free: 26.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.3862, allocations: 0.9453 MB / 0.5886 GB, free: 26.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.3863, allocations: 45.42 kB / 0.5887 GB, free: 26.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.3866, allocations: 493.4 kB / 0.5891 GB, free: 26.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.3869, allocations: 335.1 kB / 0.5894 GB, free: 25.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.387, allocations: 103.7 kB / 0.5895 GB, free: 25.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.988e-05/0.3871, allocations: 359.5 kB / 0.5899 GB, free: 25.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.3884, allocations: 0.6993 MB / 0.5906 GB, free: 25.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.3898, allocations: 0.8348 MB / 0.5914 GB, free: 24.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01748/0.4073, allocations: 4.721 MB / 0.596 GB, free: 23.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.4074, allocations: 1.531 kB / 0.596 GB, free: 23.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01457/0.422, allocations: 4.401 MB / 0.6003 GB, free: 22.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.685e-05/0.4221, allocations: 159.5 kB / 0.6004 GB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.4221, allocations: 2.469 kB / 0.6005 GB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006857/0.429, allocations: 1.901 MB / 0.6023 GB, free: 21.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.43, allocations: 181 kB / 0.6025 GB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/0.4508, allocations: 9.16 MB / 0.6114 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.4525, allocations: 167 kB / 0.6116 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/0.4527, allocations: 51.56 kB / 0.6116 GB, free: 15.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.4527, allocations: 7.562 kB / 0.6116 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01213/0.4649, allocations: 4.253 MB / 0.6158 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.4649, allocations: 4 kB / 0.6158 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005579/0.4705, allocations: 1.893 MB / 0.6176 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.4714, allocations: 179.7 kB / 0.6178 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/0.4897, allocations: 9.143 MB / 0.6267 GB, free: 444 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.4913, allocations: 167 kB / 0.6269 GB, free: 276 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.4915, allocations: 43.92 kB / 0.6269 GB, free: 232 kB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (107): * Single equations (assignments): 106 * 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.000706/0.4922, allocations: 317.5 kB / 0.6273 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003659/0.4926, allocations: 114.6 kB / 0.6274 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.5052, allocations: 4.069 MB / 0.6313 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.5053, allocations: 12 kB / 0.6313 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5053, allocations: 0 / 0.6313 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.558e-05/0.5053, allocations: 15.84 kB / 0.6314 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/0.5204, allocations: 5.724 MB / 0.637 GB, free: 5.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.5204, allocations: 3.938 kB / 0.637 GB, free: 5.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/0.521, allocations: 91.89 kB / 0.637 GB, free: 5.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005799/0.5268, allocations: 1.827 MB / 0.6388 GB, free: 3.898 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/0.527, allocations: 23.98 kB / 0.6388 GB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01729/0.5443, allocations: 7.859 MB / 0.6465 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5443, allocations: 0 / 0.6465 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/0.5585, allocations: 5.005 MB / 0.6514 GB, free: 6.844 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/0.5589, allocations: 207.5 kB / 0.6516 GB, free: 6.621 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.5591, allocations: 16 kB / 0.6516 GB, free: 6.605 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.5601, allocations: 111.9 kB / 0.6517 GB, free: 6.496 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005293/0.5607, allocations: 196.6 kB / 0.6519 GB, free: 6.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.5607, allocations: 23.94 kB / 0.6519 GB, free: 6.281 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008889/0.5616, allocations: 0.6469 MB / 0.6526 GB, free: 5.625 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5616, allocations: 4 kB / 0.6526 GB, free: 5.621 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001781/0.5634, allocations: 0.7101 MB / 0.6533 GB, free: 4.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * 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.0002306/0.5637, allocations: 127.1 kB / 0.6534 GB, free: 4.777 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01059/0.5743, allocations: 4.171 MB / 0.6575 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5743, allocations: 4.062 kB / 0.6575 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004357/0.5787, allocations: 1.532 MB / 0.659 GB, free: 15.04 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.5797, allocations: 101 kB / 0.6591 GB, free: 14.94 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.5837, allocations: 2.5 MB / 0.6615 GB, free: 12.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.5843, allocations: 1.109 MB / 0.6626 GB, free: 11.27 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004652/0.5848, allocations: 119.1 kB / 0.6627 GB, free: 11.15 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.585, allocations: 63.42 kB / 0.6628 GB, free: 11.09 MB / 474.7 MB Notification: Performance of SimCode: time 5.71e-07/0.585, allocations: 0 / 0.6628 GB, free: 11.09 MB / 474.7 MB Notification: Performance of Templates: time 0.04048/0.6255, allocations: 29.62 MB / 0.6917 GB, free: 13.48 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)