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.002018/0.002018, allocations: 106.8 kB / 16.41 MB, free: 6.453 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.994/1.994, allocations: 222.9 MB / 240.1 MB, free: 4.527 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.001525/0.001525, allocations: 192.5 kB / 290.4 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6599/0.6599, allocations: 78.53 MB / 419.1 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002247, allocations: 83.88 kB / 0.5543 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5539/0.5562, allocations: 68.17 MB / 0.6209 GB, free: 9.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.007918/0.5642, allocations: 6.326 MB / 0.627 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00478/0.569, allocations: 1.931 MB / 0.6289 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000976/0.57, allocations: 15.94 kB / 0.6289 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008294/0.5709, allocations: 230 kB / 0.6292 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.5731, allocations: 0.7298 MB / 0.6299 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.5749, allocations: 0.6588 MB / 0.6305 GB, free: 312 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002346/0.5773, allocations: 1.46 MB / 0.6319 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006939/0.578, allocations: 332 kB / 0.6323 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.5791, allocations: 0.603 MB / 0.6329 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.5804, allocations: 0.735 MB / 0.6336 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002443/0.5806, allocations: 108 kB / 0.6337 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000778/0.5814, allocations: 239.7 kB / 0.6339 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003453/0.5818, allocations: 282.9 kB / 0.6342 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007396/0.5825, allocations: 0.6252 MB / 0.6348 GB, free: 11.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.5849, allocations: 1.539 MB / 0.6363 GB, free: 10.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.585, allocations: 4 kB / 0.6363 GB, free: 10.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.38e-06/0.585, allocations: 0 / 0.6363 GB, free: 10.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.585, allocations: 7.938 kB / 0.6363 GB, free: 10.36 MB / 446.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.01219/0.5972, allocations: 2.548 MB / 0.6388 GB, free: 7.754 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.5973, allocations: 16.03 kB / 0.6388 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007955/0.6052, allocations: 0.7711 MB / 0.6396 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/0.6075, allocations: 0.8187 MB / 0.6404 GB, free: 6.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003355/0.6079, allocations: 222.4 kB / 0.6406 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/0.6082, allocations: 79.98 kB / 0.6406 GB, free: 5.766 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/0.6116, allocations: 1.126 MB / 0.6417 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.6116, allocations: 3.938 kB / 0.6417 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.6118, allocations: 28 kB / 0.6418 GB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/0.6118, allocations: 24 kB / 0.6418 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003408/0.6153, allocations: 1.078 MB / 0.6428 GB, free: 3.496 MB / 446.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.008341/0.6236, allocations: 3.132 MB / 0.6459 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005446/0.6291, allocations: 1.604 MB / 0.6475 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00255/0.6317, allocations: 0.7658 MB / 0.6482 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.6319, allocations: 12.94 kB / 0.6482 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/0.632, allocations: 43.56 kB / 0.6483 GB, free: 13.67 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 6.372e-06/0.632, allocations: 4 kB / 0.6483 GB, free: 13.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=93): time 0.04378/0.6758, allocations: 7.063 MB / 0.6552 GB, free: 6.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.38e-05/0.6759, allocations: 90.09 kB / 0.6553 GB, free: 6.465 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/0.6782, allocations: 0.9495 MB / 0.6562 GB, free: 5.496 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003317/0.6786, allocations: 41.7 kB / 0.6562 GB, free: 5.449 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005675/0.6792, allocations: 492.4 kB / 0.6567 GB, free: 4.961 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005515/0.6797, allocations: 331.2 kB / 0.657 GB, free: 4.633 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006298/0.6804, allocations: 206.8 kB / 0.6572 GB, free: 4.422 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.6806, allocations: 349.9 kB / 0.6575 GB, free: 4.074 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002488/0.6831, allocations: 0.7126 MB / 0.6582 GB, free: 3.359 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00263/0.6857, allocations: 0.8384 MB / 0.6591 GB, free: 2.488 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02786/0.7136, allocations: 4.724 MB / 0.6637 GB, free: 13.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.7137, allocations: 0 / 0.6637 GB, free: 13.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01879/0.7325, allocations: 4.405 MB / 0.668 GB, free: 9.309 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.7326, allocations: 11.94 kB / 0.668 GB, free: 9.297 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.7326, allocations: 3.984 kB / 0.668 GB, free: 9.293 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007027/0.7396, allocations: 1.889 MB / 0.6698 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.7407, allocations: 175.7 kB / 0.67 GB, free: 7.227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03312/0.7738, allocations: 9.949 MB / 0.6797 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/0.7761, allocations: 174.9 kB / 0.6799 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003181/0.7764, allocations: 43.92 kB / 0.6799 GB, free: 12.91 MB / 494.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.002872/0.7793, allocations: 0.8751 MB / 0.6808 GB, free: 12.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002441/0.7818, allocations: 0.8267 MB / 0.6816 GB, free: 11.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02473/0.8065, allocations: 4.685 MB / 0.6862 GB, free: 6.465 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.041e-05/0.8066, allocations: 4 kB / 0.6862 GB, free: 6.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01971/0.8263, allocations: 4.39 MB / 0.6905 GB, free: 2.055 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.8264, allocations: 8 kB / 0.6905 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.8264, allocations: 4 kB / 0.6905 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007594/0.834, allocations: 1.893 MB / 0.6923 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009132/0.835, allocations: 175.8 kB / 0.6925 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02753/0.8625, allocations: 9.945 MB / 0.7022 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.8647, allocations: 163 kB / 0.7023 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/0.8651, allocations: 39.98 kB / 0.7024 GB, free: 5.676 MB / 0.4981 GB 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.000545/0.8656, allocations: 242.9 kB / 0.7026 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004459/0.8661, allocations: 118.5 kB / 0.7027 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01787/0.884, allocations: 4.069 MB / 0.7067 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.884, allocations: 8 kB / 0.7067 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.884, allocations: 4 kB / 0.7067 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.884, allocations: 3.984 kB / 0.7067 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02156/0.9056, allocations: 5.72 MB / 0.7123 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/0.9057, allocations: 0 / 0.7123 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.9065, allocations: 91.84 kB / 0.7124 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008213/0.9147, allocations: 1.831 MB / 0.7142 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/0.9149, allocations: 20 kB / 0.7142 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02782/0.9428, allocations: 8.62 MB / 0.7226 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.9428, allocations: 0 / 0.7226 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01864/0.9614, allocations: 5.003 MB / 0.7275 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005519/0.962, allocations: 211.4 kB / 0.7277 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/0.9624, allocations: 16 kB / 0.7277 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.9641, allocations: 107.9 kB / 0.7278 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008825/0.965, allocations: 200.7 kB / 0.728 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.9651, allocations: 23.94 kB / 0.728 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001491/0.9666, allocations: 0.6469 MB / 0.7287 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9666, allocations: 0 / 0.7287 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003042/0.9697, allocations: 0.714 MB / 0.7294 GB, free: 9.68 MB / 0.5294 GB 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.0003948/0.9701, allocations: 135.1 kB / 0.7295 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01256/0.9827, allocations: 4.255 MB / 0.7337 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9827, allocations: 3.938 kB / 0.7337 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004851/0.9876, allocations: 1.578 MB / 0.7352 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009808/0.9886, allocations: 104.2 kB / 0.7353 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/0.9933, allocations: 2.121 MB / 0.7374 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008228/0.9941, allocations: 1.105 MB / 0.7384 GB, free: 264 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.9944, allocations: 71.42 kB / 0.7385 GB, free: 192 kB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/0.9944, allocations: 4 kB / 0.7385 GB, free: 188 kB / 0.5294 GB Notification: Performance of Templates: time 0.03726/1.032, allocations: 21.5 MB / 0.7595 GB, free: 10.66 MB / 0.5606 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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)