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.7083/0.7083, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001807/0.001807, allocations: 143.4 kB / 151.8 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002657, allocations: 4 kB / 184.9 MB, free: 3.93 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.135, allocations: 25.15 MB / 210 MB, free: 29.72 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04466/0.1797, allocations: 38.64 MB / 248.7 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.1799, allocations: 59.97 kB / 248.8 MB, free: 11.13 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01739/0.1973, allocations: 6.404 MB / 255.2 MB, free: 4.734 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1973, allocations: 0 / 255.2 MB, free: 4.734 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.595e-05/0.1974, allocations: 8 kB / 255.2 MB, free: 4.727 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.001417/0.1988, allocations: 0.7501 MB / 255.9 MB, free: 3.93 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1988, allocations: 12.03 kB / 255.9 MB, free: 3.918 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.887e-05/0.1989, allocations: 51.42 kB / 256 MB, free: 3.867 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.1993, allocations: 285.4 kB / 256.3 MB, free: 3.551 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.1994, allocations: 29 kB / 256.3 MB, free: 3.523 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.841e-05/0.1994, allocations: 39.91 kB / 256.3 MB, free: 3.484 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.2005, allocations: 0.5317 MB / 256.9 MB, free: 2.926 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.2005, allocations: 5.578 kB / 256.9 MB, free: 2.922 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.2006, allocations: 20 kB / 256.9 MB, free: 2.902 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.2006, allocations: 12 kB / 256.9 MB, free: 2.891 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.202, allocations: 0.5582 MB / 257.4 MB, free: 2.336 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.2043, allocations: 1.412 MB / 258.9 MB, free: 0.8477 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.2054, allocations: 464.5 kB / 259.3 MB, free: 400 kB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.2055, allocations: 12.3 kB / 259.3 MB, free: 388 kB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.2055, allocations: 38.89 kB / 259.4 MB, free: 340 kB / 186.7 MB Notification: Performance of pre-optimization done (n=40): time 3.176e-06/0.2055, allocations: 0 / 259.4 MB, free: 340 kB / 186.7 MB Notification: Performance of matching and sorting (n=40): time 0.004592/0.2101, allocations: 1.441 MB / 260.8 MB, free: 14.84 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/0.2102, allocations: 158.2 kB / 261 MB, free: 14.65 MB / 202.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.0003549/0.2106, allocations: 246.1 kB / 261.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.2106, allocations: 33.7 kB / 261.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.2108, allocations: 208.3 kB / 261.4 MB, free: 14.14 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.2109, allocations: 137.9 kB / 261.6 MB, free: 14.01 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.2109, allocations: 11.94 kB / 261.6 MB, free: 14 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2111, allocations: 338.8 kB / 261.9 MB, free: 13.66 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005063/0.2116, allocations: 203 kB / 262.1 MB, free: 13.46 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.2121, allocations: 302.5 kB / 262.4 MB, free: 13.13 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.2127, allocations: 216.2 kB / 262.6 MB, free: 12.92 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.2127, allocations: 4 kB / 262.6 MB, free: 12.92 MB / 202.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002184/0.2149, allocations: 0.8419 MB / 263.5 MB, free: 12.06 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.2149, allocations: 4 kB / 263.5 MB, free: 12.06 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.2149, allocations: 4 kB / 263.5 MB, free: 12.05 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.2162, allocations: 335.3 kB / 263.8 MB, free: 11.72 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.2166, allocations: 87.88 kB / 263.9 MB, free: 11.64 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.2178, allocations: 1.368 MB / 265.3 MB, free: 10.22 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/0.2183, allocations: 91.69 kB / 265.3 MB, free: 10.13 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.2184, allocations: 20.03 kB / 265.4 MB, free: 10.11 MB / 202.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" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "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 () * Number of clocked 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.000297/0.2187, allocations: 190 kB / 265.5 MB, free: 9.914 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.2188, allocations: 31.62 kB / 265.6 MB, free: 9.883 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.2208, allocations: 0.7978 MB / 266.4 MB, free: 9.07 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.2208, allocations: 11.94 kB / 266.4 MB, free: 9.059 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2208, allocations: 0 / 266.4 MB, free: 9.059 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2208, allocations: 0 / 266.4 MB, free: 9.059 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.2214, allocations: 466.6 kB / 266.8 MB, free: 8.555 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2214, allocations: 0 / 266.8 MB, free: 8.555 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.2217, allocations: 67.89 kB / 266.9 MB, free: 8.488 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.2229, allocations: 342.7 kB / 267.2 MB, free: 8.148 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.223, allocations: 8 kB / 267.3 MB, free: 8.141 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.2242, allocations: 1.385 MB / 268.6 MB, free: 6.707 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2242, allocations: 192 / 268.6 MB, free: 6.707 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.2268, allocations: 1.098 MB / 269.7 MB, free: 5.586 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.2271, allocations: 144.5 kB / 269.9 MB, free: 5.426 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.2271, allocations: 11.95 kB / 269.9 MB, free: 5.414 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.2275, allocations: 68 kB / 270 MB, free: 5.348 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/0.2276, allocations: 19.97 kB / 270 MB, free: 5.328 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.2277, allocations: 14.23 kB / 270 MB, free: 5.316 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002469/0.2279, allocations: 190 kB / 270.2 MB, free: 5.133 MB / 202.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2279, allocations: 4 kB / 270.2 MB, free: 5.129 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0004412/0.2284, allocations: 119.7 kB / 270.3 MB, free: 5.012 MB / 202.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 () * Number of clocked 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.0001814/0.2286, allocations: 115.6 kB / 270.4 MB, free: 4.887 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.2299, allocations: 0.5233 MB / 270.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2299, allocations: 0 / 270.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006016/0.2305, allocations: 284.2 kB / 271.2 MB, free: 4.086 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.231, allocations: 68.5 kB / 271.3 MB, free: 4.02 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.2325, allocations: 1.045 MB / 272.3 MB, free: 2.957 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.2328, allocations: 0.8074 MB / 273.1 MB, free: 2.117 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.233, allocations: 26.98 kB / 273.2 MB, free: 2.094 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.2331, allocations: 35.36 kB / 273.2 MB, free: 2.059 MB / 202.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2331, allocations: 0 / 273.2 MB, free: 2.059 MB / 202.7 MB Notification: Performance of Templates: time 0.009646/0.2427, allocations: 5.563 MB / 278.8 MB, free: 12.52 MB / 218.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)