Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005222/0.005222, allocations: 169.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.25/1.25, allocations: 223.2 MB / 239 MB, free: 1.75 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.0008472/0.0008473, allocations: 100 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4291/0.4291, allocations: 78.6 MB / 419.9 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 20 kB / 499.8 MB, free: 2.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3052, allocations: 69.34 MB / 0.5558 GB, free: 38.76 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test): time 0.005452/0.3107, allocations: 6.169 MB / 0.5618 GB, free: 37.38 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003814/0.3146, allocations: 2.128 MB / 0.5639 GB, free: 35.86 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007702/0.3153, allocations: 19.28 kB / 0.5639 GB, free: 35.86 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.3158, allocations: 168.7 kB / 0.5641 GB, free: 35.78 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.3174, allocations: 0.6781 MB / 0.5647 GB, free: 35.31 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.3188, allocations: 0.6383 MB / 0.5653 GB, free: 34.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001541/0.3203, allocations: 1.058 MB / 0.5664 GB, free: 34.4 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005274/0.3209, allocations: 364.1 kB / 0.5667 GB, free: 34.22 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000667/0.3215, allocations: 0.5443 MB / 0.5673 GB, free: 33.96 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005915/0.3221, allocations: 0.6835 MB / 0.5679 GB, free: 33.64 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.3223, allocations: 59.19 kB / 0.568 GB, free: 33.64 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.3227, allocations: 171.8 kB / 0.5681 GB, free: 33.61 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.3228, allocations: 247.6 kB / 0.5684 GB, free: 33.46 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.323, allocations: 257.3 kB / 0.5686 GB, free: 33.29 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000904/0.3239, allocations: 1.305 MB / 0.5699 GB, free: 32.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.3239, allocations: 0 / 0.5699 GB, free: 32.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3239, allocations: 0 / 0.5699 GB, free: 32.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.324, allocations: 0 / 0.5699 GB, free: 32.91 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.007122/0.3311, allocations: 2.565 MB / 0.5724 GB, free: 31.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.3311, allocations: 8.219 kB / 0.5724 GB, free: 31.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00462/0.3357, allocations: 0.8098 MB / 0.5732 GB, free: 31.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.337, allocations: 0.8678 MB / 0.574 GB, free: 31.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.3372, allocations: 250 kB / 0.5743 GB, free: 30.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.3374, allocations: 97.84 kB / 0.5744 GB, free: 30.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.3397, allocations: 1.438 MB / 0.5758 GB, free: 30.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.3397, allocations: 3 kB / 0.5758 GB, free: 30.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/0.3398, allocations: 36.81 kB / 0.5758 GB, free: 30.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.3398, allocations: 27.55 kB / 0.5758 GB, free: 30.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.3421, allocations: 1.301 MB / 0.5771 GB, free: 29.76 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.005322/0.3475, allocations: 4.547 MB / 0.5816 GB, free: 26.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/0.3504, allocations: 1.856 MB / 0.5834 GB, free: 25.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.784e-05/0.3505, allocations: 20.2 kB / 0.5834 GB, free: 25.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3506, allocations: 49.44 kB / 0.5834 GB, free: 25.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=110): time 3.407e-06/0.3506, allocations: 0 / 0.5834 GB, free: 25.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.02889/0.3795, allocations: 8.684 MB / 0.5919 GB, free: 24.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.3796, allocations: 114.7 kB / 0.592 GB, free: 24.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.3811, allocations: 1.043 MB / 0.593 GB, free: 23.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.3813, allocations: 45.83 kB / 0.5931 GB, free: 23.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.3817, allocations: 0.5831 MB / 0.5937 GB, free: 23.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/0.382, allocations: 391.6 kB / 0.594 GB, free: 22.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.3821, allocations: 25.5 kB / 0.5941 GB, free: 22.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.3822, allocations: 362.9 kB / 0.5944 GB, free: 22.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.3839, allocations: 0.8197 MB / 0.5952 GB, free: 22.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.3856, allocations: 1.035 MB / 0.5962 GB, free: 21.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.3874, allocations: 0.9023 MB / 0.5971 GB, free: 21.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.3874, allocations: 5.875 kB / 0.5971 GB, free: 21.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01621/0.4036, allocations: 5.537 MB / 0.6025 GB, free: 20.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002925/0.4039, allocations: 1.673 MB / 0.6041 GB, free: 18.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.404, allocations: 4.125 kB / 0.6041 GB, free: 18.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007385/0.4114, allocations: 2.225 MB / 0.6063 GB, free: 18.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.4125, allocations: 232.4 kB / 0.6065 GB, free: 18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02395/0.4365, allocations: 10.78 MB / 0.6171 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.4383, allocations: 238.7 kB / 0.6173 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-05/0.4384, allocations: 47.98 kB / 0.6173 GB, free: 10.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.4384, allocations: 6.031 kB / 0.6173 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01392/0.4523, allocations: 5.327 MB / 0.6225 GB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.4524, allocations: 7.984 kB / 0.6226 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006254/0.4586, allocations: 2.222 MB / 0.6247 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.4597, allocations: 219.6 kB / 0.6249 GB, free: 2.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02369/0.4834, allocations: 10.73 MB / 0.6354 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.4852, allocations: 210.9 kB / 0.6356 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.4853, allocations: 51.98 kB / 0.6357 GB, free: 7.734 MB / 442.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(flow=false start = tGTypeIV.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(flow=false start = tGTypeIV.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(flow=false start = tGTypeIV.integrator4.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(flow=false start = tGTypeIV.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(flow=false start = tGTypeIV.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * 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.0006873/0.486, allocations: 363.6 kB / 0.636 GB, free: 7.371 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.4862, allocations: 134.3 kB / 0.6361 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/0.501, allocations: 5.169 MB / 0.6412 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.5011, allocations: 12 kB / 0.6412 GB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5011, allocations: 0 / 0.6412 GB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/0.5011, allocations: 15.97 kB / 0.6412 GB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/0.5184, allocations: 6.984 MB / 0.648 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.5185, allocations: 0 / 0.648 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008391/0.5193, allocations: 127.8 kB / 0.6482 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006418/0.5258, allocations: 2.152 MB / 0.6503 GB, free: 8.625 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/0.5259, allocations: 27.94 kB / 0.6503 GB, free: 8.598 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02061/0.5466, allocations: 9.313 MB / 0.6594 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5466, allocations: 0 / 0.6594 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01696/0.5635, allocations: 6.248 MB / 0.6655 GB, free: 8.867 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/0.564, allocations: 227.1 kB / 0.6657 GB, free: 8.625 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.5642, allocations: 23.94 kB / 0.6657 GB, free: 8.602 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.5653, allocations: 139.9 kB / 0.6659 GB, free: 8.465 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005371/0.5658, allocations: 208.6 kB / 0.6661 GB, free: 8.262 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/0.5659, allocations: 28 kB / 0.6661 GB, free: 8.234 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008801/0.5668, allocations: 0.6945 MB / 0.6668 GB, free: 7.535 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5668, allocations: 0 / 0.6668 GB, free: 7.535 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001966/0.5688, allocations: 0.7995 MB / 0.6675 GB, free: 6.734 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * 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 (73): * Single equations (assignments): 72 * 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.0002441/0.569, allocations: 127.1 kB / 0.6677 GB, free: 6.602 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01236/0.5814, allocations: 4.924 MB / 0.6725 GB, free: 1.656 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5814, allocations: 0.5 kB / 0.6725 GB, free: 1.656 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004968/0.5864, allocations: 1.833 MB / 0.6743 GB, free: 15.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.5871, allocations: 129.3 kB / 0.6744 GB, free: 15.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.5909, allocations: 2.848 MB / 0.6772 GB, free: 12.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/0.5916, allocations: 1.208 MB / 0.6783 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005284/0.5921, allocations: 140.6 kB / 0.6785 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.5923, allocations: 71.42 kB / 0.6785 GB, free: 11.38 MB / 490.7 MB Notification: Performance of SimCode: time 5.92e-07/0.5923, allocations: 0 / 0.6785 GB, free: 11.38 MB / 490.7 MB Notification: Performance of Templates: time 0.04113/0.6335, allocations: 30.35 MB / 0.7082 GB, free: 13.02 MB / 0.5105 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)