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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004129/0.004129, allocations: 179.9 kB / 7.458 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 221.4 MB / 229.3 MB, free: 3.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 108.7 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4632/0.4632, allocations: 78.91 MB / 409.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.161e-06/6.262e-06, allocations: 0 / 485.4 MB, free: 3.707 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3037, allocations: 69.49 MB / 0.5419 GB, free: 20.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.426, allocations: 98.39 MB / 0.6379 GB, free: 5.578 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.4262, allocations: 83.94 kB / 0.638 GB, free: 5.496 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06985/0.4961, allocations: 25.58 MB / 0.663 GB, free: 11.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.539e-05/0.4962, allocations: 20 kB / 0.663 GB, free: 11.7 MB / 490.7 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.005376/0.5016, allocations: 1.773 MB / 0.6648 GB, free: 9.883 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.5016, allocations: 8.031 kB / 0.6648 GB, free: 9.875 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/0.5052, allocations: 0.5759 MB / 0.6653 GB, free: 9.297 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.507, allocations: 0.763 MB / 0.6661 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.5072, allocations: 202.5 kB / 0.6663 GB, free: 8.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/0.5075, allocations: 47.98 kB / 0.6663 GB, free: 8.203 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001715/0.5092, allocations: 0.8475 MB / 0.6671 GB, free: 7.355 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.5109, allocations: 0.8408 MB / 0.668 GB, free: 6.504 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.5109, allocations: 0 / 0.668 GB, free: 6.504 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.694e-05/0.511, allocations: 0 / 0.668 GB, free: 6.504 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.5111, allocations: 24 kB / 0.668 GB, free: 6.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006149/0.5172, allocations: 3.054 MB / 0.671 GB, free: 3.309 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.5183, allocations: 0.609 MB / 0.6716 GB, free: 2.691 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009004/0.5192, allocations: 0.5582 MB / 0.6721 GB, free: 2.129 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.5193, allocations: 24.67 kB / 0.6721 GB, free: 2.105 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.5194, allocations: 39.34 kB / 0.6722 GB, free: 2.059 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 2.285e-06/0.5194, allocations: 0 / 0.6722 GB, free: 2.059 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.1873/0.7067, allocations: 4.441 MB / 0.6765 GB, free: 141.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.7068, allocations: 89.48 kB / 0.6766 GB, free: 141.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.7079, allocations: 0.7086 MB / 0.6773 GB, free: 141.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001951/0.7081, allocations: 29.52 kB / 0.6773 GB, free: 141.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.7083, allocations: 311.9 kB / 0.6776 GB, free: 141.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004042/0.7087, allocations: 316.6 kB / 0.6779 GB, free: 141.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.7088, allocations: 0 / 0.6779 GB, free: 141.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.53e-05/0.7089, allocations: 346.4 kB / 0.6782 GB, free: 141 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007502/0.7096, allocations: 440.2 kB / 0.6787 GB, free: 141 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000769/0.7104, allocations: 0.5387 MB / 0.6792 GB, free: 140.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008385/0.7113, allocations: 490.9 kB / 0.6796 GB, free: 140.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.7113, allocations: 2.344 kB / 0.6797 GB, free: 140.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01314/0.7244, allocations: 4.57 MB / 0.6841 GB, free: 140.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.7246, allocations: 0.7874 MB / 0.6849 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.7246, allocations: 3.594 kB / 0.6849 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005596/0.7302, allocations: 1.827 MB / 0.6867 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.7309, allocations: 113.8 kB / 0.6868 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/0.745, allocations: 6.802 MB / 0.6934 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.7465, allocations: 191.1 kB / 0.6936 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.514e-05/0.7467, allocations: 28.44 kB / 0.6936 GB, free: 138.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.7467, allocations: 9.688 kB / 0.6936 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01335/0.76, allocations: 4.433 MB / 0.698 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.7601, allocations: 1.625 kB / 0.698 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006095/0.7662, allocations: 1.818 MB / 0.6997 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007693/0.767, allocations: 110.9 kB / 0.6999 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/0.7832, allocations: 6.817 MB / 0.7065 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.7848, allocations: 170.7 kB / 0.7067 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.976e-05/0.7849, allocations: 34.72 kB / 0.7067 GB, free: 136.1 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003047/0.7853, allocations: 125.3 kB / 0.7068 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.7855, allocations: 113.5 kB / 0.7069 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/0.7982, allocations: 4.514 MB / 0.7113 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.7983, allocations: 8.5 kB / 0.7113 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7983, allocations: 3.031 kB / 0.7114 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-05/0.7983, allocations: 3.703 kB / 0.7114 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.8134, allocations: 5.917 MB / 0.7171 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.8135, allocations: 0 / 0.7171 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007198/0.8142, allocations: 94.78 kB / 0.7172 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005596/0.8198, allocations: 1.781 MB / 0.719 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/0.8201, allocations: 14.02 kB / 0.719 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01436/0.8344, allocations: 5.988 MB / 0.7248 GB, free: 130.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.8345, allocations: 7.016 kB / 0.7248 GB, free: 130.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01657/0.8511, allocations: 5.301 MB / 0.73 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006329/0.8518, allocations: 204.5 kB / 0.7302 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000409/0.8522, allocations: 2.859 kB / 0.7302 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.8535, allocations: 139.3 kB / 0.7303 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003554/0.8538, allocations: 112.5 kB / 0.7304 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.161e-05/0.8539, allocations: 25.69 kB / 0.7305 GB, free: 129.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008321/0.8548, allocations: 0.5407 MB / 0.731 GB, free: 129 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001996/0.8568, allocations: 0.6227 MB / 0.7316 GB, free: 128.4 MB / 490.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002846/0.8571, allocations: 135 kB / 0.7317 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009799/0.8669, allocations: 3.518 MB / 0.7352 GB, free: 125.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.8669, allocations: 0 / 0.7352 GB, free: 125.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004144/0.8711, allocations: 1.45 MB / 0.7366 GB, free: 123.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008866/0.872, allocations: 67.23 kB / 0.7367 GB, free: 123.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.8769, allocations: 1.65 MB / 0.7383 GB, free: 122.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006484/0.8776, allocations: 1.154 MB / 0.7394 GB, free: 121.3 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/0.8776, allocations: 0 / 0.7394 GB, free: 121.3 MB / 490.7 MB Notification: Performance of Templates: time 0.03778/0.9154, allocations: 30.07 MB / 0.7688 GB, free: 98.09 MB / 490.7 MB 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)