Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") [: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.004294/0.004294, allocations: 179.5 kB / 7.453 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.458/1.458, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001755/0.001755, allocations: 105 kB / 217.7 MB, free: 8.148 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.204e-06/7.234e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07439/0.07441, allocations: 38.76 MB / 300.5 MB, free: 3.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2417/0.3162, allocations: 67.88 MB / 368.4 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.3164, allocations: 69.14 kB / 368.4 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.01064/0.3271, allocations: 3.682 MB / 372.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.3271, allocations: 8 kB / 372.1 MB, free: 13.5 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007682/0.3279, allocations: 498.3 kB / 372.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.328, allocations: 14.55 kB / 372.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.242e-05/0.3281, allocations: 23.72 kB / 372.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.3284, allocations: 239.7 kB / 372.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3285, allocations: 4 kB / 372.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.3285, allocations: 12 kB / 372.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003072/0.3288, allocations: 134.9 kB / 373 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.3292, allocations: 183.4 kB / 373.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.3292, allocations: 11.98 kB / 373.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.3293, allocations: 0 / 373.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3293, allocations: 8 kB / 373.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.3307, allocations: 0.8847 MB / 374.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.3309, allocations: 90.7 kB / 374.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.3311, allocations: 84.62 kB / 374.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.3311, allocations: 8 kB / 374.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.3312, allocations: 34.06 kB / 374.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.3312, allocations: 0 / 374.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006843/0.3319, allocations: 196.2 kB / 374.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.3319, allocations: 55.41 kB / 374.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.3321, allocations: 162.9 kB / 374.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.3321, allocations: 29.64 kB / 374.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.3322, allocations: 142 kB / 374.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.3323, allocations: 61.72 kB / 375 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.3323, allocations: 0 / 375 MB, free: 10.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.3324, allocations: 325.2 kB / 375.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.084e-05/0.3325, allocations: 41.62 kB / 375.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.3326, allocations: 90.78 kB / 375.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.3329, allocations: 64.38 kB / 375.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3329, allocations: 0 / 375.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005079/0.3334, allocations: 240.4 kB / 375.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3334, allocations: 4 kB / 375.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3334, allocations: 7.875 kB / 375.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.334, allocations: 103.4 kB / 375.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.3342, allocations: 43.56 kB / 375.9 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006075/0.3349, allocations: 0.6288 MB / 376.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.335, allocations: 23.81 kB / 376.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.335, allocations: 11.19 kB / 376.5 MB, free: 9.344 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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 {1 7} Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/0.3351, allocations: 101 kB / 376.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.3352, allocations: 15.81 kB / 376.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.3357, allocations: 219.5 kB / 376.9 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3357, allocations: 7.984 kB / 376.9 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3357, allocations: 0 / 376.9 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3357, allocations: 0 / 376.9 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00092/0.3366, allocations: 0.5464 MB / 377.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3367, allocations: 0 / 377.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.3368, allocations: 32.02 kB / 377.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005112/0.3373, allocations: 113.2 kB / 377.6 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3374, allocations: 0 / 377.6 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005712/0.3379, allocations: 0.6521 MB / 378.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.338, allocations: 0 / 378.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006235/0.3386, allocations: 393.6 kB / 378.6 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.331e-05/0.3387, allocations: 108.1 kB / 378.7 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.3387, allocations: 0 / 378.7 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.3389, allocations: 15.98 kB / 378.7 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.339, allocations: 19.45 kB / 378.7 MB, free: 7.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.339, allocations: 4 kB / 378.7 MB, free: 7.273 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.455e-05/0.3391, allocations: 122.7 kB / 378.9 MB, free: 7.168 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003262/0.3394, allocations: 59.78 kB / 378.9 MB, free: 7.109 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001929/0.3396, allocations: 110.8 kB / 379 MB, free: 6.992 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.34, allocations: 134 kB / 379.2 MB, free: 6.895 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.34, allocations: 4.344 kB / 379.2 MB, free: 6.891 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.3401, allocations: 71.48 kB / 379.2 MB, free: 6.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.3404, allocations: 19.41 kB / 379.3 MB, free: 6.828 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009484/0.3414, allocations: 375.6 kB / 379.6 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004153/0.3418, allocations: 0.763 MB / 380.4 MB, free: 5.676 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3418, allocations: 0 / 380.4 MB, free: 5.676 MB / 266.7 MB Notification: Performance of Templates: time 0.006159/0.348, allocations: 2.381 MB / 382.8 MB, free: 3.312 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)