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.0009892/0.0009892, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.9981/0.9981, allocations: 177.1 MB / 201 MB, free: 5.715 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.00117/0.00117, allocations: 148.7 kB / 257.7 MB, free: 12.98 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.3192/0.3192, allocations: 80.23 MB / 394.5 MB, free: 3.039 MB / 362.7 MB " [Timeout remaining time 179] 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.593e-06/1.593e-06, allocations: 0 / 491 MB, free: 62.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.415e-05, allocations: 2.312 kB / 491 MB, free: 62.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.004073/0.004097, allocations: 5.957 MB / 497 MB, free: 56.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.006785, allocations: 1.956 MB / 499 MB, free: 54.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004474/0.007233, allocations: 15.94 kB / 499 MB, free: 54.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.007785, allocations: 235 kB / 499.2 MB, free: 54.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.008954, allocations: 0.7918 MB / 500 MB, free: 53.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009036/0.009858, allocations: 0.6675 MB / 0.4889 GB, free: 53.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008523/0.01071, allocations: 1.459 MB / 0.4903 GB, free: 51.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.01098, allocations: 225.4 kB / 0.4906 GB, free: 51.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006319/0.01161, allocations: 0.8507 MB / 0.4914 GB, free: 50.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.01206, allocations: 0.588 MB / 0.492 GB, free: 50.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.819e-05/0.01216, allocations: 104 kB / 0.4921 GB, free: 50 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.01245, allocations: 248.9 kB / 0.4923 GB, free: 49.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.01259, allocations: 294.7 kB / 0.4926 GB, free: 49.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.01279, allocations: 417 kB / 0.493 GB, free: 49.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007869/0.01358, allocations: 1.156 MB / 0.4941 GB, free: 47.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01358, allocations: 0 / 0.4941 GB, free: 47.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01358, allocations: 3.938 kB / 0.4941 GB, free: 47.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.01359, allocations: 0 / 0.4941 GB, free: 47.9 MB / 410.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.003681/0.01728, allocations: 2.639 MB / 0.4967 GB, free: 45.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.01731, allocations: 8.031 kB / 0.4967 GB, free: 45.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00255/0.01986, allocations: 0.918 MB / 0.4976 GB, free: 44.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.0205, allocations: 0.7291 MB / 0.4983 GB, free: 43.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.02061, allocations: 211.4 kB / 0.4985 GB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.02071, allocations: 77.59 kB / 0.4986 GB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007096/0.02142, allocations: 0.6952 MB / 0.4993 GB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.02143, allocations: 0.6562 kB / 0.4993 GB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-05/0.02149, allocations: 28 kB / 0.4993 GB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.0215, allocations: 24.47 kB / 0.4993 GB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.02198, allocations: 390.3 kB / 0.4997 GB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.02421, allocations: 2.044 MB / 0.5017 GB, free: 40.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.02503, allocations: 0.5424 MB / 0.5022 GB, free: 39.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.02529, allocations: 287 kB / 0.5025 GB, free: 39.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.318e-05/0.02537, allocations: 28.97 kB / 0.5025 GB, free: 39.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.02539, allocations: 42.92 kB / 0.5026 GB, free: 39.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=93): time 2.976e-06/0.02539, allocations: 0.625 kB / 0.5026 GB, free: 39.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.009771/0.03516, allocations: 4.668 MB / 0.5071 GB, free: 34.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.03519, allocations: 90.11 kB / 0.5072 GB, free: 34.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.03562, allocations: 0.841 MB / 0.508 GB, free: 33.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.03567, allocations: 41.7 kB / 0.5081 GB, free: 33.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.03587, allocations: 0.5427 MB / 0.5086 GB, free: 32.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.03603, allocations: 356.8 kB / 0.5089 GB, free: 32.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.03624, allocations: 212.5 kB / 0.5091 GB, free: 32.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.0363, allocations: 0.5315 MB / 0.5097 GB, free: 31.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.03666, allocations: 288.8 kB / 0.5099 GB, free: 31.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.03707, allocations: 476.6 kB / 0.5104 GB, free: 31.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.03821, allocations: 1.105 MB / 0.5115 GB, free: 29.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.03821, allocations: 0 / 0.5115 GB, free: 29.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004901/0.04311, allocations: 2.832 MB / 0.5142 GB, free: 27.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.04313, allocations: 4 kB / 0.5142 GB, free: 27.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.04314, allocations: 4 kB / 0.5142 GB, free: 27.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004738/0.04788, allocations: 1.95 MB / 0.5161 GB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.04827, allocations: 163.7 kB / 0.5163 GB, free: 24.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/0.05476, allocations: 4.913 MB / 0.5211 GB, free: 19.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006556/0.05542, allocations: 139.3 kB / 0.5212 GB, free: 19.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/0.05547, allocations: 28 kB / 0.5213 GB, free: 19.69 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005523/0.05603, allocations: 433.3 kB / 0.5217 GB, free: 19.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004185/0.05644, allocations: 468.7 kB / 0.5221 GB, free: 18.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001172/0.05762, allocations: 1.109 MB / 0.5232 GB, free: 17.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.05762, allocations: 0 / 0.5232 GB, free: 17.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.004997/0.06262, allocations: 2.828 MB / 0.526 GB, free: 14.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.06263, allocations: 8 kB / 0.526 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.06263, allocations: 7.938 kB / 0.526 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004906/0.06754, allocations: 1.949 MB / 0.5279 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.06793, allocations: 171.7 kB / 0.528 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006861/0.07479, allocations: 4.918 MB / 0.5328 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006591/0.07545, allocations: 135.4 kB / 0.533 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/0.0755, allocations: 27.98 kB / 0.533 GB, free: 7.441 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.0002483/0.07575, allocations: 323.8 kB / 0.5333 GB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.076, allocations: 147.2 kB / 0.5334 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004495/0.0805, allocations: 2.557 MB / 0.5359 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.0805, allocations: 12 kB / 0.536 GB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.08051, allocations: 0 / 0.536 GB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.08051, allocations: 3.984 kB / 0.536 GB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/0.08569, allocations: 3.336 MB / 0.5392 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.08569, allocations: 0 / 0.5392 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.08594, allocations: 87.91 kB / 0.5393 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004603/0.09054, allocations: 1.88 MB / 0.5411 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.879e-05/0.0906, allocations: 20 kB / 0.5412 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006168/0.09677, allocations: 4.403 MB / 0.5455 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.09677, allocations: 0 / 0.5455 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005311/0.1021, allocations: 2.883 MB / 0.5483 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.1022, allocations: 134.9 kB / 0.5484 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.1023, allocations: 19.98 kB / 0.5484 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.1028, allocations: 71.88 kB / 0.5485 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/0.1031, allocations: 204.6 kB / 0.5487 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.1031, allocations: 16 kB / 0.5487 GB, free: 7.148 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003649/0.1035, allocations: 0.5055 MB / 0.5492 GB, free: 6.633 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1035, allocations: 0 / 0.5492 GB, free: 6.633 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00147/0.105, allocations: 0.7219 MB / 0.5499 GB, free: 5.91 MB / 426.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.0002253/0.1052, allocations: 135.1 kB / 0.55 GB, free: 5.766 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004627/0.1098, allocations: 2.874 MB / 0.5528 GB, free: 2.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1098, allocations: 0 / 0.5528 GB, free: 2.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.1115, allocations: 1.136 MB / 0.5539 GB, free: 1.676 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.112, allocations: 122.8 kB / 0.5541 GB, free: 1.555 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.1147, allocations: 1.907 MB / 0.5559 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.1149, allocations: 250.2 kB / 0.5562 GB, free: 15.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002534/0.1152, allocations: 103 kB / 0.5563 GB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.1154, allocations: 186.2 kB / 0.5564 GB, free: 15.06 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1154, allocations: 4 kB / 0.5564 GB, free: 15.06 MB / 442.7 MB Notification: Performance of Templates: time 0.03749/0.1529, allocations: 38.55 MB / 0.5941 GB, free: 8.594 MB / 474.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: 4.412173981778324]