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.7017/0.7017, allocations: 110.8 MB / 118.3 MB, free: 10.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00163/0.00163, allocations: 147.4 kB / 144 MB, free: 9.82 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.55e-05/1.553e-05, allocations: 4 kB / 173.9 MB, free: 11.89 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04695/0.04698, allocations: 25.17 MB / 199 MB, free: 2.672 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.1849, allocations: 37.89 MB / 236.9 MB, free: 2.094 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.1852, allocations: 65.42 kB / 237 MB, free: 2.031 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01686/0.202, allocations: 6.34 MB / 243.3 MB, free: 11.74 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2021, allocations: 0 / 243.3 MB, free: 11.74 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.2021, allocations: 12 kB / 243.3 MB, free: 11.73 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.001305/0.2034, allocations: 0.697 MB / 244 MB, free: 10.99 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.2035, allocations: 9.781 kB / 244 MB, free: 10.98 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.855e-05/0.2036, allocations: 51.44 kB / 244.1 MB, free: 10.93 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.204, allocations: 293.4 kB / 244.4 MB, free: 10.61 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.204, allocations: 17.03 kB / 244.4 MB, free: 10.59 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/0.2041, allocations: 20 kB / 244.4 MB, free: 10.57 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005851/0.2047, allocations: 337.4 kB / 244.7 MB, free: 10.24 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/0.2052, allocations: 364.5 kB / 245.1 MB, free: 9.867 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2053, allocations: 3.906 kB / 245.1 MB, free: 9.863 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.2053, allocations: 4 kB / 245.1 MB, free: 9.859 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.2053, allocations: 8 kB / 245.1 MB, free: 9.852 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.2077, allocations: 1.348 MB / 246.5 MB, free: 8.445 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007843/0.2085, allocations: 353.1 kB / 246.8 MB, free: 8.094 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.2088, allocations: 181.8 kB / 247 MB, free: 7.91 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.2088, allocations: 8.312 kB / 247 MB, free: 7.902 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.2089, allocations: 43.73 kB / 247 MB, free: 7.852 MB / 186.7 MB Notification: Performance of pre-optimization done (n=40): time 4.849e-06/0.2089, allocations: 0 / 247 MB, free: 7.852 MB / 186.7 MB Notification: Performance of matching and sorting (n=40): time 0.001355/0.2103, allocations: 492.9 kB / 247.5 MB, free: 7.359 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/0.2104, allocations: 158.2 kB / 247.7 MB, free: 7.168 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.0003243/0.2107, allocations: 214.3 kB / 247.9 MB, free: 6.949 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/0.2108, allocations: 25.7 kB / 247.9 MB, free: 6.918 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.2109, allocations: 208.3 kB / 248.1 MB, free: 6.711 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.211, allocations: 130 kB / 248.2 MB, free: 6.582 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.2111, allocations: 0 / 248.2 MB, free: 6.582 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2112, allocations: 349.5 kB / 248.6 MB, free: 6.234 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.2114, allocations: 112.9 kB / 248.7 MB, free: 6.121 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.2117, allocations: 201.8 kB / 248.9 MB, free: 5.887 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.2119, allocations: 134.6 kB / 249 MB, free: 5.758 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.212, allocations: 11.98 kB / 249 MB, free: 5.746 MB / 186.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001573/0.2135, allocations: 0.6157 MB / 249.6 MB, free: 5.117 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.2136, allocations: 8 kB / 249.6 MB, free: 5.109 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.2136, allocations: 0 / 249.6 MB, free: 5.109 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008723/0.2145, allocations: 257.5 kB / 249.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.2149, allocations: 83.88 kB / 250 MB, free: 4.77 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.2161, allocations: 1.342 MB / 251.3 MB, free: 3.379 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.2166, allocations: 91.7 kB / 251.4 MB, free: 3.289 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.2166, allocations: 19.94 kB / 251.4 MB, free: 3.27 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.0002146/0.2169, allocations: 129.3 kB / 251.6 MB, free: 3.137 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/0.2169, allocations: 35.58 kB / 251.6 MB, free: 3.102 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.2186, allocations: 0.6014 MB / 252.2 MB, free: 2.488 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2186, allocations: 4 kB / 252.2 MB, free: 2.484 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2186, allocations: 2.062 kB / 252.2 MB, free: 2.484 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2186, allocations: 4 kB / 252.2 MB, free: 2.48 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.2191, allocations: 389.8 kB / 252.6 MB, free: 2.062 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2191, allocations: 3.953 kB / 252.6 MB, free: 2.059 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.2194, allocations: 71.94 kB / 252.7 MB, free: 1.988 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007557/0.2202, allocations: 261.5 kB / 252.9 MB, free: 1.727 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.2202, allocations: 0 / 252.9 MB, free: 1.727 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/0.2214, allocations: 1.348 MB / 254.3 MB, free: 336 kB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.2215, allocations: 3.984 kB / 254.3 MB, free: 332 kB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.2232, allocations: 0.8321 MB / 255.1 MB, free: 15.47 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.2234, allocations: 148.6 kB / 255.2 MB, free: 15.3 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.2235, allocations: 3.938 kB / 255.2 MB, free: 15.3 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.2239, allocations: 62.91 kB / 255.3 MB, free: 15.24 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.224, allocations: 23.95 kB / 255.3 MB, free: 15.22 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.224, allocations: 12 kB / 255.3 MB, free: 15.21 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0001513/0.2242, allocations: 166 kB / 255.5 MB, free: 15.05 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2242, allocations: 0 / 255.5 MB, free: 15.05 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0004288/0.2246, allocations: 103.7 kB / 255.6 MB, free: 14.95 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 () * 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.000189/0.2248, allocations: 111.2 kB / 255.7 MB, free: 14.83 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0006954/0.2255, allocations: 348.5 kB / 256.1 MB, free: 14.49 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2255, allocations: 0 / 256.1 MB, free: 14.49 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.2259, allocations: 198.5 kB / 256.2 MB, free: 14.3 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.2264, allocations: 59.98 kB / 256.3 MB, free: 14.24 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.2275, allocations: 0.5589 MB / 256.9 MB, free: 13.66 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.2279, allocations: 0.8033 MB / 257.7 MB, free: 12.82 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0001728/0.2281, allocations: 39.27 kB / 257.7 MB, free: 12.79 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.2282, allocations: 19.44 kB / 257.7 MB, free: 12.77 MB / 202.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2282, allocations: 0 / 257.7 MB, free: 12.77 MB / 202.7 MB Notification: Performance of Templates: time 0.008999/0.2372, allocations: 5.185 MB / 262.9 MB, free: 7.645 MB / 202.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)