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.001606/0.001606, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.443/1.443, allocations: 222.9 MB / 240.1 MB, free: 4.363 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.001611/0.001611, allocations: 192.4 kB / 290.4 MB, free: 2.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.461/0.461, allocations: 78.54 MB / 419.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 76.11 kB / 0.5543 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3478, allocations: 68.18 MB / 0.6209 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005884/0.3537, allocations: 6.316 MB / 0.627 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003671/0.3574, allocations: 1.934 MB / 0.6289 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.3585, allocations: 11.94 kB / 0.6289 GB, free: 1.922 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000888/0.3594, allocations: 242 kB / 0.6292 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.3614, allocations: 0.7249 MB / 0.6299 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.3626, allocations: 0.6543 MB / 0.6305 GB, free: 316 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.3642, allocations: 1.464 MB / 0.6319 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004818/0.3647, allocations: 328.1 kB / 0.6323 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000804/0.3656, allocations: 0.6068 MB / 0.6328 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008458/0.3664, allocations: 0.735 MB / 0.6336 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.3666, allocations: 104 kB / 0.6337 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004887/0.3671, allocations: 243.9 kB / 0.6339 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.3673, allocations: 282.8 kB / 0.6342 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004999/0.3678, allocations: 0.629 MB / 0.6348 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.3694, allocations: 1.539 MB / 0.6363 GB, free: 10.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3694, allocations: 4 kB / 0.6363 GB, free: 10.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3694, allocations: 0 / 0.6363 GB, free: 10.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.3694, allocations: 0 / 0.6363 GB, free: 10.37 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.008195/0.3776, allocations: 2.561 MB / 0.6388 GB, free: 7.746 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3777, allocations: 8.031 kB / 0.6388 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004983/0.3827, allocations: 0.775 MB / 0.6396 GB, free: 6.961 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.384, allocations: 0.8187 MB / 0.6404 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.3843, allocations: 222.4 kB / 0.6406 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.3844, allocations: 83.98 kB / 0.6406 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.3867, allocations: 1.122 MB / 0.6417 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.3868, allocations: 7.938 kB / 0.6417 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.862e-05/0.3869, allocations: 32 kB / 0.6418 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.3869, allocations: 20 kB / 0.6418 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.3892, allocations: 1.078 MB / 0.6428 GB, free: 3.488 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.005279/0.3945, allocations: 3.124 MB / 0.6459 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/0.3975, allocations: 1.604 MB / 0.6475 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/0.3991, allocations: 0.7658 MB / 0.6482 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.281e-05/0.3992, allocations: 16.91 kB / 0.6482 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.3992, allocations: 47.56 kB / 0.6483 GB, free: 13.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 3.256e-06/0.3992, allocations: 0 / 0.6483 GB, free: 13.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=93): time 0.02815/0.4274, allocations: 7.067 MB / 0.6552 GB, free: 6.562 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.4275, allocations: 90.09 kB / 0.6553 GB, free: 6.457 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.4289, allocations: 0.9456 MB / 0.6562 GB, free: 5.492 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.4291, allocations: 41.7 kB / 0.6562 GB, free: 5.445 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.4295, allocations: 0.4887 MB / 0.6567 GB, free: 4.949 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00035/0.4299, allocations: 327.2 kB / 0.657 GB, free: 4.625 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004084/0.4303, allocations: 202.8 kB / 0.6572 GB, free: 4.418 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4304, allocations: 345.9 kB / 0.6575 GB, free: 4.074 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.432, allocations: 0.7126 MB / 0.6582 GB, free: 3.359 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.4337, allocations: 0.8346 MB / 0.659 GB, free: 2.492 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01857/0.4523, allocations: 4.724 MB / 0.6637 GB, free: 13.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.4523, allocations: 4 kB / 0.6637 GB, free: 13.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01466/0.467, allocations: 4.402 MB / 0.668 GB, free: 9.312 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.4671, allocations: 13.8 kB / 0.668 GB, free: 9.301 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.4671, allocations: 4 kB / 0.668 GB, free: 9.297 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006977/0.4741, allocations: 1.893 MB / 0.6698 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/0.4751, allocations: 179.7 kB / 0.67 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02455/0.4996, allocations: 9.944 MB / 0.6797 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.5013, allocations: 170.9 kB / 0.6799 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.5015, allocations: 47.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.002008/0.5035, allocations: 0.8694 MB / 0.6808 GB, free: 12.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001683/0.5052, allocations: 0.8267 MB / 0.6816 GB, free: 11.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01867/0.5239, allocations: 4.693 MB / 0.6862 GB, free: 6.461 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.292e-06/0.5239, allocations: 4 kB / 0.6862 GB, free: 6.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01498/0.5389, allocations: 4.386 MB / 0.6904 GB, free: 2.055 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.539, allocations: 8 kB / 0.6905 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.539, allocations: 0 / 0.6905 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006683/0.5457, allocations: 1.901 MB / 0.6923 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009171/0.5466, allocations: 175.7 kB / 0.6925 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02431/0.571, allocations: 9.95 MB / 0.7022 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.5727, allocations: 163 kB / 0.7024 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/0.5729, allocations: 43.98 kB / 0.7024 GB, free: 5.668 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.0004386/0.5734, allocations: 228.1 kB / 0.7026 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/0.5737, allocations: 118.5 kB / 0.7027 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/0.5877, allocations: 4.073 MB / 0.7067 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.5877, allocations: 8 kB / 0.7067 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5877, allocations: 0 / 0.7067 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.5878, allocations: 3.984 kB / 0.7067 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.6042, allocations: 5.724 MB / 0.7123 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.6042, allocations: 0 / 0.7123 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.6049, allocations: 95.84 kB / 0.7124 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0065/0.6114, allocations: 1.827 MB / 0.7142 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/0.6116, allocations: 16 kB / 0.7142 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02151/0.6332, allocations: 8.616 MB / 0.7226 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.6332, allocations: 7.938 kB / 0.7226 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/0.6493, allocations: 5.011 MB / 0.7275 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004238/0.6497, allocations: 207.4 kB / 0.7277 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/0.65, allocations: 16 kB / 0.7277 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.6513, allocations: 111.9 kB / 0.7278 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006549/0.652, allocations: 200.8 kB / 0.728 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.6521, allocations: 23.94 kB / 0.728 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001072/0.6532, allocations: 0.6469 MB / 0.7287 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6532, allocations: 0 / 0.7287 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002211/0.6554, allocations: 0.714 MB / 0.7294 GB, free: 9.668 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.0002921/0.6557, allocations: 127.2 kB / 0.7295 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01229/0.668, allocations: 4.251 MB / 0.7336 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.668, allocations: 4.438 kB / 0.7336 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005203/0.6732, allocations: 1.575 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.0008655/0.6741, allocations: 100.2 kB / 0.7353 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/0.6787, allocations: 2.126 MB / 0.7374 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007776/0.6795, allocations: 1.113 MB / 0.7384 GB, free: 260 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/0.6798, allocations: 71.42 kB / 0.7385 GB, free: 188 kB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.6798, allocations: 0 / 0.7385 GB, free: 188 kB / 0.5294 GB Notification: Performance of Templates: time 0.03125/0.7111, allocations: 21.33 MB / 0.7593 GB, free: 10.83 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)