Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8001/0.8001, allocations: 110.8 MB / 123.3 MB, free: 10.79 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001724/0.001724, allocations: 139.5 kB / 149.1 MB, free: 1.008 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.607e-05, allocations: 4 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0443/0.04434, allocations: 25.17 MB / 205.4 MB, free: 8.441 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04984/0.09422, allocations: 36.14 MB / 241.5 MB, free: 4.242 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.09451, allocations: 67.97 kB / 241.6 MB, free: 4.176 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01082/0.1054, allocations: 3.875 MB / 245.5 MB, free: 292 kB / 186.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1054, allocations: 0 / 245.5 MB, free: 292 kB / 186.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.1054, allocations: 4 kB / 245.5 MB, free: 288 kB / 186.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.09898/0.2044, allocations: 486.1 kB / 245.9 MB, free: 41.05 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2044, allocations: 9.156 kB / 246 MB, free: 41.05 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.2046, allocations: 27.05 kB / 246 MB, free: 41.04 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.2049, allocations: 227 kB / 246.2 MB, free: 40.84 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.2049, allocations: 17.19 kB / 246.2 MB, free: 40.84 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.205, allocations: 20.25 kB / 246.2 MB, free: 40.84 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.2054, allocations: 219.4 kB / 246.5 MB, free: 40.79 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.2054, allocations: 1.906 kB / 246.5 MB, free: 40.79 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.2054, allocations: 11.58 kB / 246.5 MB, free: 40.78 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2054, allocations: 7.5 kB / 246.5 MB, free: 40.78 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.2057, allocations: 142.1 kB / 246.6 MB, free: 40.78 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.2069, allocations: 0.8571 MB / 247.5 MB, free: 40.34 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.2072, allocations: 151.9 kB / 247.6 MB, free: 40.32 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.2074, allocations: 88.08 kB / 247.7 MB, free: 40.31 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.2074, allocations: 3.703 kB / 247.7 MB, free: 40.31 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.2074, allocations: 37.64 kB / 247.7 MB, free: 40.27 MB / 186.7 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.2074, allocations: 3.438 kB / 247.7 MB, free: 40.27 MB / 186.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005539/0.208, allocations: 203.6 kB / 247.9 MB, free: 40.21 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.208, allocations: 57.16 kB / 248 MB, free: 40.15 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.2082, allocations: 156.9 kB / 248.2 MB, free: 40.06 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.2082, allocations: 30.62 kB / 248.2 MB, free: 40.03 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.2083, allocations: 156.8 kB / 248.3 MB, free: 39.91 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.2083, allocations: 57.78 kB / 248.4 MB, free: 39.88 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.2083, allocations: 7.625 kB / 248.4 MB, free: 39.88 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 5.095e-05/0.2084, allocations: 326.5 kB / 248.7 MB, free: 39.57 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.193e-05/0.2085, allocations: 42.28 kB / 248.8 MB, free: 39.56 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.2086, allocations: 87.45 kB / 248.8 MB, free: 39.52 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.2087, allocations: 62.34 kB / 248.9 MB, free: 39.52 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2087, allocations: 1.188 kB / 248.9 MB, free: 39.52 MB / 186.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004038/0.2091, allocations: 233.8 kB / 249.1 MB, free: 39.46 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2092, allocations: 5.781 kB / 249.1 MB, free: 39.46 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2092, allocations: 5.719 kB / 249.1 MB, free: 39.46 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.2105, allocations: 217.5 kB / 249.4 MB, free: 39.44 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.2106, allocations: 40.69 kB / 249.4 MB, free: 39.43 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003398/0.211, allocations: 0.6008 MB / 250 MB, free: 38.88 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.2111, allocations: 28.64 kB / 250 MB, free: 38.87 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.2111, allocations: 11.53 kB / 250 MB, free: 38.86 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: HeatCapacitor1.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(6000.0, min(6000.0, 6000.0)) start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real 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 0.0001402/0.2113, allocations: 130.7 kB / 250.2 MB, free: 38.75 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.2113, allocations: 16.42 kB / 250.2 MB, free: 38.74 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.2117, allocations: 212.8 kB / 250.4 MB, free: 38.63 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2117, allocations: 7.062 kB / 250.4 MB, free: 38.62 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2118, allocations: 4.828 kB / 250.4 MB, free: 38.62 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2118, allocations: 0.9375 kB / 250.4 MB, free: 38.62 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007874/0.2126, allocations: 0.5921 MB / 251 MB, free: 38.19 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2126, allocations: 0.7969 kB / 251 MB, free: 38.19 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.2127, allocations: 31.67 kB / 251 MB, free: 38.18 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.2138, allocations: 224.1 kB / 251.2 MB, free: 38.15 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.2139, allocations: 6.859 kB / 251.3 MB, free: 38.14 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003162/0.2142, allocations: 0.6193 MB / 251.9 MB, free: 37.58 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2142, allocations: 0 / 251.9 MB, free: 37.58 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.2147, allocations: 404.6 kB / 252.3 MB, free: 37.31 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.112e-05/0.2148, allocations: 100.9 kB / 252.4 MB, free: 37.2 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.2148, allocations: 6.75 kB / 252.4 MB, free: 37.2 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.215, allocations: 18.53 kB / 252.4 MB, free: 37.19 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.215, allocations: 8.953 kB / 252.4 MB, free: 37.19 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.2151, allocations: 6.391 kB / 252.4 MB, free: 37.19 MB / 186.7 MB Notification: Performance of sorting global known variables: time 9.135e-05/0.2152, allocations: 132.2 kB / 252.5 MB, free: 37.1 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2152, allocations: 1.375 kB / 252.5 MB, free: 37.1 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003183/0.2155, allocations: 76.77 kB / 252.6 MB, free: 37.07 MB / 186.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.0001723/0.2157, allocations: 120.4 kB / 252.7 MB, free: 36.97 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003366/0.216, allocations: 136.8 kB / 252.9 MB, free: 36.93 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.216, allocations: 0 / 252.9 MB, free: 36.93 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.2162, allocations: 77.86 kB / 252.9 MB, free: 36.91 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.2166, allocations: 51.33 kB / 253 MB, free: 36.89 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.2173, allocations: 383.5 kB / 253.4 MB, free: 36.65 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.2174, allocations: 0.7468 MB / 254.1 MB, free: 35.95 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 7.677e-05/0.2175, allocations: 15.86 kB / 254.1 MB, free: 35.95 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.2176, allocations: 13.5 kB / 254.1 MB, free: 35.94 MB / 186.7 MB Notification: Performance of SimCode: time 3.7e-07/0.2176, allocations: 1.219 kB / 254.1 MB, free: 35.94 MB / 186.7 MB Notification: Performance of Templates: time 0.006264/0.2238, allocations: 2.556 MB / 256.7 MB, free: 35.73 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1)