Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [: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 3.2.2+maint.om/package.mo): time 0.002217/0.002217, allocations: 196.1 kB / 8.138 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.148/1.148, allocations: 194.2 MB / 202.8 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001735/0.001735, allocations: 119.8 kB / 247.7 MB, free: 6.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.252e-06, allocations: 0 / 297.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07669/0.07671, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2054/0.2822, allocations: 75.34 MB / 417.4 MB, free: 20.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.2824, allocations: 67.59 kB / 417.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01598/0.2984, allocations: 6.146 MB / 423.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.2985, allocations: 8 kB / 423.6 MB, free: 14.86 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001224/0.2997, allocations: 0.7366 MB / 424.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.2997, allocations: 11.78 kB / 424.4 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.549e-05/0.2998, allocations: 47.44 kB / 424.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.3001, allocations: 299.7 kB / 424.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3002, allocations: 12 kB / 424.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.3002, allocations: 20 kB / 424.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005561/0.3008, allocations: 331.9 kB / 425.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.3013, allocations: 371.6 kB / 425.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.3014, allocations: 0 / 425.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.3014, allocations: 3.906 kB / 425.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3014, allocations: 12 kB / 425.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.3036, allocations: 1.355 MB / 426.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.3039, allocations: 216.6 kB / 427 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.3042, allocations: 178.6 kB / 427.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.3042, allocations: 12.3 kB / 427.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.3042, allocations: 49.3 kB / 427.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.503e-06/0.3042, allocations: 0 / 427.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.001333/0.3056, allocations: 495 kB / 427.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.3056, allocations: 162.2 kB / 427.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3058, allocations: 210.3 kB / 428.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.3058, allocations: 25.7 kB / 428.1 MB, free: 11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.3059, allocations: 184.2 kB / 428.3 MB, free: 10.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.1e-05/0.306, allocations: 130.9 kB / 428.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.306, allocations: 1.969 kB / 428.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.248e-05/0.3061, allocations: 340.3 kB / 428.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.3063, allocations: 114.6 kB / 428.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.3065, allocations: 213.3 kB / 429.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.3068, allocations: 138.4 kB / 429.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3068, allocations: 0 / 429.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001626/0.3084, allocations: 0.6257 MB / 429.8 MB, free: 9.531 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3084, allocations: 13 kB / 429.8 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3084, allocations: 4.031 kB / 429.9 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009076/0.3094, allocations: 254.5 kB / 430.1 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.3098, allocations: 91.44 kB / 430.2 MB, free: 9.223 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009098/0.3107, allocations: 1.344 MB / 431.5 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.3113, allocations: 107 kB / 431.6 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.3113, allocations: 12 kB / 431.6 MB, free: 7.844 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.3114, allocations: 116.7 kB / 431.8 MB, free: 7.727 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.969e-05/0.3115, allocations: 31.62 kB / 431.8 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.3132, allocations: 0.6026 MB / 432.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3132, allocations: 4 kB / 432.4 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3132, allocations: 0 / 432.4 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3132, allocations: 11.89 kB / 432.4 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.3136, allocations: 401.5 kB / 432.8 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3137, allocations: 0 / 432.8 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.314, allocations: 71.2 kB / 432.9 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007957/0.3148, allocations: 262.8 kB / 433.1 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.3148, allocations: 13.7 kB / 433.1 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008532/0.3157, allocations: 1.348 MB / 434.5 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3157, allocations: 7.938 kB / 434.5 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001699/0.3174, allocations: 0.8608 MB / 435.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.89e-05/0.3175, allocations: 116.6 kB / 435.5 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.818e-05/0.3176, allocations: 3.906 kB / 435.5 MB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.318, allocations: 61.02 kB / 435.5 MB, free: 4.406 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.3181, allocations: 23.77 kB / 435.6 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.3181, allocations: 11.19 kB / 435.6 MB, free: 4.379 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000113/0.3183, allocations: 164.4 kB / 435.7 MB, free: 4.246 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003945/0.3187, allocations: 103.7 kB / 435.8 MB, free: 4.145 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001482/0.3188, allocations: 107.2 kB / 435.9 MB, free: 4.027 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006324/0.3195, allocations: 343.9 kB / 436.3 MB, free: 3.801 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3195, allocations: 0 / 436.3 MB, free: 3.801 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.3198, allocations: 192.5 kB / 436.5 MB, free: 3.672 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.3201, allocations: 29.72 kB / 436.5 MB, free: 3.652 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.3213, allocations: 0.5647 MB / 437.1 MB, free: 3.133 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.3215, allocations: 0.8369 MB / 437.9 MB, free: 2.27 MB / 314.7 MB Notification: Performance of SimCode: time 3e-07/0.3215, allocations: 0 / 437.9 MB, free: 2.27 MB / 314.7 MB Notification: Performance of Templates: time 0.009151/0.3307, allocations: 5.418 MB / 443.3 MB, free: 12.93 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1)