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.005631/0.005632, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.305/1.305, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001232/0.001232, allocations: 188.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4305/0.4305, allocations: 78.52 MB / 418.4 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 79.88 kB / 0.5536 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2947, allocations: 68.17 MB / 0.6202 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.004909/0.2996, allocations: 6.319 MB / 0.6264 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.3024, allocations: 1.934 MB / 0.6283 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.3028, allocations: 12 kB / 0.6283 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.3034, allocations: 234 kB / 0.6285 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.3047, allocations: 0.7755 MB / 0.6292 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.3058, allocations: 0.6671 MB / 0.6299 GB, free: 268 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.3071, allocations: 1.464 MB / 0.6313 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.3075, allocations: 324.1 kB / 0.6316 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000653/0.3082, allocations: 0.5991 MB / 0.6322 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007551/0.309, allocations: 0.7389 MB / 0.6329 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.3091, allocations: 108 kB / 0.633 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.3095, allocations: 239.9 kB / 0.6333 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.3098, allocations: 294.7 kB / 0.6336 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.3103, allocations: 0.6136 MB / 0.6342 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.3117, allocations: 1.539 MB / 0.6357 GB, free: 10.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3117, allocations: 3.984 kB / 0.6357 GB, free: 10.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3118, allocations: 4 kB / 0.6357 GB, free: 10.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.3118, allocations: 0 / 0.6357 GB, free: 10.33 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.007873/0.3196, allocations: 2.552 MB / 0.6382 GB, free: 7.715 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3197, allocations: 12.03 kB / 0.6382 GB, free: 7.703 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004933/0.3246, allocations: 0.775 MB / 0.6389 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.326, allocations: 0.8185 MB / 0.6397 GB, free: 6.051 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.3263, allocations: 226.5 kB / 0.6399 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.3264, allocations: 76 kB / 0.64 GB, free: 5.727 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.3286, allocations: 1.126 MB / 0.6411 GB, free: 4.586 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.3286, allocations: 3.938 kB / 0.6411 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.171e-05/0.3287, allocations: 28 kB / 0.6411 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/0.3288, allocations: 23.98 kB / 0.6412 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.331, allocations: 1.089 MB / 0.6422 GB, free: 3.445 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.00523/0.3362, allocations: 3.124 MB / 0.6453 GB, free: 196 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002887/0.3391, allocations: 1.604 MB / 0.6468 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.3405, allocations: 0.758 MB / 0.6476 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.3407, allocations: 16.98 kB / 0.6476 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.3407, allocations: 47.5 kB / 0.6477 GB, free: 13.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 2.455e-06/0.3407, allocations: 0 / 0.6477 GB, free: 13.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=93): time 0.02671/0.3674, allocations: 7.063 MB / 0.6545 GB, free: 6.531 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.3675, allocations: 90.11 kB / 0.6546 GB, free: 6.426 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.3689, allocations: 0.9495 MB / 0.6556 GB, free: 5.457 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.3691, allocations: 37.7 kB / 0.6556 GB, free: 5.414 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003669/0.3694, allocations: 492.4 kB / 0.6561 GB, free: 4.926 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.3698, allocations: 331.2 kB / 0.6564 GB, free: 4.598 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004023/0.3702, allocations: 206.8 kB / 0.6566 GB, free: 4.387 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3703, allocations: 349.9 kB / 0.6569 GB, free: 4.039 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.3718, allocations: 0.7165 MB / 0.6576 GB, free: 3.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.3734, allocations: 0.8345 MB / 0.6584 GB, free: 2.453 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01755/0.391, allocations: 4.724 MB / 0.663 GB, free: 13.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.391, allocations: 4 kB / 0.663 GB, free: 13.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01322/0.4042, allocations: 4.406 MB / 0.6673 GB, free: 9.27 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.4043, allocations: 11.94 kB / 0.6674 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.4043, allocations: 0 / 0.6674 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006145/0.4104, allocations: 1.893 MB / 0.6692 GB, free: 7.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009255/0.4114, allocations: 179.7 kB / 0.6694 GB, free: 7.184 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02177/0.4332, allocations: 9.947 MB / 0.6791 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.4346, allocations: 170.9 kB / 0.6793 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.4347, allocations: 47.92 kB / 0.6793 GB, free: 12.87 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.00175/0.4365, allocations: 0.8695 MB / 0.6802 GB, free: 12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001501/0.438, allocations: 0.8189 MB / 0.681 GB, free: 11.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01746/0.4555, allocations: 4.693 MB / 0.6855 GB, free: 6.426 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.007e-06/0.4555, allocations: 7.984 kB / 0.6855 GB, free: 6.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01362/0.4691, allocations: 4.394 MB / 0.6898 GB, free: 2.008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4692, allocations: 4 kB / 0.6898 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.4692, allocations: 7.938 kB / 0.6898 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006347/0.4756, allocations: 1.885 MB / 0.6917 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/0.4765, allocations: 179.7 kB / 0.6919 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/0.4987, allocations: 9.939 MB / 0.7016 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.5002, allocations: 167 kB / 0.7017 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.5003, allocations: 39.98 kB / 0.7018 GB, free: 5.641 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.0003112/0.5006, allocations: 240 kB / 0.702 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.5008, allocations: 118.6 kB / 0.7021 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/0.5133, allocations: 4.065 MB / 0.7061 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.5133, allocations: 11.94 kB / 0.7061 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5133, allocations: 0 / 0.7061 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/0.5134, allocations: 7.984 kB / 0.7061 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.528, allocations: 5.72 MB / 0.7117 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.528, allocations: 0 / 0.7117 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.5286, allocations: 91.89 kB / 0.7118 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005747/0.5343, allocations: 1.831 MB / 0.7136 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/0.5345, allocations: 19.98 kB / 0.7136 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/0.5536, allocations: 8.616 MB / 0.722 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5537, allocations: 0 / 0.722 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/0.568, allocations: 5.011 MB / 0.7269 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.5684, allocations: 211.4 kB / 0.7271 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.5686, allocations: 16 kB / 0.7271 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009862/0.5696, allocations: 107.9 kB / 0.7272 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006429/0.5702, allocations: 196.7 kB / 0.7274 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-05/0.5703, allocations: 23.98 kB / 0.7274 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009662/0.5713, allocations: 0.6508 MB / 0.728 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5713, allocations: 3.938 kB / 0.728 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001847/0.5732, allocations: 0.714 MB / 0.7287 GB, free: 9.633 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.0002687/0.5734, allocations: 127.1 kB / 0.7289 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01106/0.5845, allocations: 4.269 MB / 0.733 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5845, allocations: 4 kB / 0.733 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004244/0.5888, allocations: 1.578 MB / 0.7346 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008388/0.5896, allocations: 104.2 kB / 0.7347 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.5937, allocations: 2.079 MB / 0.7367 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/0.5944, allocations: 1.105 MB / 0.7378 GB, free: 264 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004186/0.5949, allocations: 127 kB / 0.7379 GB, free: 132 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.5951, allocations: 63.44 kB / 0.738 GB, free: 68 kB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/0.5951, allocations: 0 / 0.738 GB, free: 68 kB / 0.5294 GB Notification: Performance of Templates: time 0.3067/0.9018, allocations: 33.4 MB / 0.7706 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)