Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.693/0.693, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001581/0.001581, allocations: 139.5 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.229e-05/2.231e-05, allocations: 5.797 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03731/0.03735, allocations: 25.18 MB / 205.4 MB, free: 8.426 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05033/0.08772, allocations: 38.54 MB / 243.9 MB, free: 1.82 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.08798, allocations: 63.97 kB / 244 MB, free: 1.758 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1086/0.1966, allocations: 6.407 MB / 250.4 MB, free: 41.94 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1966, allocations: 5.281 kB / 250.4 MB, free: 41.93 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.1967, allocations: 7.438 kB / 250.4 MB, free: 41.93 MB / 186.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.001344/0.198, allocations: 0.705 MB / 251.1 MB, free: 41.45 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.1981, allocations: 9.219 kB / 251.1 MB, free: 41.45 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1982, allocations: 51.45 kB / 251.2 MB, free: 41.43 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.1985, allocations: 300.1 kB / 251.5 MB, free: 41.16 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.1986, allocations: 28.81 kB / 251.5 MB, free: 41.14 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.1987, allocations: 35.19 kB / 251.5 MB, free: 41.13 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.1994, allocations: 421.5 kB / 251.9 MB, free: 40.92 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1994, allocations: 0 / 251.9 MB, free: 40.92 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.1995, allocations: 16.19 kB / 252 MB, free: 40.91 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.1995, allocations: 8.75 kB / 252 MB, free: 40.91 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006553/0.2002, allocations: 355.6 kB / 252.3 MB, free: 40.78 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.2026, allocations: 1.41 MB / 253.7 MB, free: 39.96 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000933/0.2036, allocations: 378.9 kB / 254.1 MB, free: 39.81 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.2039, allocations: 188 kB / 254.3 MB, free: 39.73 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-05/0.2039, allocations: 21.39 kB / 254.3 MB, free: 39.71 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.204, allocations: 37.2 kB / 254.3 MB, free: 39.67 MB / 186.7 MB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.204, allocations: 0 / 254.3 MB, free: 39.67 MB / 186.7 MB Notification: Performance of matching and sorting (n=40): time 0.001256/0.2053, allocations: 0.5022 MB / 254.8 MB, free: 39.42 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.2053, allocations: 165.5 kB / 255 MB, free: 39.23 MB / 186.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter Sin.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.2056, allocations: 229.3 kB / 255.2 MB, free: 39.07 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.2056, allocations: 41.52 kB / 255.3 MB, free: 39.03 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.2057, allocations: 203.4 kB / 255.5 MB, free: 38.84 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.111e-05/0.2058, allocations: 136.6 kB / 255.6 MB, free: 38.73 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.2058, allocations: 7.406 kB / 255.6 MB, free: 38.72 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.2059, allocations: 352 kB / 255.9 MB, free: 38.38 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.2061, allocations: 122.3 kB / 256.1 MB, free: 38.32 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.2064, allocations: 214.4 kB / 256.3 MB, free: 38.16 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.2066, allocations: 135.9 kB / 256.4 MB, free: 38.09 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2066, allocations: 0 / 256.4 MB, free: 38.09 MB / 186.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001435/0.208, allocations: 0.662 MB / 257.1 MB, free: 37.77 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2081, allocations: 3.844 kB / 257.1 MB, free: 37.77 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2081, allocations: 7.875 kB / 257.1 MB, free: 37.77 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.2091, allocations: 291.1 kB / 257.4 MB, free: 37.64 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.2095, allocations: 89.84 kB / 257.5 MB, free: 37.61 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007456/0.2102, allocations: 1.296 MB / 258.8 MB, free: 36.37 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004778/0.2107, allocations: 107.6 kB / 258.9 MB, free: 36.27 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.2108, allocations: 16 kB / 258.9 MB, free: 36.25 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: HeatCapacitor1.T:VARIABLE(min = max(1.0, max(1.0, max(1.0, max(1.0, 1.0)))) max = min(6000.0, min(6000.0, 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: 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.0001653/0.2109, allocations: 145.5 kB / 259 MB, free: 36.1 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.211, allocations: 35.62 kB / 259 MB, free: 36.07 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.2124, allocations: 0.6379 MB / 259.7 MB, free: 35.41 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2124, allocations: 4 kB / 259.7 MB, free: 35.41 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2125, allocations: 0 / 259.7 MB, free: 35.41 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2125, allocations: 4 kB / 259.7 MB, free: 35.4 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.2129, allocations: 470.7 kB / 260.2 MB, free: 34.9 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2129, allocations: 0 / 260.2 MB, free: 34.9 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.2133, allocations: 71.89 kB / 260.2 MB, free: 34.83 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009415/0.2142, allocations: 291.4 kB / 260.5 MB, free: 34.54 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.2142, allocations: 16 kB / 260.5 MB, free: 34.53 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006919/0.2149, allocations: 1.312 MB / 261.8 MB, free: 33.16 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.215, allocations: 4.031 kB / 261.8 MB, free: 33.16 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.2165, allocations: 0.8712 MB / 262.7 MB, free: 32.27 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.2166, allocations: 152.5 kB / 262.9 MB, free: 32.1 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.2167, allocations: 4 kB / 262.9 MB, free: 32.09 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.2171, allocations: 68 kB / 262.9 MB, free: 32.03 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.2172, allocations: 23.97 kB / 263 MB, free: 32 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.2172, allocations: 8 kB / 263 MB, free: 32 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.2174, allocations: 187.1 kB / 263.1 MB, free: 31.81 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2174, allocations: 0 / 263.1 MB, free: 31.81 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003964/0.2178, allocations: 115.7 kB / 263.3 MB, free: 31.7 MB / 186.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.0001596/0.2179, allocations: 111.2 kB / 263.4 MB, free: 31.58 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0006353/0.2186, allocations: 367.5 kB / 263.7 MB, free: 31.22 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2186, allocations: 0 / 263.7 MB, free: 31.22 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.2189, allocations: 212.5 kB / 263.9 MB, free: 31.01 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.2194, allocations: 77.84 kB / 264 MB, free: 30.94 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008801/0.2203, allocations: 0.5742 MB / 264.6 MB, free: 30.34 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.2205, allocations: 0.8113 MB / 265.4 MB, free: 29.5 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.2206, allocations: 34.97 kB / 265.4 MB, free: 29.47 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.2207, allocations: 19.44 kB / 265.4 MB, free: 29.45 MB / 186.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2207, allocations: 0 / 265.4 MB, free: 29.45 MB / 186.7 MB Notification: Performance of Templates: time 0.007865/0.2286, allocations: 5.583 MB / 271 MB, free: 23.88 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1)