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.001022/0.001022, allocations: 169.7 kB / 16.1 MB, free: 5.695 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.412/1.412, allocations: 223.3 MB / 240.1 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008242/0.0008242, allocations: 91.25 kB / 291.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.474/0.474, allocations: 78.61 MB / 421 MB, free: 9.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004102, allocations: 11.94 kB / 0.4894 GB, free: 9.227 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3148, allocations: 69.35 MB / 0.5571 GB, free: 18.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test): time 0.004787/0.3196, allocations: 6.876 MB / 0.5639 GB, free: 11.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.3227, allocations: 2.18 MB / 0.566 GB, free: 9.699 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000486/0.3232, allocations: 19.94 kB / 0.566 GB, free: 9.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004083/0.3237, allocations: 206.6 kB / 0.5662 GB, free: 9.477 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.325, allocations: 0.6469 MB / 0.5668 GB, free: 8.828 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.3262, allocations: 0.7232 MB / 0.5675 GB, free: 8.113 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.3272, allocations: 1.581 MB / 0.5691 GB, free: 6.527 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000455/0.3277, allocations: 430.5 kB / 0.5695 GB, free: 6.074 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004803/0.3282, allocations: 0.5713 MB / 0.57 GB, free: 5.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005122/0.3287, allocations: 0.7188 MB / 0.5708 GB, free: 4.777 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.3288, allocations: 60 kB / 0.5708 GB, free: 4.719 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000348/0.3292, allocations: 195.9 kB / 0.571 GB, free: 4.527 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.3293, allocations: 254.5 kB / 0.5712 GB, free: 4.277 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003618/0.3297, allocations: 0.6653 MB / 0.5719 GB, free: 3.602 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008511/0.3306, allocations: 1.344 MB / 0.5732 GB, free: 2.254 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3306, allocations: 7.922 kB / 0.5732 GB, free: 2.246 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3306, allocations: 0 / 0.5732 GB, free: 2.246 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.3306, allocations: 0 / 0.5732 GB, free: 2.246 MB / 378.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.006663/0.3373, allocations: 2.553 MB / 0.5757 GB, free: 15.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3373, allocations: 8.031 kB / 0.5757 GB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.3422, allocations: 0.8059 MB / 0.5765 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.3436, allocations: 0.9178 MB / 0.5774 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.3439, allocations: 246.5 kB / 0.5776 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.3441, allocations: 96 kB / 0.5777 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.3466, allocations: 1.44 MB / 0.5791 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.3467, allocations: 15.88 kB / 0.5791 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.3468, allocations: 40 kB / 0.5792 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.3468, allocations: 24 kB / 0.5792 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.3494, allocations: 1.304 MB / 0.5805 GB, free: 10.61 MB / 394.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.006319/0.3557, allocations: 4.566 MB / 0.5849 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/0.359, allocations: 1.863 MB / 0.5868 GB, free: 3.898 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.3606, allocations: 0.9044 MB / 0.5876 GB, free: 2.996 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.3608, allocations: 13 kB / 0.5876 GB, free: 2.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3608, allocations: 47.56 kB / 0.5877 GB, free: 2.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=110): time 2.956e-06/0.3608, allocations: 0 / 0.5877 GB, free: 2.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=110): time 0.02721/0.388, allocations: 8.735 MB / 0.5962 GB, free: 10.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/0.3881, allocations: 111.8 kB / 0.5963 GB, free: 10.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.3896, allocations: 1.06 MB / 0.5974 GB, free: 8.953 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.3897, allocations: 45.7 kB / 0.5974 GB, free: 8.902 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.3902, allocations: 0.5829 MB / 0.598 GB, free: 8.312 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000371/0.3906, allocations: 394.3 kB / 0.5984 GB, free: 7.922 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.3907, allocations: 121.6 kB / 0.5985 GB, free: 7.797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3909, allocations: 357.9 kB / 0.5988 GB, free: 7.441 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/0.3926, allocations: 0.8316 MB / 0.5996 GB, free: 6.609 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.3944, allocations: 1.046 MB / 0.6006 GB, free: 5.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01852/0.413, allocations: 5.483 MB / 0.606 GB, free: 15.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.413, allocations: 0 / 0.606 GB, free: 15.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01519/0.4282, allocations: 5.546 MB / 0.6114 GB, free: 10.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.4284, allocations: 222.7 kB / 0.6116 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.4284, allocations: 4 kB / 0.6116 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006594/0.435, allocations: 2.229 MB / 0.6138 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.4361, allocations: 227.6 kB / 0.614 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02251/0.4586, allocations: 10.3 MB / 0.6241 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.4604, allocations: 230.7 kB / 0.6243 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.4605, allocations: 55.92 kB / 0.6244 GB, free: 12.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4605, allocations: 4 kB / 0.6244 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01474/0.4753, allocations: 5.331 MB / 0.6296 GB, free: 7.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/0.4753, allocations: 8.062 kB / 0.6296 GB, free: 7.582 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006716/0.4821, allocations: 2.229 MB / 0.6317 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.4832, allocations: 219.7 kB / 0.632 GB, free: 5.137 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/0.5066, allocations: 10.25 MB / 0.642 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.5084, allocations: 210.9 kB / 0.6422 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.5086, allocations: 51.92 kB / 0.6422 GB, free: 10.47 MB / 458.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator3.y:VARIABLE(flow=false start = tGTypeIV.integrator3.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.integrator4.y:VARIABLE(flow=false start = tGTypeIV.integrator4.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.integrator1.y:VARIABLE(flow=false start = tGTypeIV.integrator1.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 (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.0009164/0.5096, allocations: 375.3 kB / 0.6426 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004186/0.51, allocations: 134.3 kB / 0.6427 GB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/0.5246, allocations: 5.176 MB / 0.6478 GB, free: 4.773 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.5247, allocations: 12 kB / 0.6478 GB, free: 4.762 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.5247, allocations: 3.938 kB / 0.6478 GB, free: 4.758 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.5247, allocations: 3.984 kB / 0.6478 GB, free: 4.754 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/0.5418, allocations: 6.999 MB / 0.6546 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.5418, allocations: 0 / 0.6546 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.5424, allocations: 127.8 kB / 0.6547 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006207/0.5487, allocations: 2.156 MB / 0.6568 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.5488, allocations: 20 kB / 0.6569 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01998/0.5688, allocations: 8.848 MB / 0.6655 GB, free: 2.324 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5688, allocations: 0 / 0.6655 GB, free: 2.324 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01668/0.5855, allocations: 6.255 MB / 0.6716 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005084/0.5861, allocations: 227.1 kB / 0.6718 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/0.5864, allocations: 24 kB / 0.6718 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.5875, allocations: 139.9 kB / 0.672 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005986/0.5882, allocations: 204.6 kB / 0.6722 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-05/0.5883, allocations: 28 kB / 0.6722 GB, free: 11.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001166/0.5894, allocations: 0.7062 MB / 0.6729 GB, free: 10.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5894, allocations: 3.938 kB / 0.6729 GB, free: 10.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002579/0.592, allocations: 0.7917 MB / 0.6737 GB, free: 9.906 MB / 490.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 (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.0003178/0.5924, allocations: 135.1 kB / 0.6738 GB, free: 9.766 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01264/0.605, allocations: 4.927 MB / 0.6786 GB, free: 4.816 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.605, allocations: 3.938 kB / 0.6786 GB, free: 4.812 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004791/0.6098, allocations: 1.845 MB / 0.6804 GB, free: 2.953 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.6109, allocations: 137.5 kB / 0.6805 GB, free: 2.816 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2464/0.8574, allocations: 2.988 MB / 0.6835 GB, free: 116.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008354/0.8583, allocations: 1.185 MB / 0.6846 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000438/0.8587, allocations: 80.72 kB / 0.6847 GB, free: 115.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8587, allocations: 0 / 0.6847 GB, free: 115.5 MB / 490.7 MB Notification: Performance of Templates: time 0.03175/0.8905, allocations: 24.26 MB / 0.7084 GB, free: 103.3 MB / 490.7 MB 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)