Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.00363/0.00363, allocations: 171.8 kB / 7.446 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.288/1.288, allocations: 170.6 MB / 178.4 MB, free: 15.44 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001865/0.001865, allocations: 112.5 kB / 217.7 MB, free: 8.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.434e-05/1.477e-05, allocations: 4 kB / 261.7 MB, free: 26.63 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08737/0.08741, allocations: 38.76 MB / 300.5 MB, free: 3.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2619/0.3493, allocations: 70.29 MB / 370.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.3496, allocations: 69.33 kB / 370.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.01833/0.368, allocations: 6.22 MB / 377.1 MB, free: 8.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.623e-05/0.368, allocations: 14.45 kB / 377.1 MB, free: 8.867 MB / 266.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.001627/0.3697, allocations: 0.7275 MB / 377.8 MB, free: 8.121 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.3697, allocations: 12.03 kB / 377.8 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.37, allocations: 47.44 kB / 377.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006992/0.3707, allocations: 300.2 kB / 378.2 MB, free: 7.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.3707, allocations: 12 kB / 378.2 MB, free: 7.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.718e-05/0.3708, allocations: 24 kB / 378.2 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007452/0.3716, allocations: 333.6 kB / 378.5 MB, free: 7.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/0.3722, allocations: 365.7 kB / 378.9 MB, free: 7.242 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.3723, allocations: 4 kB / 378.9 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.3723, allocations: 0 / 378.9 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.3723, allocations: 8 kB / 378.9 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.3751, allocations: 1.357 MB / 380.3 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.3754, allocations: 226.8 kB / 380.5 MB, free: 5.953 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.3757, allocations: 180.7 kB / 380.7 MB, free: 5.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.454e-05/0.3758, allocations: 7.953 kB / 380.7 MB, free: 5.836 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3758, allocations: 38.08 kB / 380.7 MB, free: 5.793 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.703e-06/0.3758, allocations: 0 / 380.7 MB, free: 5.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.00137/0.3772, allocations: 0.489 MB / 381.2 MB, free: 5.402 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.3773, allocations: 162.2 kB / 381.3 MB, free: 5.207 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.3775, allocations: 213.1 kB / 381.6 MB, free: 5.031 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.3776, allocations: 25.7 kB / 381.6 MB, free: 5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3777, allocations: 178.5 kB / 381.8 MB, free: 4.832 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.3778, allocations: 139.5 kB / 381.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.3778, allocations: 3.938 kB / 381.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.378, allocations: 337.7 kB / 382.2 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.3782, allocations: 114.3 kB / 382.3 MB, free: 4.312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.3785, allocations: 217.4 kB / 382.6 MB, free: 4.125 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.3788, allocations: 126.2 kB / 382.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3788, allocations: 0 / 382.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001646/0.3804, allocations: 0.6305 MB / 383.3 MB, free: 3.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3805, allocations: 4 kB / 383.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.3805, allocations: 7.938 kB / 383.3 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000921/0.3814, allocations: 259 kB / 383.6 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.3818, allocations: 91.78 kB / 383.7 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.383, allocations: 1.347 MB / 385 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005268/0.3836, allocations: 91.75 kB / 385.1 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.3836, allocations: 18.42 kB / 385.1 MB, free: 1.828 MB / 266.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.0001228/0.3838, allocations: 115.9 kB / 385.2 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.618e-05/0.3838, allocations: 35.66 kB / 385.3 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.3855, allocations: 0.6146 MB / 385.9 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3855, allocations: 4 kB / 385.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3855, allocations: 0 / 385.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3855, allocations: 0 / 385.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.386, allocations: 408.9 kB / 386.3 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3861, allocations: 3.984 kB / 386.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.3864, allocations: 75.17 kB / 386.4 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008137/0.3872, allocations: 254.9 kB / 386.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.3873, allocations: 7.25 kB / 386.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.3885, allocations: 1.357 MB / 388 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3885, allocations: 4 kB / 388 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00179/0.3903, allocations: 0.8535 MB / 388.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.3905, allocations: 139.4 kB / 389 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.56e-05/0.3905, allocations: 0 / 389 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/0.391, allocations: 71.91 kB / 389 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.391, allocations: 23.84 kB / 389.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.3911, allocations: 15.86 kB / 389.1 MB, free: 14.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001289/0.3912, allocations: 159.9 kB / 389.2 MB, free: 14.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004003/0.3916, allocations: 99.69 kB / 389.3 MB, free: 14.1 MB / 282.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.0001758/0.3918, allocations: 104.9 kB / 389.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006689/0.3925, allocations: 347 kB / 389.8 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3925, allocations: 0 / 389.8 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.3929, allocations: 205.3 kB / 390 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.3932, allocations: 32.89 kB / 390 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.3945, allocations: 0.5558 MB / 390.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/0.395, allocations: 0.8379 MB / 391.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.395, allocations: 0 / 391.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of Templates: time 0.01042/0.4055, allocations: 5.414 MB / 396.8 MB, free: 6.797 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1)