Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.0009807/0.0009807, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 240 MB, free: 5.512 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.00112/0.00112, allocations: 179.6 kB / 291.3 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4932/0.4932, allocations: 91.92 MB / 434.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 11.98 kB / 0.5054 GB, free: 7.254 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3476, allocations: 72.47 MB / 0.5762 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.004757/0.3524, allocations: 6.219 MB / 0.5823 GB, free: 32.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.3559, allocations: 1.984 MB / 0.5842 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006351/0.3566, allocations: 10.38 kB / 0.5842 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.3572, allocations: 181 kB / 0.5844 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.3587, allocations: 0.6429 MB / 0.585 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.3599, allocations: 0.6122 MB / 0.5856 GB, free: 30.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.3611, allocations: 1.383 MB / 0.587 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.3615, allocations: 285.7 kB / 0.5872 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005669/0.362, allocations: 0.5299 MB / 0.5877 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.3626, allocations: 0.6655 MB / 0.5884 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.3627, allocations: 52.78 kB / 0.5884 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.3631, allocations: 177.6 kB / 0.5886 GB, free: 29.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.3633, allocations: 232.2 kB / 0.5888 GB, free: 29.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003589/0.3637, allocations: 0.5759 MB / 0.5894 GB, free: 28.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007914/0.3645, allocations: 1.146 MB / 0.5905 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3645, allocations: 0 / 0.5905 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3645, allocations: 0 / 0.5905 GB, free: 28.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.3645, allocations: 0 / 0.5905 GB, free: 28.48 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.007616/0.3721, allocations: 2.376 MB / 0.5928 GB, free: 27.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3722, allocations: 9.781 kB / 0.5928 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005135/0.3773, allocations: 0.7885 MB / 0.5936 GB, free: 27.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.3789, allocations: 0.8077 MB / 0.5944 GB, free: 26.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.3791, allocations: 227.4 kB / 0.5946 GB, free: 26.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.3793, allocations: 79.38 kB / 0.5947 GB, free: 26.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.3816, allocations: 1.202 MB / 0.5959 GB, free: 26.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.3816, allocations: 3.938 kB / 0.5959 GB, free: 26.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.484e-05/0.3817, allocations: 30.41 kB / 0.5959 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.3818, allocations: 17.97 kB / 0.5959 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.3841, allocations: 1.169 MB / 0.5971 GB, free: 25.71 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.005263/0.3893, allocations: 3.222 MB / 0.6002 GB, free: 23.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/0.3925, allocations: 1.746 MB / 0.6019 GB, free: 22.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.394, allocations: 0.8344 MB / 0.6027 GB, free: 22.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.502e-05/0.3941, allocations: 22.94 kB / 0.6028 GB, free: 22.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.3942, allocations: 39.34 kB / 0.6028 GB, free: 22.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.444e-06/0.3942, allocations: 0 / 0.6028 GB, free: 22.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.03077/0.425, allocations: 8.778 MB / 0.6114 GB, free: 21.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.425, allocations: 88.19 kB / 0.6114 GB, free: 21.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.4268, allocations: 0.9477 MB / 0.6124 GB, free: 20.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002491/0.4271, allocations: 45.48 kB / 0.6124 GB, free: 20.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/0.4275, allocations: 490.4 kB / 0.6129 GB, free: 20.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004358/0.428, allocations: 334.1 kB / 0.6132 GB, free: 19.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.4282, allocations: 103 kB / 0.6133 GB, free: 19.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.4283, allocations: 354.3 kB / 0.6136 GB, free: 19.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.4302, allocations: 0.7741 MB / 0.6144 GB, free: 19.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.4321, allocations: 0.917 MB / 0.6153 GB, free: 18.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01885/0.4509, allocations: 5.226 MB / 0.6204 GB, free: 16.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.451, allocations: 4 kB / 0.6204 GB, free: 16.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01403/0.465, allocations: 5.363 MB / 0.6256 GB, free: 10.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.563e-05/0.4651, allocations: 157 kB / 0.6258 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.4651, allocations: 4 kB / 0.6258 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006227/0.4714, allocations: 2.213 MB / 0.6279 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000832/0.4722, allocations: 183.7 kB / 0.6281 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02194/0.4942, allocations: 10.29 MB / 0.6382 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.496, allocations: 218.9 kB / 0.6384 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.4962, allocations: 43.92 kB / 0.6384 GB, free: 13.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.4962, allocations: 0 / 0.6384 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01575/0.512, allocations: 5.214 MB / 0.6435 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.512, allocations: 4 kB / 0.6435 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007171/0.5192, allocations: 2.229 MB / 0.6457 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009081/0.5201, allocations: 171.7 kB / 0.6459 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02476/0.5449, allocations: 10.24 MB / 0.6559 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.5466, allocations: 199 kB / 0.656 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.5468, allocations: 43.92 kB / 0.6561 GB, free: 11.23 MB / 462.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.0006853/0.5475, allocations: 324.2 kB / 0.6564 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/0.5479, allocations: 114.6 kB / 0.6565 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/0.5631, allocations: 5.034 MB / 0.6614 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.5631, allocations: 8 kB / 0.6614 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5631, allocations: 3.984 kB / 0.6614 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/0.5631, allocations: 7.922 kB / 0.6614 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01748/0.5806, allocations: 6.677 MB / 0.668 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.5807, allocations: 3.984 kB / 0.668 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.5813, allocations: 99.78 kB / 0.6681 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006743/0.588, allocations: 2.155 MB / 0.6702 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/0.5882, allocations: 23.98 kB / 0.6702 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02072/0.609, allocations: 8.828 MB / 0.6788 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.609, allocations: 0 / 0.6788 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/0.6261, allocations: 6.036 MB / 0.6847 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.6266, allocations: 211.5 kB / 0.6849 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003119/0.6269, allocations: 19.98 kB / 0.6849 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.6282, allocations: 143.9 kB / 0.6851 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006229/0.6288, allocations: 196.7 kB / 0.6852 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.586e-05/0.6289, allocations: 24 kB / 0.6853 GB, free: 13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001041/0.63, allocations: 0.6508 MB / 0.6859 GB, free: 12.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.63, allocations: 0 / 0.6859 GB, free: 12.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002275/0.6323, allocations: 0.7101 MB / 0.6866 GB, free: 11.62 MB / 494.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.000279/0.6325, allocations: 139.1 kB / 0.6867 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01246/0.645, allocations: 4.709 MB / 0.6913 GB, free: 6.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.6451, allocations: 0 / 0.6913 GB, free: 6.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005046/0.6501, allocations: 1.771 MB / 0.6931 GB, free: 4.961 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.6513, allocations: 104.1 kB / 0.6932 GB, free: 4.859 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.6559, allocations: 2.615 MB / 0.6957 GB, free: 2.211 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/0.6567, allocations: 1.117 MB / 0.6968 GB, free: 1.062 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.657, allocations: 67.42 kB / 0.6969 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.657, allocations: 0 / 0.6969 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of Templates: time 0.03133/0.6884, allocations: 21.1 MB / 0.7175 GB, free: 11.88 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)