Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.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 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.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.003481/0.003481, allocations: 183.1 kB / 7.455 MB, free: 2.512 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.273/1.273, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.001046/0.001046, allocations: 103.1 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4238/0.4238, allocations: 78.06 MB / 408.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.42e-06/5.53e-06, allocations: 0 / 484.4 MB, free: 4.504 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2596, allocations: 69.34 MB / 0.5407 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.3751, allocations: 96.33 MB / 0.6348 GB, free: 8.41 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.3753, allocations: 79.95 kB / 0.6349 GB, free: 8.332 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07216/0.4475, allocations: 24.01 MB / 0.6583 GB, free: 140 kB / 474.7 MB Notification: Performance of Transformations before backend: time 6.554e-05/0.4476, allocations: 16 kB / 0.6583 GB, free: 124 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.00517/0.4528, allocations: 1.73 MB / 0.66 GB, free: 14.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.4528, allocations: 8.031 kB / 0.66 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003721/0.4566, allocations: 0.5643 MB / 0.6606 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.4581, allocations: 0.703 MB / 0.6613 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00029/0.4584, allocations: 240.1 kB / 0.6615 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.4586, allocations: 44 kB / 0.6615 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001794/0.4604, allocations: 0.8006 MB / 0.6623 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.4621, allocations: 0.8095 MB / 0.6631 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.4621, allocations: 3.906 kB / 0.6631 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.96e-05/0.4622, allocations: 0 / 0.6631 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.4622, allocations: 16 kB / 0.6631 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005923/0.4682, allocations: 2.98 MB / 0.666 GB, free: 7.969 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009597/0.4692, allocations: 0.566 MB / 0.6666 GB, free: 7.395 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009219/0.4701, allocations: 0.5504 MB / 0.6671 GB, free: 6.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.4702, allocations: 16.77 kB / 0.6671 GB, free: 6.824 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.84e-05/0.4703, allocations: 43.34 kB / 0.6672 GB, free: 6.773 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 2.545e-06/0.4703, allocations: 0 / 0.6672 GB, free: 6.773 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01492/0.4853, allocations: 4.425 MB / 0.6715 GB, free: 2.332 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.4853, allocations: 60.19 kB / 0.6716 GB, free: 2.258 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.4865, allocations: 0.651 MB / 0.6722 GB, free: 1.586 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.4866, allocations: 29.69 kB / 0.6722 GB, free: 1.551 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.4869, allocations: 288.4 kB / 0.6725 GB, free: 1.262 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000492/0.4874, allocations: 319.2 kB / 0.6728 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.836e-05/0.4875, allocations: 0 / 0.6728 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4876, allocations: 334 kB / 0.6731 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008443/0.4885, allocations: 441.9 kB / 0.6735 GB, free: 188 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1557/0.6442, allocations: 0.5228 MB / 0.6741 GB, free: 142.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00075/0.645, allocations: 475.2 kB / 0.6745 GB, free: 142.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.645, allocations: 0 / 0.6745 GB, free: 142.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01329/0.6583, allocations: 4.55 MB / 0.679 GB, free: 142.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6584, allocations: 3.906 kB / 0.679 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.6584, allocations: 3.812 kB / 0.679 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005818/0.6642, allocations: 1.81 MB / 0.6807 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/0.6649, allocations: 121.9 kB / 0.6808 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/0.6797, allocations: 6.795 MB / 0.6875 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.6811, allocations: 174.8 kB / 0.6876 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.6813, allocations: 39.42 kB / 0.6877 GB, free: 141.3 MB / 490.7 MB 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 (71): * Single equations (assignments): 70 * 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.0002159/0.6816, allocations: 113.8 kB / 0.6878 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.6817, allocations: 111.3 kB / 0.6879 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/0.6947, allocations: 4.499 MB / 0.6923 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.6947, allocations: 6.531 kB / 0.6923 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.6947, allocations: 0 / 0.6923 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.348e-05/0.6948, allocations: 10.56 kB / 0.6923 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/0.7105, allocations: 5.844 MB / 0.698 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.7106, allocations: 0 / 0.698 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007293/0.7113, allocations: 98.55 kB / 0.6981 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005785/0.7171, allocations: 1.787 MB / 0.6999 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/0.7173, allocations: 4.906 kB / 0.6999 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/0.731, allocations: 6.001 MB / 0.7057 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.731, allocations: 0 / 0.7057 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01441/0.7454, allocations: 5.27 MB / 0.7109 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/0.7458, allocations: 200.3 kB / 0.7111 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.746, allocations: 3.062 kB / 0.7111 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.7472, allocations: 127.6 kB / 0.7112 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.7475, allocations: 114.3 kB / 0.7113 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.905e-05/0.7476, allocations: 21.09 kB / 0.7113 GB, free: 137.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005617/0.7482, allocations: 0.5007 MB / 0.7118 GB, free: 137.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001042/0.7492, allocations: 383.3 kB / 0.7122 GB, free: 137.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * 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.0002507/0.7495, allocations: 127.1 kB / 0.7123 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005047/0.7545, allocations: 1.965 MB / 0.7142 GB, free: 136.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7545, allocations: 2.812 kB / 0.7142 GB, free: 136.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004328/0.7589, allocations: 1.45 MB / 0.7156 GB, free: 136.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/0.7597, allocations: 55.34 kB / 0.7157 GB, free: 136.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.7632, allocations: 1.51 MB / 0.7171 GB, free: 135.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006419/0.7639, allocations: 1.116 MB / 0.7182 GB, free: 134.8 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.7639, allocations: 0 / 0.7182 GB, free: 134.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02995/0.7939, allocations: 19.05 MB / 0.7368 GB, free: 129.8 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)