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.008888/0.008888, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.427/1.427, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001302/0.001302, allocations: 192.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4844/0.4844, allocations: 78.53 MB / 418.4 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 76.09 kB / 0.5536 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3867, allocations: 68.17 MB / 0.6202 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005335/0.392, allocations: 6.326 MB / 0.6264 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003151/0.3952, allocations: 1.938 MB / 0.6283 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004961/0.3957, allocations: 12 kB / 0.6283 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005913/0.3963, allocations: 234 kB / 0.6285 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.3977, allocations: 0.716 MB / 0.6292 GB, free: 1.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.3989, allocations: 0.6592 MB / 0.6298 GB, free: 360 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.4003, allocations: 1.468 MB / 0.6313 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004608/0.4008, allocations: 324.2 kB / 0.6316 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008157/0.4016, allocations: 0.6068 MB / 0.6322 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008106/0.4025, allocations: 0.7389 MB / 0.6329 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.4026, allocations: 104 kB / 0.633 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.4031, allocations: 239.9 kB / 0.6332 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.4034, allocations: 290.7 kB / 0.6335 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004973/0.4039, allocations: 0.6175 MB / 0.6341 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.4056, allocations: 1.554 MB / 0.6356 GB, free: 10.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4056, allocations: 0 / 0.6356 GB, free: 10.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4056, allocations: 0 / 0.6356 GB, free: 10.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.4056, allocations: 0 / 0.6356 GB, free: 10.41 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.00804/0.4136, allocations: 2.601 MB / 0.6382 GB, free: 7.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4137, allocations: 8.031 kB / 0.6382 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004986/0.4187, allocations: 0.7835 MB / 0.6389 GB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.4202, allocations: 0.8235 MB / 0.6397 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.4204, allocations: 218.5 kB / 0.64 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.4206, allocations: 83.94 kB / 0.64 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.4228, allocations: 1.129 MB / 0.6411 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.4229, allocations: 3.938 kB / 0.6411 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.423, allocations: 32 kB / 0.6412 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.423, allocations: 20 kB / 0.6412 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.4252, allocations: 1.081 MB / 0.6422 GB, free: 3.469 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.005595/0.4309, allocations: 3.133 MB / 0.6453 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/0.4339, allocations: 1.604 MB / 0.6469 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.4353, allocations: 0.7658 MB / 0.6476 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.265e-05/0.4354, allocations: 16.98 kB / 0.6476 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.4355, allocations: 43.56 kB / 0.6477 GB, free: 13.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 3.647e-06/0.4355, allocations: 0 / 0.6477 GB, free: 13.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=93): time 0.02696/0.4624, allocations: 7.067 MB / 0.6546 GB, free: 6.539 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.4626, allocations: 90.11 kB / 0.6547 GB, free: 6.434 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.4644, allocations: 0.9495 MB / 0.6556 GB, free: 5.465 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002328/0.4646, allocations: 41.7 kB / 0.6556 GB, free: 5.418 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/0.4651, allocations: 493.2 kB / 0.6561 GB, free: 4.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004466/0.4655, allocations: 349 kB / 0.6564 GB, free: 4.586 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004298/0.466, allocations: 206.9 kB / 0.6566 GB, free: 4.375 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4661, allocations: 345.9 kB / 0.657 GB, free: 4.031 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.4677, allocations: 0.7165 MB / 0.6577 GB, free: 3.312 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.4693, allocations: 0.8306 MB / 0.6585 GB, free: 2.449 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01806/0.4874, allocations: 4.724 MB / 0.6631 GB, free: 13.69 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.4874, allocations: 4 kB / 0.6631 GB, free: 13.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01399/0.5014, allocations: 4.414 MB / 0.6674 GB, free: 9.258 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.5015, allocations: 11.94 kB / 0.6674 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.5015, allocations: 4 kB / 0.6674 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006377/0.5079, allocations: 1.893 MB / 0.6693 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.5089, allocations: 179.7 kB / 0.6694 GB, free: 7.168 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/0.532, allocations: 9.955 MB / 0.6792 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.5336, allocations: 179.2 kB / 0.6793 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.5339, allocations: 43.92 kB / 0.6794 GB, free: 12.85 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.001935/0.5358, allocations: 0.8734 MB / 0.6802 GB, free: 11.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00155/0.5374, allocations: 0.8228 MB / 0.681 GB, free: 11.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01754/0.5549, allocations: 4.697 MB / 0.6856 GB, free: 6.391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.762e-06/0.555, allocations: 0 / 0.6856 GB, free: 6.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01393/0.5689, allocations: 4.39 MB / 0.6899 GB, free: 1.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.569, allocations: 8 kB / 0.6899 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.569, allocations: 3.938 kB / 0.6899 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006234/0.5752, allocations: 1.897 MB / 0.6918 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008992/0.5761, allocations: 171.7 kB / 0.6919 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0223/0.5985, allocations: 9.962 MB / 0.7017 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.6001, allocations: 167.3 kB / 0.7018 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/0.6004, allocations: 39.98 kB / 0.7019 GB, free: 5.59 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.0004675/0.6008, allocations: 228.1 kB / 0.7021 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004388/0.6013, allocations: 123.2 kB / 0.7022 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.6144, allocations: 4.077 MB / 0.7062 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.6145, allocations: 12 kB / 0.7062 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.6145, allocations: 0 / 0.7062 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.703e-05/0.6145, allocations: 7.969 kB / 0.7062 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/0.6305, allocations: 5.724 MB / 0.7118 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.6306, allocations: 0 / 0.7118 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006313/0.6312, allocations: 95.83 kB / 0.7119 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006213/0.6374, allocations: 1.823 MB / 0.7136 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002761/0.6377, allocations: 19.98 kB / 0.7137 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02082/0.6586, allocations: 8.629 MB / 0.7221 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.6587, allocations: 4 kB / 0.7221 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/0.6742, allocations: 5.015 MB / 0.727 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004999/0.6748, allocations: 212.1 kB / 0.7272 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003695/0.6752, allocations: 16 kB / 0.7272 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.6764, allocations: 107.9 kB / 0.7273 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007458/0.6772, allocations: 196.7 kB / 0.7275 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.6773, allocations: 20 kB / 0.7275 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001155/0.6785, allocations: 0.6547 MB / 0.7282 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.674e-06/0.6785, allocations: 3.938 kB / 0.7282 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002602/0.6811, allocations: 0.7258 MB / 0.7289 GB, free: 9.547 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.0003416/0.6814, allocations: 131 kB / 0.729 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01228/0.6937, allocations: 4.263 MB / 0.7332 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.6938, allocations: 0 / 0.7332 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004896/0.6987, allocations: 1.592 MB / 0.7347 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.7, allocations: 117.7 kB / 0.7348 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005131/0.7052, allocations: 2.118 MB / 0.7369 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000854/0.706, allocations: 1.109 MB / 0.738 GB, free: 108 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005366/0.7066, allocations: 119.2 kB / 0.7381 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.7068, allocations: 63.36 kB / 0.7382 GB, free: 15.92 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.7069, allocations: 0 / 0.7382 GB, free: 15.92 MB / 0.545 GB Notification: Performance of Templates: time 0.3564/1.063, allocations: 33.42 MB / 0.7708 GB, free: 137.3 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)