Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009246/0.0009245, allocations: 173.5 kB / 15.78 MB, free: 6.348 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.431/1.431, allocations: 223.2 MB / 239.8 MB, free: 8 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008584/0.0008585, allocations: 97.86 kB / 290.9 MB, free: 4.566 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4992/0.4992, allocations: 78.62 MB / 420.7 MB, free: 36.49 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 12 kB / 0.4888 GB, free: 7.246 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1353, allocations: 69.34 MB / 0.5565 GB, free: 1.84 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test): time 0.006686/0.1421, allocations: 6.637 MB / 0.563 GB, free: 11.17 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00453/0.1466, allocations: 2.228 MB / 0.5652 GB, free: 8.938 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008959/0.1476, allocations: 23.94 kB / 0.5652 GB, free: 8.914 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006444/0.1482, allocations: 194.5 kB / 0.5654 GB, free: 8.723 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.1499, allocations: 0.6486 MB / 0.566 GB, free: 8.07 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.1515, allocations: 0.6571 MB / 0.5667 GB, free: 7.422 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.1537, allocations: 1.609 MB / 0.5682 GB, free: 5.809 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007477/0.1544, allocations: 398.2 kB / 0.5686 GB, free: 5.402 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.1556, allocations: 0.5948 MB / 0.5692 GB, free: 4.805 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008537/0.1565, allocations: 0.7426 MB / 0.5699 GB, free: 4.059 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.1566, allocations: 60 kB / 0.57 GB, free: 4 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005076/0.1571, allocations: 183.9 kB / 0.5701 GB, free: 3.82 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.1574, allocations: 274.6 kB / 0.5704 GB, free: 3.551 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.1577, allocations: 264.8 kB / 0.5707 GB, free: 3.285 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.1591, allocations: 1.426 MB / 0.5721 GB, free: 1.855 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1591, allocations: 4 kB / 0.5721 GB, free: 1.852 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1591, allocations: 0 / 0.5721 GB, free: 1.852 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.1591, allocations: 4 kB / 0.5721 GB, free: 1.848 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.2538/0.413, allocations: 2.673 MB / 0.5747 GB, free: 44.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.413, allocations: 10.09 kB / 0.5747 GB, free: 44.13 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00548/0.4185, allocations: 0.8169 MB / 0.5755 GB, free: 44.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.4209, allocations: 0.9237 MB / 0.5764 GB, free: 43.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.4213, allocations: 247.1 kB / 0.5766 GB, free: 43.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004122/0.4217, allocations: 104.9 kB / 0.5767 GB, free: 43.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002981/0.4247, allocations: 1.508 MB / 0.5782 GB, free: 43.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.4247, allocations: 0.9375 kB / 0.5782 GB, free: 43.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.4248, allocations: 45.27 kB / 0.5782 GB, free: 43.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.4249, allocations: 24.06 kB / 0.5783 GB, free: 43.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/0.4277, allocations: 1.415 MB / 0.5796 GB, free: 43.34 MB / 442.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.007136/0.4349, allocations: 4.419 MB / 0.584 GB, free: 41.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003845/0.4387, allocations: 2.062 MB / 0.586 GB, free: 41.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.4406, allocations: 0.9612 MB / 0.5869 GB, free: 41.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.4407, allocations: 15.8 kB / 0.5869 GB, free: 41.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.4408, allocations: 48.47 kB / 0.587 GB, free: 41.19 MB / 442.7 MB Notification: Performance of pre-optimization done (n=115): time 2.845e-06/0.4408, allocations: 0 / 0.587 GB, free: 41.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=115): time 0.03149/0.4723, allocations: 9.116 MB / 0.5959 GB, free: 40.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/0.4724, allocations: 142.1 kB / 0.596 GB, free: 40.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.474, allocations: 1.132 MB / 0.5971 GB, free: 39.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00031/0.4743, allocations: 48.17 kB / 0.5972 GB, free: 39.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.4747, allocations: 0.6129 MB / 0.5978 GB, free: 39.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/0.4751, allocations: 409.5 kB / 0.5981 GB, free: 38.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.8e-05/0.4752, allocations: 30.62 kB / 0.5982 GB, free: 38.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4753, allocations: 357.9 kB / 0.5985 GB, free: 38.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.477, allocations: 0.9309 MB / 0.5994 GB, free: 38.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.4787, allocations: 1.082 MB / 0.6005 GB, free: 37.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.4806, allocations: 0.9471 MB / 0.6014 GB, free: 37.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.4806, allocations: 2.906 kB / 0.6014 GB, free: 37.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01545/0.4961, allocations: 5.643 MB / 0.6069 GB, free: 35.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.4962, allocations: 214.3 kB / 0.6071 GB, free: 35.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.4962, allocations: 3.875 kB / 0.6071 GB, free: 35.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006857/0.5031, allocations: 2.233 MB / 0.6093 GB, free: 35.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.5044, allocations: 250 kB / 0.6095 GB, free: 35.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02285/0.5273, allocations: 10.27 MB / 0.6196 GB, free: 30.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.5292, allocations: 264.8 kB / 0.6198 GB, free: 30.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.5294, allocations: 54.72 kB / 0.6199 GB, free: 30.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.5294, allocations: 3.469 kB / 0.6199 GB, free: 30.86 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01647/0.5459, allocations: 5.424 MB / 0.6252 GB, free: 29.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.546, allocations: 3.719 kB / 0.6252 GB, free: 29.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007538/0.5535, allocations: 2.232 MB / 0.6274 GB, free: 29.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.5548, allocations: 231.4 kB / 0.6276 GB, free: 29.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02177/0.5766, allocations: 10.25 MB / 0.6376 GB, free: 21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.5785, allocations: 232.8 kB / 0.6378 GB, free: 20.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.5786, allocations: 53.94 kB / 0.6379 GB, free: 20.72 MB / 442.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start fixed = true ) "State of block" type: Real tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.integrator5.y:VARIABLE(flow=false start = tGTypeVI.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(flow=false start = tGTypeVI.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(flow=false start = tGTypeVI.integrator.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: 18 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.switch1.u2,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 140 * 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.0007135/0.5794, allocations: 391 kB / 0.6382 GB, free: 20.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.5796, allocations: 154.1 kB / 0.6384 GB, free: 20.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/0.5934, allocations: 5.267 MB / 0.6435 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.5934, allocations: 15.95 kB / 0.6435 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5934, allocations: 1.938 kB / 0.6435 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-05/0.5935, allocations: 7.984 kB / 0.6436 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/0.6101, allocations: 7.187 MB / 0.6506 GB, free: 7.586 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.6101, allocations: 0 / 0.6506 GB, free: 7.586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/0.6109, allocations: 143.8 kB / 0.6507 GB, free: 7.445 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006049/0.617, allocations: 2.159 MB / 0.6528 GB, free: 5.285 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002023/0.6172, allocations: 24 kB / 0.6528 GB, free: 5.262 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01918/0.6364, allocations: 8.833 MB / 0.6615 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6365, allocations: 0 / 0.6615 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/0.6554, allocations: 6.491 MB / 0.6678 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000547/0.656, allocations: 235 kB / 0.668 GB, free: 5.535 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.6562, allocations: 27.98 kB / 0.6681 GB, free: 5.508 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.6576, allocations: 167.8 kB / 0.6682 GB, free: 5.344 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006105/0.6582, allocations: 212.6 kB / 0.6684 GB, free: 5.137 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-05/0.6583, allocations: 31.98 kB / 0.6684 GB, free: 5.105 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001172/0.6595, allocations: 0.7468 MB / 0.6692 GB, free: 4.355 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6595, allocations: 0 / 0.6692 GB, free: 4.355 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002484/0.662, allocations: 0.8244 MB / 0.67 GB, free: 3.531 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.transferFunction.x_scaled[1],tGTypeVI.derivative.x) * 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 (78): * Single equations (assignments): 77 * 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.0002828/0.6623, allocations: 131.8 kB / 0.6701 GB, free: 3.395 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0138/0.6761, allocations: 5.074 MB / 0.6751 GB, free: 14.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.6761, allocations: 0 / 0.6751 GB, free: 14.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005691/0.6818, allocations: 1.902 MB / 0.6769 GB, free: 12.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.6834, allocations: 157.3 kB / 0.6771 GB, free: 12.26 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.6883, allocations: 3.043 MB / 0.68 GB, free: 9.207 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008671/0.6892, allocations: 1.226 MB / 0.6812 GB, free: 7.949 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/0.6897, allocations: 83.42 kB / 0.6813 GB, free: 7.871 MB / 474.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6897, allocations: 0 / 0.6813 GB, free: 7.871 MB / 474.7 MB Notification: Performance of Templates: time 0.03595/0.7257, allocations: 25.66 MB / 0.7064 GB, free: 14.3 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)