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.001643/0.001643, allocations: 117.2 kB / 16.42 MB, free: 6.492 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.341/1.341, allocations: 222.9 MB / 240.1 MB, free: 4.383 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.001422/0.001422, allocations: 184.5 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4512/0.4512, allocations: 78.55 MB / 419.1 MB, free: 3.109 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 79.88 kB / 0.5543 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2975, allocations: 68.16 MB / 0.6209 GB, free: 9.625 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005173/0.3027, allocations: 6.321 MB / 0.627 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.3058, allocations: 1.934 MB / 0.6289 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006778/0.3065, allocations: 12 kB / 0.6289 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.3072, allocations: 242 kB / 0.6292 GB, free: 1.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.3088, allocations: 0.7673 MB / 0.6299 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.31, allocations: 0.6636 MB / 0.6306 GB, free: 240 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.3116, allocations: 1.468 MB / 0.632 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.3121, allocations: 324.2 kB / 0.6323 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008125/0.3129, allocations: 0.6069 MB / 0.6329 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009068/0.3138, allocations: 0.7388 MB / 0.6336 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.3141, allocations: 108 kB / 0.6337 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005147/0.3146, allocations: 231.9 kB / 0.634 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002932/0.3149, allocations: 294.7 kB / 0.6342 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006134/0.3155, allocations: 0.6174 MB / 0.6348 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.3172, allocations: 1.557 MB / 0.6364 GB, free: 10.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3172, allocations: 4 kB / 0.6364 GB, free: 10.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3172, allocations: 4 kB / 0.6364 GB, free: 10.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.88e-05/0.3173, allocations: 0 / 0.6364 GB, free: 10.28 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.008441/0.3257, allocations: 2.595 MB / 0.6389 GB, free: 7.621 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3258, allocations: 8.031 kB / 0.6389 GB, free: 7.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005051/0.3308, allocations: 0.7757 MB / 0.6397 GB, free: 6.836 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.3323, allocations: 0.8313 MB / 0.6405 GB, free: 5.949 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/0.3325, allocations: 222.5 kB / 0.6407 GB, free: 5.703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.3327, allocations: 76 kB / 0.6408 GB, free: 5.629 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.335, allocations: 1.137 MB / 0.6419 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.335, allocations: 7.938 kB / 0.6419 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.02e-05/0.3351, allocations: 28 kB / 0.6419 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.3351, allocations: 20 kB / 0.6419 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.3374, allocations: 1.077 MB / 0.643 GB, free: 3.348 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.005306/0.3427, allocations: 3.133 MB / 0.646 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.3458, allocations: 1.601 MB / 0.6476 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.3472, allocations: 0.7657 MB / 0.6484 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.3474, allocations: 13 kB / 0.6484 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.3474, allocations: 51.55 kB / 0.6484 GB, free: 13.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 2.625e-06/0.3474, allocations: 0 / 0.6484 GB, free: 13.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=93): time 0.02728/0.3747, allocations: 7.067 MB / 0.6553 GB, free: 6.418 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.3748, allocations: 86.11 kB / 0.6554 GB, free: 6.316 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.3762, allocations: 0.9456 MB / 0.6563 GB, free: 5.352 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.3763, allocations: 41.7 kB / 0.6564 GB, free: 5.305 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.3767, allocations: 497.2 kB / 0.6568 GB, free: 4.812 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.3771, allocations: 353 kB / 0.6572 GB, free: 4.465 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004132/0.3775, allocations: 206.8 kB / 0.6574 GB, free: 4.254 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3776, allocations: 345.9 kB / 0.6577 GB, free: 3.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.3792, allocations: 0.7126 MB / 0.6584 GB, free: 3.195 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.3808, allocations: 0.8345 MB / 0.6592 GB, free: 2.328 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01819/0.399, allocations: 4.728 MB / 0.6638 GB, free: 13.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.3991, allocations: 4 kB / 0.6638 GB, free: 13.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01402/0.4131, allocations: 4.41 MB / 0.6681 GB, free: 9.137 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.4131, allocations: 7.938 kB / 0.6681 GB, free: 9.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.4132, allocations: 4 kB / 0.6681 GB, free: 9.125 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006299/0.4195, allocations: 1.897 MB / 0.67 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008281/0.4203, allocations: 171.8 kB / 0.6702 GB, free: 7.055 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/0.4434, allocations: 9.958 MB / 0.6799 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.4448, allocations: 183.2 kB / 0.6801 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.445, allocations: 36 kB / 0.6801 GB, free: 12.73 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.001813/0.4468, allocations: 0.8734 MB / 0.681 GB, free: 11.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00155/0.4484, allocations: 0.8228 MB / 0.6818 GB, free: 11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01792/0.4663, allocations: 4.697 MB / 0.6863 GB, free: 6.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.218e-06/0.4663, allocations: 4 kB / 0.6863 GB, free: 6.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01399/0.4803, allocations: 4.39 MB / 0.6906 GB, free: 1.867 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4804, allocations: 11.94 kB / 0.6906 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.4804, allocations: 0 / 0.6906 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006497/0.4869, allocations: 1.893 MB / 0.6925 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/0.4878, allocations: 175.7 kB / 0.6927 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02336/0.5111, allocations: 9.968 MB / 0.7024 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.5127, allocations: 167.3 kB / 0.7026 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.5128, allocations: 39.98 kB / 0.7026 GB, free: 5.469 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.0003288/0.5132, allocations: 236 kB / 0.7028 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.5134, allocations: 123.2 kB / 0.7029 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/0.5267, allocations: 4.073 MB / 0.7069 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/0.5268, allocations: 3.984 kB / 0.7069 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5268, allocations: 0 / 0.7069 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.5271, allocations: 220 kB / 0.7071 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.5273, allocations: 16 kB / 0.7071 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.5284, allocations: 103.9 kB / 0.7072 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/0.5295, allocations: 492.2 kB / 0.7077 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005955/0.5355, allocations: 2.123 MB / 0.7098 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004302/0.5398, allocations: 2.213 MB / 0.7119 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001285/0.5411, allocations: 0.5856 MB / 0.7125 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001036/0.5421, allocations: 0.6508 MB / 0.7132 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of Backend: time 6.31e-07/0.5422, allocations: 0 / 0.7132 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01087/0.553, allocations: 3.795 MB / 0.7169 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003236/0.5563, allocations: 2.671 MB / 0.7195 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of Templates: time 0.04894/0.6053, allocations: 34.36 MB / 0.753 GB, free: 1.633 MB / 0.545 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)