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.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 103.8 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 240 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 192.4 kB / 290.3 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4438/0.4438, allocations: 78.53 MB / 419 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 79.88 kB / 498.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1163, allocations: 68.17 MB / 0.5538 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.2229/0.3392, allocations: 6.312 MB / 0.5599 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.3427, allocations: 1.935 MB / 0.5618 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005838/0.3433, allocations: 15.78 kB / 0.5618 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006508/0.344, allocations: 231.5 kB / 0.5621 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.3455, allocations: 0.7176 MB / 0.5628 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.3468, allocations: 0.6637 MB / 0.5634 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.3479, allocations: 1.46 MB / 0.5648 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003879/0.3483, allocations: 328.3 kB / 0.5652 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005995/0.3489, allocations: 0.6019 MB / 0.5657 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005985/0.3495, allocations: 0.7373 MB / 0.5665 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.3496, allocations: 105.7 kB / 0.5666 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.35, allocations: 245.2 kB / 0.5668 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.3503, allocations: 288.5 kB / 0.5671 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003998/0.3507, allocations: 0.6165 MB / 0.5677 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.3519, allocations: 1.547 MB / 0.5692 GB, free: 33.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3519, allocations: 2.406 kB / 0.5692 GB, free: 33.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3519, allocations: 0 / 0.5692 GB, free: 33.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.352, allocations: 0 / 0.5692 GB, free: 33.84 MB / 430.1 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.007211/0.3592, allocations: 2.547 MB / 0.5717 GB, free: 32.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3592, allocations: 12.91 kB / 0.5717 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004625/0.3639, allocations: 0.7755 MB / 0.5724 GB, free: 32.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.3651, allocations: 0.8289 MB / 0.5733 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/0.3653, allocations: 218.6 kB / 0.5735 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.3654, allocations: 77.44 kB / 0.5735 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.3673, allocations: 1.135 MB / 0.5746 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.3673, allocations: 5.156 kB / 0.5746 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.3674, allocations: 28.69 kB / 0.5747 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.3674, allocations: 18.38 kB / 0.5747 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.3693, allocations: 1.081 MB / 0.5757 GB, free: 32.2 MB / 430.1 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.004338/0.3737, allocations: 3.125 MB / 0.5788 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.3762, allocations: 1.596 MB / 0.5804 GB, free: 30.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.3775, allocations: 0.7663 MB / 0.5811 GB, free: 29.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.3776, allocations: 22.89 kB / 0.5811 GB, free: 29.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3776, allocations: 42.53 kB / 0.5812 GB, free: 29.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.565e-06/0.3776, allocations: 0 / 0.5812 GB, free: 29.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02559/0.4032, allocations: 7.057 MB / 0.5881 GB, free: 28.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.4033, allocations: 94.7 kB / 0.5882 GB, free: 28.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.4048, allocations: 0.9471 MB / 0.5891 GB, free: 28.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002173/0.405, allocations: 47.61 kB / 0.5891 GB, free: 28.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.4053, allocations: 494.4 kB / 0.5896 GB, free: 27.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.4056, allocations: 333.5 kB / 0.5899 GB, free: 27.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000396/0.406, allocations: 202.3 kB / 0.5901 GB, free: 27.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.4061, allocations: 350.6 kB / 0.5904 GB, free: 26.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.4076, allocations: 0.7115 MB / 0.5911 GB, free: 26.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.4092, allocations: 0.8323 MB / 0.5919 GB, free: 26.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01765/0.4268, allocations: 4.727 MB / 0.5966 GB, free: 25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.4269, allocations: 0 / 0.5966 GB, free: 25 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01355/0.4404, allocations: 4.405 MB / 0.6009 GB, free: 23.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.4405, allocations: 13.75 kB / 0.6009 GB, free: 23.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.4405, allocations: 2.188 kB / 0.6009 GB, free: 23.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006365/0.4469, allocations: 1.896 MB / 0.6027 GB, free: 23.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009904/0.4479, allocations: 180.5 kB / 0.6029 GB, free: 23.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/0.4682, allocations: 9.945 MB / 0.6126 GB, free: 17.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.4697, allocations: 175.8 kB / 0.6128 GB, free: 17.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.765e-05/0.4698, allocations: 44.47 kB / 0.6128 GB, free: 17.8 MB / 430.1 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.001513/0.4713, allocations: 0.8675 MB / 0.6137 GB, free: 16.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001212/0.4725, allocations: 0.8267 MB / 0.6145 GB, free: 16.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0156/0.4881, allocations: 4.699 MB / 0.6191 GB, free: 11.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.069e-06/0.4882, allocations: 0 / 0.6191 GB, free: 11.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01178/0.5, allocations: 4.383 MB / 0.6234 GB, free: 6.984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.5, allocations: 8 kB / 0.6234 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.5, allocations: 0 / 0.6234 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005412/0.5054, allocations: 1.896 MB / 0.6252 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008301/0.5063, allocations: 176.8 kB / 0.6254 GB, free: 4.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/0.5271, allocations: 9.94 MB / 0.6351 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.5287, allocations: 167 kB / 0.6352 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/0.5289, allocations: 35.98 kB / 0.6353 GB, free: 10.64 MB / 446.1 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.0004388/0.5294, allocations: 239.4 kB / 0.6355 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/0.5297, allocations: 114.6 kB / 0.6356 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/0.542, allocations: 4.079 MB / 0.6396 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.5421, allocations: 8 kB / 0.6396 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5421, allocations: 0 / 0.6396 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.5421, allocations: 7.922 kB / 0.6396 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/0.5579, allocations: 5.72 MB / 0.6452 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.558, allocations: 4 kB / 0.6452 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.5586, allocations: 99.77 kB / 0.6453 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005876/0.5645, allocations: 1.823 MB / 0.6471 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001878/0.5647, allocations: 20 kB / 0.6471 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02034/0.585, allocations: 8.618 MB / 0.6555 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5851, allocations: 0.6562 kB / 0.6555 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/0.5999, allocations: 5.011 MB / 0.6604 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004942/0.6005, allocations: 211.4 kB / 0.6606 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003251/0.6008, allocations: 17.45 kB / 0.6606 GB, free: 340 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.602, allocations: 103.9 kB / 0.6607 GB, free: 236 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006608/0.6027, allocations: 200.7 kB / 0.6609 GB, free: 36 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.6028, allocations: 20 kB / 0.6609 GB, free: 16 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001115/0.6039, allocations: 0.6528 MB / 0.6616 GB, free: 15.35 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.604, allocations: 0 / 0.6616 GB, free: 15.35 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002265/0.6062, allocations: 0.714 MB / 0.6623 GB, free: 14.64 MB / 478.1 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.0003039/0.6065, allocations: 131.1 kB / 0.6624 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01137/0.6179, allocations: 4.257 MB / 0.6666 GB, free: 10.22 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.618, allocations: 4.188 kB / 0.6666 GB, free: 10.22 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004555/0.6225, allocations: 1.579 MB / 0.6681 GB, free: 8.633 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.6236, allocations: 108.1 kB / 0.6682 GB, free: 8.531 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.628, allocations: 2.084 MB / 0.6702 GB, free: 6.441 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007554/0.6288, allocations: 1.11 MB / 0.6713 GB, free: 5.301 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004727/0.6293, allocations: 117.7 kB / 0.6714 GB, free: 5.188 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.6295, allocations: 71.17 kB / 0.6715 GB, free: 5.121 MB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6295, allocations: 0 / 0.6715 GB, free: 5.121 MB / 478.1 MB Notification: Performance of Templates: time 0.0488/0.6783, allocations: 33.16 MB / 0.7039 GB, free: 4.117 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (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=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)