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.0009514/0.0009514, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.953/0.953, allocations: 177.2 MB / 200.3 MB, free: 4.816 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.001125/0.001125, allocations: 151.6 kB / 257 MB, free: 12.64 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.427/0.427, allocations: 80.23 MB / 340.5 MB, free: 8.969 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.392e-06/1.392e-06, allocations: 0 / 383.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.526e-05, allocations: 6.031 kB / 383.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.01261/0.01263, allocations: 6.011 MB / 389.9 MB, free: 8.434 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.01525, allocations: 2.021 MB / 391.9 MB, free: 6.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.0155, allocations: 15.94 kB / 391.9 MB, free: 6.395 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000476/0.01597, allocations: 253.9 kB / 392.2 MB, free: 6.145 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.01707, allocations: 0.787 MB / 392.9 MB, free: 5.355 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008054/0.01787, allocations: 0.6782 MB / 393.6 MB, free: 4.676 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009017/0.01877, allocations: 1.463 MB / 395.1 MB, free: 3.203 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.01903, allocations: 230.9 kB / 395.3 MB, free: 2.957 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006411/0.01967, allocations: 0.8454 MB / 396.2 MB, free: 2.109 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004753/0.02014, allocations: 0.5841 MB / 396.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.02025, allocations: 115.9 kB / 396.8 MB, free: 1.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.02056, allocations: 259.8 kB / 397.1 MB, free: 1.156 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.02073, allocations: 294.7 kB / 397.4 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.02099, allocations: 414.6 kB / 397.8 MB, free: 472 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000865/0.02185, allocations: 1.152 MB / 398.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.02185, allocations: 4 kB / 399 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.02186, allocations: 0 / 399 MB, free: 15.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.02187, allocations: 0 / 399 MB, free: 15.3 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.003926/0.02579, allocations: 2.498 MB / 401.4 MB, free: 12.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.02582, allocations: 11.97 kB / 401.5 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002668/0.02849, allocations: 0.9792 MB / 402.4 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006674/0.02916, allocations: 0.553 MB / 403 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.02928, allocations: 214.5 kB / 403.2 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-05/0.02938, allocations: 76 kB / 403.3 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007312/0.03011, allocations: 0.708 MB / 404 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.03012, allocations: 4 kB / 404 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.03017, allocations: 28 kB / 404 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.03019, allocations: 23.94 kB / 404 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.03067, allocations: 328.6 kB / 404.4 MB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.03277, allocations: 1.443 MB / 405.8 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000766/0.03353, allocations: 0.535 MB / 406.3 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.0338, allocations: 228.5 kB / 406.6 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.413e-05/0.03387, allocations: 24.97 kB / 406.6 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.0339, allocations: 51.5 kB / 406.6 MB, free: 7.441 MB / 378.7 MB Notification: Performance of pre-optimization done (n=93): time 1.984e-06/0.0339, allocations: 0 / 406.6 MB, free: 7.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.009258/0.04316, allocations: 4.429 MB / 411.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.04319, allocations: 86.11 kB / 411.1 MB, free: 2.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.04369, allocations: 0.7625 MB / 411.9 MB, free: 2.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.253e-05/0.04377, allocations: 41.7 kB / 412 MB, free: 2.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.04393, allocations: 354.9 kB / 412.3 MB, free: 1.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.0441, allocations: 349 kB / 412.6 MB, free: 1.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/0.04439, allocations: 194.8 kB / 412.8 MB, free: 1.168 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.04447, allocations: 353.8 kB / 413.2 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.04486, allocations: 272.9 kB / 413.4 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.04531, allocations: 408.5 kB / 413.8 MB, free: 112 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.04673, allocations: 1.078 MB / 414.9 MB, free: 15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.04673, allocations: 3.938 kB / 414.9 MB, free: 15 MB / 394.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004522/0.05125, allocations: 2.596 MB / 417.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.05127, allocations: 4 kB / 417.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.05128, allocations: 12 kB / 417.5 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004542/0.05582, allocations: 1.892 MB / 419.4 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.05622, allocations: 179.7 kB / 419.6 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005766/0.06199, allocations: 4.043 MB / 423.6 MB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.06248, allocations: 151.2 kB / 423.8 MB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.06254, allocations: 27.98 kB / 423.8 MB, free: 5.992 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.0005376/0.06307, allocations: 368.3 kB / 424.2 MB, free: 5.629 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004537/0.06353, allocations: 412.5 kB / 424.6 MB, free: 5.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001525/0.06505, allocations: 1.067 MB / 425.7 MB, free: 4.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.314e-06/0.06506, allocations: 0 / 425.7 MB, free: 4.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.004562/0.06962, allocations: 2.6 MB / 428.2 MB, free: 1.477 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.06963, allocations: 7.938 kB / 428.3 MB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.06963, allocations: 4 kB / 428.3 MB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004274/0.07391, allocations: 1.904 MB / 430.2 MB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.07428, allocations: 175.8 kB / 430.3 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005943/0.08022, allocations: 4.049 MB / 434.4 MB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.08072, allocations: 135.4 kB / 434.5 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.08077, allocations: 24 kB / 434.5 MB, free: 11.09 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.0001876/0.08096, allocations: 236 kB / 434.8 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.08109, allocations: 99.91 kB / 434.9 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.0852, allocations: 2.381 MB / 437.2 MB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.08521, allocations: 15.98 kB / 437.3 MB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.08521, allocations: 0 / 437.3 MB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.08521, allocations: 3.984 kB / 437.3 MB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005013/0.09023, allocations: 2.969 MB / 440.2 MB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.09023, allocations: 0 / 440.2 MB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.09048, allocations: 95.89 kB / 440.3 MB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004162/0.09464, allocations: 1.85 MB / 442.2 MB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.09469, allocations: 16 kB / 442.2 MB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1597/0.2544, allocations: 3.597 MB / 445.8 MB, free: 62.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2544, allocations: 0 / 445.8 MB, free: 62.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00519/0.2596, allocations: 2.674 MB / 448.5 MB, free: 62.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.2598, allocations: 112.2 kB / 448.6 MB, free: 62.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.2599, allocations: 18.56 kB / 448.6 MB, free: 62.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.2603, allocations: 74.31 kB / 448.7 MB, free: 62.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/0.2607, allocations: 203.8 kB / 448.9 MB, free: 62.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.2607, allocations: 15.78 kB / 448.9 MB, free: 62.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003223/0.261, allocations: 388.7 kB / 449.3 MB, free: 62.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.261, allocations: 0 / 449.3 MB, free: 62.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001318/0.2624, allocations: 0.7253 MB / 450 MB, free: 62.64 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.000178/0.2625, allocations: 112.5 kB / 450.1 MB, free: 62.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003959/0.2665, allocations: 2.653 MB / 452.8 MB, free: 62.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.2665, allocations: 10.69 kB / 452.8 MB, free: 62.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.2679, allocations: 1.019 MB / 453.8 MB, free: 61.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.2683, allocations: 117.3 kB / 453.9 MB, free: 61.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.2705, allocations: 1.904 MB / 455.8 MB, free: 61.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.2706, allocations: 251 kB / 456 MB, free: 61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002311/0.2709, allocations: 101.9 kB / 456.1 MB, free: 60.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.2711, allocations: 159 kB / 456.3 MB, free: 60.95 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2711, allocations: 0.5312 kB / 456.3 MB, free: 60.95 MB / 410.7 MB Notification: Performance of Templates: time 0.0289/0.3, allocations: 35.95 MB / 492.3 MB, free: 29.61 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.706438906956464]