Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.001103/0.001103, allocations: 106.6 kB / 16.41 MB, free: 6.512 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.408/1.408, allocations: 222.9 MB / 240.1 MB, free: 4.352 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.001621/0.001621, allocations: 200.4 kB / 290.4 MB, free: 2.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5249/0.5249, allocations: 91.9 MB / 432.4 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 78.91 kB / 0.5734 GB, free: 33.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1676, allocations: 71.29 MB / 0.643 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.008683/0.1763, allocations: 6.332 MB / 0.6492 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004613/0.1809, allocations: 1.942 MB / 0.6511 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006299/0.1816, allocations: 8 kB / 0.6511 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007815/0.1824, allocations: 238 kB / 0.6513 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.1842, allocations: 0.7182 MB / 0.652 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.1858, allocations: 0.6756 MB / 0.6527 GB, free: 9.633 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.1875, allocations: 1.46 MB / 0.6541 GB, free: 8.168 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005139/0.188, allocations: 332.4 kB / 0.6544 GB, free: 7.836 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007973/0.1888, allocations: 0.603 MB / 0.655 GB, free: 7.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008298/0.1897, allocations: 0.7311 MB / 0.6557 GB, free: 6.496 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.1898, allocations: 104 kB / 0.6558 GB, free: 6.395 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005183/0.1904, allocations: 247.8 kB / 0.6561 GB, free: 6.152 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002951/0.1907, allocations: 286.8 kB / 0.6563 GB, free: 5.871 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005399/0.1912, allocations: 0.6174 MB / 0.657 GB, free: 5.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.1928, allocations: 1.541 MB / 0.6585 GB, free: 3.703 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1928, allocations: 0 / 0.6585 GB, free: 3.703 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1928, allocations: 4 kB / 0.6585 GB, free: 3.699 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.1929, allocations: 0 / 0.6585 GB, free: 3.699 MB / 462.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.008041/0.2009, allocations: 2.556 MB / 0.661 GB, free: 1.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.201, allocations: 11.97 kB / 0.661 GB, free: 1.078 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004767/0.2057, allocations: 0.7672 MB / 0.6617 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.2073, allocations: 0.8303 MB / 0.6625 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.2076, allocations: 218.5 kB / 0.6627 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.2077, allocations: 76 kB / 0.6628 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.2099, allocations: 1.126 MB / 0.6639 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.2099, allocations: 7.938 kB / 0.6639 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.2101, allocations: 32 kB / 0.6639 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.2101, allocations: 20 kB / 0.664 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.2123, allocations: 1.077 MB / 0.665 GB, free: 12.82 MB / 478.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.005462/0.2178, allocations: 3.12 MB / 0.6681 GB, free: 9.574 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.2208, allocations: 1.597 MB / 0.6696 GB, free: 7.852 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.2223, allocations: 0.7619 MB / 0.6704 GB, free: 7.086 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.2224, allocations: 20.98 kB / 0.6704 GB, free: 7.066 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.083e-05/0.2225, allocations: 47.5 kB / 0.6704 GB, free: 7.012 MB / 478.1 MB Notification: Performance of pre-optimization done (n=93): time 3.597e-06/0.2225, allocations: 0 / 0.6704 GB, free: 7.012 MB / 478.1 MB Notification: Performance of matching and sorting (n=93): time 0.0271/0.2496, allocations: 7.067 MB / 0.6773 GB, free: 15.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.2497, allocations: 90.05 kB / 0.6774 GB, free: 15.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.2514, allocations: 0.9417 MB / 0.6783 GB, free: 14.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002186/0.2517, allocations: 49.64 kB / 0.6784 GB, free: 14.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/0.2521, allocations: 492.5 kB / 0.6789 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/0.2525, allocations: 335.2 kB / 0.6792 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004126/0.2529, allocations: 202.8 kB / 0.6794 GB, free: 13.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.2532, allocations: 349.9 kB / 0.6797 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.2547, allocations: 0.7087 MB / 0.6804 GB, free: 12.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.2563, allocations: 0.8423 MB / 0.6812 GB, free: 11.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01832/0.2747, allocations: 4.72 MB / 0.6858 GB, free: 7.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.2747, allocations: 4 kB / 0.6858 GB, free: 7.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01398/0.2887, allocations: 4.402 MB / 0.6901 GB, free: 2.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.2888, allocations: 7.938 kB / 0.6901 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.2888, allocations: 4 kB / 0.6901 GB, free: 2.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006409/0.2952, allocations: 1.897 MB / 0.692 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.2962, allocations: 171.7 kB / 0.6922 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02301/0.3193, allocations: 9.967 MB / 0.7019 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.3211, allocations: 178.8 kB / 0.7021 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.952e-05/0.3212, allocations: 43.92 kB / 0.7021 GB, free: 6.23 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00186/0.3231, allocations: 0.8695 MB / 0.703 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001514/0.3246, allocations: 0.8228 MB / 0.7038 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0177/0.3423, allocations: 4.689 MB / 0.7083 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.652e-06/0.3424, allocations: 0 / 0.7083 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01359/0.356, allocations: 4.39 MB / 0.7126 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.356, allocations: 8 kB / 0.7126 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.356, allocations: 0 / 0.7126 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006008/0.362, allocations: 1.897 MB / 0.7145 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/0.3629, allocations: 171.8 kB / 0.7146 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02155/0.3845, allocations: 9.948 MB / 0.7244 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.3861, allocations: 163 kB / 0.7245 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.881e-05/0.3862, allocations: 43.98 kB / 0.7246 GB, free: 15 MB / 0.5294 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.000352/0.3865, allocations: 232 kB / 0.7248 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.3867, allocations: 114.6 kB / 0.7249 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/0.3991, allocations: 4.073 MB / 0.7289 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.3992, allocations: 8 kB / 0.7289 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3992, allocations: 0 / 0.7289 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.3992, allocations: 11.86 kB / 0.7289 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.4136, allocations: 5.72 MB / 0.7345 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.4136, allocations: 0 / 0.7345 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000548/0.4142, allocations: 95.83 kB / 0.7346 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005819/0.42, allocations: 1.823 MB / 0.7363 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/0.4202, allocations: 16 kB / 0.7364 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01869/0.4389, allocations: 8.631 MB / 0.7448 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4389, allocations: 4 kB / 0.7448 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/0.4528, allocations: 5.007 MB / 0.7497 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/0.4533, allocations: 207.4 kB / 0.7499 GB, free: 4.707 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.4534, allocations: 16 kB / 0.7499 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009704/0.4544, allocations: 107.9 kB / 0.75 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005616/0.4549, allocations: 192.8 kB / 0.7502 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/0.455, allocations: 27.98 kB / 0.7502 GB, free: 4.371 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009261/0.456, allocations: 0.6508 MB / 0.7508 GB, free: 3.711 MB / 0.545 GB Notification: Performance of sort global known variables: time 4e-07/0.456, allocations: 0 / 0.7508 GB, free: 3.711 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002111/0.4581, allocations: 0.7217 MB / 0.7515 GB, free: 2.988 MB / 0.545 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.0002855/0.4584, allocations: 123.2 kB / 0.7517 GB, free: 2.855 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01112/0.4695, allocations: 4.251 MB / 0.7558 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.4696, allocations: 3.938 kB / 0.7558 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004408/0.474, allocations: 1.581 MB / 0.7574 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.4749, allocations: 107.4 kB / 0.7575 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.4791, allocations: 2.137 MB / 0.7596 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006726/0.4798, allocations: 1.097 MB / 0.7606 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.4801, allocations: 75.42 kB / 0.7607 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.803e-06/0.4801, allocations: 0 / 0.7607 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.3543/0.8344, allocations: 21.32 MB / 0.7815 GB, free: 115 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)