Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_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.002508/0.002508, allocations: 176.8 kB / 7.461 MB, free: 2.488 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.222/1.222, allocations: 221.4 MB / 229.3 MB, free: 3.082 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.0008697/0.0008697, allocations: 99.03 kB / 280.1 MB, free: 1.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4608/0.4608, allocations: 78.92 MB / 409.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.161e-06/6.191e-06, allocations: 0 / 485.4 MB, free: 3.664 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3313, allocations: 69.51 MB / 0.5419 GB, free: 20.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.4458, allocations: 96.91 MB / 0.6365 GB, free: 7.074 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.4461, allocations: 79.95 kB / 0.6366 GB, free: 6.996 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06765/0.5138, allocations: 24.29 MB / 0.6603 GB, free: 14.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.361e-05/0.5139, allocations: 20 kB / 0.6603 GB, free: 14.5 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004786/0.5187, allocations: 1.722 MB / 0.662 GB, free: 12.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.5187, allocations: 12.03 kB / 0.662 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003666/0.5224, allocations: 0.5682 MB / 0.6626 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.524, allocations: 0.6991 MB / 0.6633 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/0.5243, allocations: 244.1 kB / 0.6635 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.5245, allocations: 40 kB / 0.6635 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001605/0.5261, allocations: 0.8006 MB / 0.6643 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.5276, allocations: 0.8095 MB / 0.6651 GB, free: 9.473 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.5276, allocations: 7.844 kB / 0.6651 GB, free: 9.465 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-05/0.5277, allocations: 0 / 0.6651 GB, free: 9.465 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.5277, allocations: 16 kB / 0.6651 GB, free: 9.449 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005687/0.5334, allocations: 2.984 MB / 0.668 GB, free: 6.348 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000898/0.5343, allocations: 0.5541 MB / 0.6686 GB, free: 5.785 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008362/0.5352, allocations: 0.5507 MB / 0.6691 GB, free: 5.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.5353, allocations: 20.77 kB / 0.6691 GB, free: 5.211 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.5353, allocations: 43.34 kB / 0.6692 GB, free: 5.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 2.345e-06/0.5353, allocations: 0 / 0.6692 GB, free: 5.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01395/0.5493, allocations: 4.421 MB / 0.6735 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.5494, allocations: 60.19 kB / 0.6735 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2406/0.79, allocations: 0.6496 MB / 0.6742 GB, free: 76.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002861/0.7904, allocations: 25.7 kB / 0.6742 GB, free: 76.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.7906, allocations: 298.6 kB / 0.6745 GB, free: 76.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/0.7909, allocations: 319.1 kB / 0.6748 GB, free: 76.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.791, allocations: 3.938 kB / 0.6748 GB, free: 76.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.7911, allocations: 340 kB / 0.6751 GB, free: 76.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007392/0.7919, allocations: 432.4 kB / 0.6755 GB, free: 76.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007084/0.7926, allocations: 0.5228 MB / 0.676 GB, free: 76.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007059/0.7933, allocations: 478.7 kB / 0.6765 GB, free: 76.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.7933, allocations: 0 / 0.6765 GB, free: 76.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01297/0.8063, allocations: 4.546 MB / 0.6809 GB, free: 76.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.8064, allocations: 6.125 kB / 0.6809 GB, free: 76.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.8064, allocations: 3.719 kB / 0.6809 GB, free: 76.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005705/0.8121, allocations: 1.819 MB / 0.6827 GB, free: 76.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006818/0.8128, allocations: 116.2 kB / 0.6828 GB, free: 76.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/0.8267, allocations: 6.781 MB / 0.6895 GB, free: 74.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.8282, allocations: 181.8 kB / 0.6896 GB, free: 74.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.244e-05/0.8283, allocations: 32.47 kB / 0.6897 GB, free: 74.53 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.0002188/0.8285, allocations: 117.6 kB / 0.6898 GB, free: 74.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.8287, allocations: 106.5 kB / 0.6899 GB, free: 74.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/0.841, allocations: 4.495 MB / 0.6943 GB, free: 74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.8411, allocations: 15.58 kB / 0.6943 GB, free: 74 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.8411, allocations: 1.281 kB / 0.6943 GB, free: 74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/0.8411, allocations: 9.125 kB / 0.6943 GB, free: 73.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.8568, allocations: 5.844 MB / 0.7 GB, free: 73.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.8568, allocations: 0.7188 kB / 0.7 GB, free: 73.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/0.8575, allocations: 93.53 kB / 0.7001 GB, free: 73.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005944/0.8635, allocations: 1.789 MB / 0.7018 GB, free: 73.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.8637, allocations: 9.375 kB / 0.7018 GB, free: 73.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/0.8762, allocations: 5.997 MB / 0.7077 GB, free: 69.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.8763, allocations: 0 / 0.7077 GB, free: 69.59 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01328/0.8896, allocations: 5.268 MB / 0.7128 GB, free: 66.15 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.8899, allocations: 204.2 kB / 0.713 GB, free: 65.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.8901, allocations: 0 / 0.713 GB, free: 65.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.8912, allocations: 132.4 kB / 0.7132 GB, free: 65.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.8915, allocations: 113.7 kB / 0.7133 GB, free: 65.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.362e-05/0.8916, allocations: 25.7 kB / 0.7133 GB, free: 65.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005432/0.8921, allocations: 0.4984 MB / 0.7138 GB, free: 65.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00102/0.8932, allocations: 383.2 kB / 0.7142 GB, free: 65.11 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.0002707/0.8934, allocations: 128.1 kB / 0.7143 GB, free: 64.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004686/0.8981, allocations: 1.967 MB / 0.7162 GB, free: 63.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8981, allocations: 4.062 kB / 0.7162 GB, free: 63.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00458/0.9027, allocations: 1.442 MB / 0.7176 GB, free: 62.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.9033, allocations: 58.41 kB / 0.7177 GB, free: 62.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.9068, allocations: 1.513 MB / 0.7191 GB, free: 61.47 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005384/0.9074, allocations: 1.116 MB / 0.7202 GB, free: 60.48 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.9074, allocations: 0 / 0.7202 GB, free: 60.48 MB / 490.7 MB Notification: Performance of Templates: time 0.02464/0.932, allocations: 19.05 MB / 0.7388 GB, free: 45.29 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)