Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009232/0.0009232, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8975/0.8975, allocations: 177.2 MB / 200.4 MB, free: 5.379 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 160.6 kB / 257 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.4129/0.4129, allocations: 80.23 MB / 340.5 MB, free: 9.574 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 383.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.734e-05, allocations: 6.312 kB / 383.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.007273/0.0073, allocations: 5.96 MB / 389.8 MB, free: 8.699 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00476/0.01206, allocations: 2.028 MB / 391.8 MB, free: 6.668 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007421/0.0128, allocations: 15.94 kB / 391.8 MB, free: 6.652 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007733/0.01358, allocations: 242 kB / 392.1 MB, free: 6.414 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002263/0.01584, allocations: 0.7996 MB / 392.9 MB, free: 5.609 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.01752, allocations: 0.6859 MB / 393.5 MB, free: 4.922 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0023/0.01982, allocations: 1.467 MB / 395 MB, free: 3.445 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005331/0.02036, allocations: 222.9 kB / 395.2 MB, free: 3.207 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.0221, allocations: 0.8533 MB / 396.1 MB, free: 2.352 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005879/0.02269, allocations: 0.5841 MB / 396.7 MB, free: 1.766 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.0228, allocations: 108 kB / 396.8 MB, free: 1.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004692/0.02327, allocations: 259.7 kB / 397 MB, free: 1.406 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.02346, allocations: 290.7 kB / 397.3 MB, free: 1.121 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.02373, allocations: 414.6 kB / 397.7 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.02488, allocations: 1.156 MB / 398.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.02488, allocations: 0 / 398.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.02488, allocations: 0 / 398.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.0249, allocations: 0 / 398.9 MB, free: 15.55 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.003669/0.02857, allocations: 2.506 MB / 401.4 MB, free: 13.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.0286, allocations: 8.031 kB / 401.4 MB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/0.03101, allocations: 0.9753 MB / 402.4 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006506/0.03166, allocations: 0.553 MB / 402.9 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.03179, allocations: 218.5 kB / 403.1 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.747e-05/0.03189, allocations: 80 kB / 403.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006914/0.03258, allocations: 0.7041 MB / 403.9 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.03259, allocations: 0 / 403.9 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.03264, allocations: 28 kB / 403.9 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.03266, allocations: 23.94 kB / 404 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.03311, allocations: 328.6 kB / 404.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.03517, allocations: 1.443 MB / 405.7 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.03592, allocations: 0.5378 MB / 406.3 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.03617, allocations: 236.4 kB / 406.5 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.612e-05/0.03624, allocations: 17 kB / 406.5 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.03627, allocations: 47.55 kB / 406.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=93): time 2.084e-06/0.03627, allocations: 0 / 406.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.008879/0.04515, allocations: 4.421 MB / 411 MB, free: 3.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.04519, allocations: 90.11 kB / 411.1 MB, free: 3.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.04572, allocations: 0.7548 MB / 411.8 MB, free: 2.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/0.04578, allocations: 45.7 kB / 411.9 MB, free: 2.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.04594, allocations: 350.9 kB / 412.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.04612, allocations: 352.9 kB / 412.5 MB, free: 1.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.04633, allocations: 194.8 kB / 412.7 MB, free: 1.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.21e-05/0.04641, allocations: 357.8 kB / 413.1 MB, free: 1.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.04679, allocations: 272.9 kB / 413.4 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.04723, allocations: 420.5 kB / 413.8 MB, free: 364 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.04845, allocations: 1.066 MB / 414.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.04846, allocations: 4.031 kB / 414.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004524/0.05298, allocations: 2.607 MB / 417.4 MB, free: 12.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.053, allocations: 4 kB / 417.4 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.053, allocations: 4 kB / 417.4 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004508/0.05751, allocations: 1.895 MB / 419.3 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.05787, allocations: 163.7 kB / 419.5 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005658/0.06353, allocations: 4.038 MB / 423.5 MB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.06402, allocations: 147.2 kB / 423.7 MB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.06407, allocations: 27.98 kB / 423.7 MB, free: 6.266 MB / 394.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005094/0.06457, allocations: 364.4 kB / 424.1 MB, free: 5.906 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004234/0.065, allocations: 412.5 kB / 424.5 MB, free: 5.465 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001207/0.0662, allocations: 1.067 MB / 425.5 MB, free: 4.367 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.06621, allocations: 0 / 425.5 MB, free: 4.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.004506/0.07071, allocations: 2.596 MB / 428.1 MB, free: 1.758 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.07073, allocations: 11.94 kB / 428.1 MB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.07073, allocations: 0 / 428.1 MB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004305/0.07503, allocations: 1.896 MB / 430 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.07538, allocations: 163.7 kB / 430.2 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005419/0.0808, allocations: 4.037 MB / 434.2 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.08127, allocations: 139.3 kB / 434.4 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.08131, allocations: 31.98 kB / 434.4 MB, free: 11.39 MB / 410.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 (102): * Single equations (assignments): 101 * 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.000194/0.08151, allocations: 242.7 kB / 434.6 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.08163, allocations: 95.91 kB / 434.7 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/0.08569, allocations: 2.385 MB / 437.1 MB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.0857, allocations: 12 kB / 437.1 MB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.0857, allocations: 0 / 437.1 MB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.08571, allocations: 3.984 kB / 437.1 MB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004801/0.09051, allocations: 2.973 MB / 440.1 MB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.09051, allocations: 0 / 440.1 MB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.09074, allocations: 91.91 kB / 440.2 MB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004173/0.09491, allocations: 1.842 MB / 442 MB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.09496, allocations: 23.98 kB / 442.1 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1565/0.2514, allocations: 3.586 MB / 445.7 MB, free: 62.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2514, allocations: 0 / 445.7 MB, free: 62.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005079/0.2565, allocations: 2.673 MB / 448.3 MB, free: 62.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.2567, allocations: 114.2 kB / 448.4 MB, free: 62.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.2568, allocations: 17.45 kB / 448.5 MB, free: 62.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/0.2572, allocations: 78.77 kB / 448.5 MB, free: 62.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003819/0.2576, allocations: 193.8 kB / 448.7 MB, free: 62.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.2576, allocations: 15.03 kB / 448.7 MB, free: 62.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002961/0.2579, allocations: 387.7 kB / 449.1 MB, free: 62.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-08/0.2579, allocations: 0 / 449.1 MB, free: 62.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001364/0.2593, allocations: 0.7318 MB / 449.8 MB, free: 62.49 MB / 410.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.0001981/0.2595, allocations: 113 kB / 450 MB, free: 62.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003767/0.2632, allocations: 2.646 MB / 452.6 MB, free: 61.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.2633, allocations: 11.84 kB / 452.6 MB, free: 61.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.2645, allocations: 1.017 MB / 453.6 MB, free: 61.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.2649, allocations: 118.4 kB / 453.7 MB, free: 61.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.267, allocations: 1.909 MB / 455.7 MB, free: 60.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.2672, allocations: 248.8 kB / 455.9 MB, free: 60.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002176/0.2674, allocations: 104.5 kB / 456 MB, free: 60.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.2676, allocations: 164.3 kB / 456.2 MB, free: 60.8 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2676, allocations: 0 / 456.2 MB, free: 60.8 MB / 410.7 MB Notification: Performance of Templates: time 0.02772/0.2953, allocations: 35.94 MB / 492.1 MB, free: 29.62 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8637489629909396]