Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_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_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0084/0.008399, allocations: 172.9 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.2 MB / 239 MB, free: 1.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008413/0.0008411, allocations: 81.95 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4275/0.4275, allocations: 78.59 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003363, allocations: 12 kB / 499.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2936, allocations: 69.35 MB / 0.5558 GB, free: 38.95 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005033/0.2987, allocations: 5.538 MB / 0.5612 GB, free: 38.05 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.3024, allocations: 1.921 MB / 0.5631 GB, free: 36.69 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/0.303, allocations: 14.59 kB / 0.5631 GB, free: 36.69 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006408/0.3036, allocations: 167 kB / 0.5632 GB, free: 36.61 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.3052, allocations: 0.6503 MB / 0.5639 GB, free: 36.17 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.3065, allocations: 0.5565 MB / 0.5644 GB, free: 35.89 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.3075, allocations: 0.9208 MB / 0.5653 GB, free: 35.38 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003518/0.3079, allocations: 263 kB / 0.5656 GB, free: 35.26 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005656/0.3084, allocations: 0.5191 MB / 0.5661 GB, free: 35.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007497/0.3092, allocations: 0.6254 MB / 0.5667 GB, free: 34.74 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.3093, allocations: 53.22 kB / 0.5667 GB, free: 34.74 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.3098, allocations: 167.8 kB / 0.5669 GB, free: 34.71 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.31, allocations: 225.5 kB / 0.5671 GB, free: 34.58 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.3101, allocations: 216.3 kB / 0.5673 GB, free: 34.44 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009496/0.3111, allocations: 1.097 MB / 0.5684 GB, free: 34.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3111, allocations: 1.156 kB / 0.5684 GB, free: 34.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3111, allocations: 0 / 0.5684 GB, free: 34.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.3111, allocations: 0 / 0.5684 GB, free: 34.1 MB / 426.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.007068/0.3182, allocations: 2.388 MB / 0.5707 GB, free: 33.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3182, allocations: 8.656 kB / 0.5707 GB, free: 33.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004625/0.3229, allocations: 0.7826 MB / 0.5715 GB, free: 32.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.3241, allocations: 0.773 MB / 0.5722 GB, free: 32.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.3243, allocations: 224.8 kB / 0.5725 GB, free: 32.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.3244, allocations: 77.34 kB / 0.5725 GB, free: 32.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.3265, allocations: 1.199 MB / 0.5737 GB, free: 31.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3266, allocations: 0 / 0.5737 GB, free: 31.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.346e-05/0.3267, allocations: 34.33 kB / 0.5737 GB, free: 31.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.3267, allocations: 18.34 kB / 0.5738 GB, free: 31.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.3289, allocations: 1.16 MB / 0.5749 GB, free: 31.37 MB / 426.7 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.004696/0.3336, allocations: 3.215 MB / 0.578 GB, free: 29.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.3364, allocations: 1.739 MB / 0.5797 GB, free: 28.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.539e-05/0.3365, allocations: 17.06 kB / 0.5797 GB, free: 28.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3365, allocations: 42.66 kB / 0.5798 GB, free: 28.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 2.615e-06/0.3365, allocations: 3.062 kB / 0.5798 GB, free: 28.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.02759/0.3641, allocations: 8.726 MB / 0.5883 GB, free: 27.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.3642, allocations: 92.81 kB / 0.5884 GB, free: 27.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.3657, allocations: 0.9357 MB / 0.5893 GB, free: 26.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.3658, allocations: 53.77 kB / 0.5894 GB, free: 26.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.3661, allocations: 490.5 kB / 0.5898 GB, free: 26.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.3664, allocations: 338 kB / 0.5902 GB, free: 25.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.669e-05/0.3665, allocations: 24.25 kB / 0.5902 GB, free: 25.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.3666, allocations: 345.3 kB / 0.5905 GB, free: 25.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.3682, allocations: 0.7782 MB / 0.5913 GB, free: 25.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.3698, allocations: 0.8948 MB / 0.5921 GB, free: 24.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.3714, allocations: 0.8344 MB / 0.593 GB, free: 24.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3714, allocations: 0.9062 kB / 0.593 GB, free: 24.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01514/0.3866, allocations: 5.331 MB / 0.5982 GB, free: 23.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.3867, allocations: 0.7875 MB / 0.5989 GB, free: 22.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3868, allocations: 2.625 kB / 0.5989 GB, free: 22.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00724/0.394, allocations: 2.226 MB / 0.6011 GB, free: 22.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009941/0.395, allocations: 181.8 kB / 0.6013 GB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02424/0.4193, allocations: 10.76 MB / 0.6118 GB, free: 16.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.421, allocations: 219.9 kB / 0.612 GB, free: 16.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/0.4212, allocations: 43.28 kB / 0.612 GB, free: 16.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.4213, allocations: 4 kB / 0.612 GB, free: 16.21 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01356/0.4348, allocations: 5.174 MB / 0.6171 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.4349, allocations: 0 / 0.6171 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006401/0.4413, allocations: 2.225 MB / 0.6193 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/0.4422, allocations: 179.7 kB / 0.6194 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02248/0.4647, allocations: 10.72 MB / 0.6299 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.4664, allocations: 195 kB / 0.6301 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001811/0.4666, allocations: 43.98 kB / 0.6301 GB, free: 13.57 MB / 442.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 (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.0006268/0.4672, allocations: 324.6 kB / 0.6304 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.4675, allocations: 114.6 kB / 0.6305 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/0.4825, allocations: 5.023 MB / 0.6354 GB, free: 8.098 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.4825, allocations: 8 kB / 0.6355 GB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4826, allocations: 0 / 0.6355 GB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.4826, allocations: 15.91 kB / 0.6355 GB, free: 8.074 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/0.4993, allocations: 6.665 MB / 0.642 GB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.4993, allocations: 3.938 kB / 0.642 GB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/0.4999, allocations: 103.8 kB / 0.6421 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006439/0.5064, allocations: 2.148 MB / 0.6442 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.5065, allocations: 23.94 kB / 0.6442 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0204/0.5269, allocations: 9.305 MB / 0.6533 GB, free: 5.543 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.527, allocations: 0 / 0.6533 GB, free: 5.543 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/0.5432, allocations: 6.032 MB / 0.6592 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/0.5437, allocations: 203.6 kB / 0.6594 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/0.544, allocations: 20 kB / 0.6594 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.5452, allocations: 147.9 kB / 0.6595 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000525/0.5458, allocations: 204.6 kB / 0.6597 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.291e-05/0.5458, allocations: 20 kB / 0.6598 GB, free: 14.89 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009374/0.5468, allocations: 0.643 MB / 0.6604 GB, free: 14.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5468, allocations: 0 / 0.6604 GB, free: 14.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002038/0.5488, allocations: 0.7139 MB / 0.6611 GB, free: 13.52 MB / 474.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 (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.0002564/0.5491, allocations: 130.9 kB / 0.6612 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01182/0.5609, allocations: 4.685 MB / 0.6658 GB, free: 8.688 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.561, allocations: 4.438 kB / 0.6658 GB, free: 8.684 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004746/0.5657, allocations: 1.767 MB / 0.6675 GB, free: 6.898 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/0.5664, allocations: 86.11 kB / 0.6676 GB, free: 6.812 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003922/0.5703, allocations: 2.492 MB / 0.67 GB, free: 4.293 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/0.571, allocations: 1.14 MB / 0.6711 GB, free: 3.121 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000476/0.5715, allocations: 115.1 kB / 0.6712 GB, free: 3.004 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.5717, allocations: 63.42 kB / 0.6713 GB, free: 2.941 MB / 474.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5717, allocations: 0 / 0.6713 GB, free: 2.941 MB / 474.7 MB Notification: Performance of Templates: time 0.04065/0.6123, allocations: 28.76 MB / 0.6994 GB, free: 6.176 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)