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.0009495/0.0009495, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.277/1.277, allocations: 223.2 MB / 238.9 MB, free: 5.641 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.001151/0.001151, allocations: 187.7 kB / 290.2 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4239/0.4239, allocations: 78.52 MB / 419.8 MB, free: 4.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003683, allocations: 12 kB / 499.7 MB, free: 6.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1129, allocations: 69.36 MB / 0.5557 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.2022/0.3151, allocations: 5.528 MB / 0.5611 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003191/0.3184, allocations: 1.919 MB / 0.563 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008758/0.3193, allocations: 15.03 kB / 0.563 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006267/0.3199, allocations: 171.1 kB / 0.5631 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.3215, allocations: 0.6491 MB / 0.5638 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3227, allocations: 0.5483 MB / 0.5643 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.3238, allocations: 0.9195 MB / 0.5652 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000337/0.3242, allocations: 262.6 kB / 0.5654 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005535/0.3247, allocations: 0.5195 MB / 0.566 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.3253, allocations: 0.625 MB / 0.5666 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.3255, allocations: 53.47 kB / 0.5666 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.3258, allocations: 163.8 kB / 0.5668 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.326, allocations: 223.9 kB / 0.567 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.3262, allocations: 216.2 kB / 0.5672 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008293/0.3271, allocations: 1.105 MB / 0.5683 GB, free: 36.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.3271, allocations: 0 / 0.5683 GB, free: 36.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3271, allocations: 0 / 0.5683 GB, free: 36.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.3271, allocations: 0 / 0.5683 GB, free: 36.29 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.00686/0.334, allocations: 2.39 MB / 0.5706 GB, free: 35.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.334, allocations: 11.16 kB / 0.5706 GB, free: 35.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004552/0.3386, allocations: 0.7786 MB / 0.5714 GB, free: 35.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.3399, allocations: 0.7749 MB / 0.5721 GB, free: 35.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.3401, allocations: 230.3 kB / 0.5724 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.3402, allocations: 76.56 kB / 0.5724 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.3423, allocations: 1.199 MB / 0.5736 GB, free: 34.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.3423, allocations: 0 / 0.5736 GB, free: 34.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-05/0.3424, allocations: 36.86 kB / 0.5736 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.3424, allocations: 18.09 kB / 0.5737 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.3445, allocations: 1.161 MB / 0.5748 GB, free: 34.32 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.004706/0.3493, allocations: 3.201 MB / 0.5779 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.3519, allocations: 1.74 MB / 0.5796 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.264e-05/0.352, allocations: 27.09 kB / 0.5796 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.352, allocations: 43.31 kB / 0.5797 GB, free: 31.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.575e-06/0.352, allocations: 0 / 0.5797 GB, free: 31.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02664/0.3787, allocations: 8.725 MB / 0.5882 GB, free: 30.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.3788, allocations: 91.48 kB / 0.5883 GB, free: 29.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.3801, allocations: 0.9344 MB / 0.5892 GB, free: 29.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.3803, allocations: 41.17 kB / 0.5892 GB, free: 29.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.3806, allocations: 492.5 kB / 0.5897 GB, free: 29.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.3808, allocations: 340.9 kB / 0.59 GB, free: 28.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.022e-05/0.3809, allocations: 20.03 kB / 0.59 GB, free: 28.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.534e-05/0.381, allocations: 355.8 kB / 0.5904 GB, free: 28.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.3825, allocations: 0.7718 MB / 0.5911 GB, free: 28.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.384, allocations: 0.9023 MB / 0.592 GB, free: 27.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.3856, allocations: 0.8259 MB / 0.5928 GB, free: 27.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.3856, allocations: 0 / 0.5928 GB, free: 27.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01471/0.4003, allocations: 5.337 MB / 0.598 GB, free: 26.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.4005, allocations: 0.7905 MB / 0.5988 GB, free: 25.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.4005, allocations: 5.828 kB / 0.5988 GB, free: 25.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00686/0.4074, allocations: 2.222 MB / 0.601 GB, free: 25.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.4085, allocations: 177.8 kB / 0.6012 GB, free: 25.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02282/0.4313, allocations: 10.76 MB / 0.6117 GB, free: 20.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.4329, allocations: 216.3 kB / 0.6119 GB, free: 19.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.641e-05/0.433, allocations: 39.28 kB / 0.6119 GB, free: 19.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.433, allocations: 4.625 kB / 0.6119 GB, free: 19.86 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01311/0.4461, allocations: 5.179 MB / 0.617 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4461, allocations: 0 / 0.617 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005891/0.452, allocations: 2.224 MB / 0.6191 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/0.4527, allocations: 167.7 kB / 0.6193 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/0.4729, allocations: 10.73 MB / 0.6298 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.4743, allocations: 203 kB / 0.63 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.4744, allocations: 36.86 kB / 0.63 GB, free: 1.637 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005097/0.475, allocations: 317.5 kB / 0.6303 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.4752, allocations: 114.6 kB / 0.6304 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/0.4887, allocations: 5.026 MB / 0.6353 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.4887, allocations: 11.94 kB / 0.6353 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.4887, allocations: 8 kB / 0.6353 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.4888, allocations: 3.984 kB / 0.6354 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01605/0.5048, allocations: 6.673 MB / 0.6419 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.5049, allocations: 1.062 kB / 0.6419 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005615/0.5054, allocations: 95.84 kB / 0.642 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006343/0.5118, allocations: 2.158 MB / 0.6441 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.512, allocations: 16 kB / 0.6441 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01997/0.5319, allocations: 9.315 MB / 0.6532 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.532, allocations: 3.984 kB / 0.6532 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/0.5481, allocations: 6.024 MB / 0.6591 GB, free: 3.559 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004024/0.5486, allocations: 207.4 kB / 0.6593 GB, free: 3.336 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/0.5489, allocations: 16 kB / 0.6593 GB, free: 3.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.5501, allocations: 148.7 kB / 0.6594 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006103/0.5507, allocations: 192.7 kB / 0.6596 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.5508, allocations: 27.98 kB / 0.6596 GB, free: 2.961 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009889/0.5518, allocations: 0.643 MB / 0.6603 GB, free: 2.309 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5518, allocations: 0 / 0.6603 GB, free: 2.309 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002165/0.554, allocations: 0.714 MB / 0.661 GB, free: 1.594 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.000279/0.5543, allocations: 131.2 kB / 0.6611 GB, free: 1.457 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01189/0.5662, allocations: 4.685 MB / 0.6657 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5662, allocations: 0 / 0.6657 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004777/0.571, allocations: 1.779 MB / 0.6674 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008257/0.5719, allocations: 81.62 kB / 0.6675 GB, free: 10.88 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005035/0.5769, allocations: 2.505 MB / 0.6699 GB, free: 8.383 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/0.5777, allocations: 1.125 MB / 0.671 GB, free: 7.227 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005103/0.5782, allocations: 115.8 kB / 0.6711 GB, free: 7.113 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.5784, allocations: 67.42 kB / 0.6712 GB, free: 7.051 MB / 478.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5784, allocations: 0 / 0.6712 GB, free: 7.051 MB / 478.1 MB Notification: Performance of Templates: time 0.04143/0.6199, allocations: 28.76 MB / 0.6993 GB, free: 10.43 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1) Environment - environmentSimulation: