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.001058/0.001058, allocations: 108.8 kB / 16.37 MB, free: 6.477 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.342/1.342, allocations: 222.9 MB / 240 MB, free: 4.406 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.001301/0.001301, allocations: 183.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4537/0.4537, allocations: 78.54 MB / 419 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 79.88 kB / 498.9 MB, free: 5.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1402, allocations: 68.18 MB / 0.5538 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.2504/0.3906, allocations: 6.304 MB / 0.56 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003867/0.3946, allocations: 1.934 MB / 0.5618 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005144/0.3951, allocations: 11.12 kB / 0.5618 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007135/0.3958, allocations: 236 kB / 0.5621 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.3974, allocations: 0.7223 MB / 0.5628 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.3989, allocations: 0.6688 MB / 0.5634 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.4001, allocations: 1.456 MB / 0.5649 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003972/0.4006, allocations: 326.5 kB / 0.5652 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005212/0.4011, allocations: 0.5997 MB / 0.5658 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006111/0.4017, allocations: 0.7409 MB / 0.5665 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.4019, allocations: 106.5 kB / 0.5666 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004/0.4023, allocations: 245.5 kB / 0.5668 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.4025, allocations: 283.9 kB / 0.5671 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004579/0.403, allocations: 0.622 MB / 0.5677 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.4042, allocations: 1.548 MB / 0.5692 GB, free: 33.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4042, allocations: 1.062 kB / 0.5692 GB, free: 33.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4043, allocations: 0 / 0.5692 GB, free: 33.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.175e-05/0.4043, allocations: 0 / 0.5692 GB, free: 33.79 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.00722/0.4115, allocations: 2.553 MB / 0.5717 GB, free: 32.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4116, allocations: 11.47 kB / 0.5717 GB, free: 32.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004566/0.4161, allocations: 0.7662 MB / 0.5725 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.4174, allocations: 0.8232 MB / 0.5733 GB, free: 32.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.4176, allocations: 227.6 kB / 0.5735 GB, free: 32.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.4178, allocations: 74.09 kB / 0.5735 GB, free: 32.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.4197, allocations: 1.132 MB / 0.5747 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.4198, allocations: 3.938 kB / 0.5747 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/0.4199, allocations: 32.5 kB / 0.5747 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.4199, allocations: 18.38 kB / 0.5747 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.4218, allocations: 1.079 MB / 0.5758 GB, free: 32.17 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.004649/0.4265, allocations: 3.126 MB / 0.5788 GB, free: 31.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.429, allocations: 1.604 MB / 0.5804 GB, free: 30.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.4302, allocations: 0.7663 MB / 0.5811 GB, free: 29.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.4304, allocations: 14.5 kB / 0.5811 GB, free: 29.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.4304, allocations: 43.16 kB / 0.5812 GB, free: 29.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 3.337e-06/0.4304, allocations: 0 / 0.5812 GB, free: 29.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.0266/0.457, allocations: 7.063 MB / 0.5881 GB, free: 28.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.4571, allocations: 87.61 kB / 0.5882 GB, free: 28.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.4589, allocations: 0.945 MB / 0.5891 GB, free: 28.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002977/0.4592, allocations: 40.36 kB / 0.5891 GB, free: 28.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/0.4596, allocations: 498 kB / 0.5896 GB, free: 27.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.46, allocations: 338.1 kB / 0.5899 GB, free: 27.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004486/0.4604, allocations: 206 kB / 0.5901 GB, free: 27.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4606, allocations: 346 kB / 0.5904 GB, free: 26.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.4622, allocations: 0.7123 MB / 0.5911 GB, free: 26.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.464, allocations: 0.8343 MB / 0.592 GB, free: 26.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01884/0.4828, allocations: 4.731 MB / 0.5966 GB, free: 24.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.4829, allocations: 1.438 kB / 0.5966 GB, free: 24.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01441/0.4973, allocations: 4.405 MB / 0.6009 GB, free: 23.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.4974, allocations: 10.2 kB / 0.6009 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.4974, allocations: 2.094 kB / 0.6009 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006648/0.5041, allocations: 1.899 MB / 0.6027 GB, free: 23.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009941/0.5051, allocations: 174.5 kB / 0.6029 GB, free: 23.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02178/0.5269, allocations: 9.944 MB / 0.6126 GB, free: 17.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.5286, allocations: 175.8 kB / 0.6128 GB, free: 17.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.5288, allocations: 43.92 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.001703/0.5305, allocations: 0.8772 MB / 0.6137 GB, free: 17.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001239/0.5317, allocations: 0.8234 MB / 0.6145 GB, free: 16.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01693/0.5487, allocations: 4.691 MB / 0.6191 GB, free: 11.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.552e-06/0.5487, allocations: 4 kB / 0.6191 GB, free: 11.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01755/0.5663, allocations: 4.39 MB / 0.6234 GB, free: 7.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.5663, allocations: 4.625 kB / 0.6234 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.5664, allocations: 4 kB / 0.6234 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00813/0.5745, allocations: 1.897 MB / 0.6252 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.5758, allocations: 167.7 kB / 0.6254 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03322/0.609, allocations: 9.947 MB / 0.6351 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.6116, allocations: 163.5 kB / 0.6353 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/0.6118, allocations: 39.98 kB / 0.6353 GB, free: 10.67 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.0005009/0.6123, allocations: 236.9 kB / 0.6355 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/0.6127, allocations: 114.6 kB / 0.6356 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01941/0.6321, allocations: 4.074 MB / 0.6396 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.334e-05/0.6322, allocations: 8 kB / 0.6396 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.6322, allocations: 4 kB / 0.6396 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.391e-05/0.6323, allocations: 3.984 kB / 0.6396 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02249/0.6548, allocations: 5.72 MB / 0.6452 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/0.6549, allocations: 4 kB / 0.6452 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008926/0.6558, allocations: 91.89 kB / 0.6453 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008943/0.6647, allocations: 1.831 MB / 0.6471 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/0.665, allocations: 21.31 kB / 0.6471 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02953/0.6945, allocations: 8.614 MB / 0.6555 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6946, allocations: 4 kB / 0.6555 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/0.7087, allocations: 5.008 MB / 0.6604 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004266/0.7092, allocations: 211.4 kB / 0.6606 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.7094, allocations: 20 kB / 0.6606 GB, free: 384 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.7104, allocations: 107.9 kB / 0.6607 GB, free: 276 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005959/0.711, allocations: 192.7 kB / 0.6609 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.686e-05/0.7111, allocations: 24.88 kB / 0.6609 GB, free: 60 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009181/0.712, allocations: 0.6469 MB / 0.6616 GB, free: 15.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.712, allocations: 0 / 0.6616 GB, free: 15.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001994/0.714, allocations: 0.714 MB / 0.6623 GB, free: 14.69 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.0002565/0.7143, allocations: 133 kB / 0.6624 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01099/0.7253, allocations: 4.26 MB / 0.6666 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.7253, allocations: 4.062 kB / 0.6666 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004419/0.7297, allocations: 1.584 MB / 0.6681 GB, free: 8.676 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000994/0.7308, allocations: 103.5 kB / 0.6682 GB, free: 8.578 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.7352, allocations: 2.084 MB / 0.6702 GB, free: 6.488 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/0.7359, allocations: 1.113 MB / 0.6713 GB, free: 5.344 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004723/0.7364, allocations: 116 kB / 0.6714 GB, free: 5.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.7366, allocations: 67.42 kB / 0.6715 GB, free: 5.164 MB / 478.1 MB Notification: Performance of SimCode: time 8.91e-07/0.7366, allocations: 4 kB / 0.6715 GB, free: 5.16 MB / 478.1 MB Notification: Performance of Templates: time 0.04981/0.7864, allocations: 33.16 MB / 0.7039 GB, free: 4.156 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 cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)