Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001215/0.001214, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.207/1.207, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001544/0.001544, allocations: 120.1 kB / 256.9 MB, free: 4.387 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002741, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06922/0.06951, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2244/0.2939, allocations: 76.17 MB / 431.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001547/0.2941, allocations: 72.33 kB / 431.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01489/0.309, allocations: 6.419 MB / 437.7 MB, free: 7.883 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3091, allocations: 3.719 kB / 437.7 MB, free: 7.883 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.3091, allocations: 8 kB / 437.7 MB, free: 7.875 MB / 314.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.001448/0.3105, allocations: 0.7451 MB / 438.5 MB, free: 7.113 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3106, allocations: 12.03 kB / 438.5 MB, free: 7.102 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.3108, allocations: 47.48 kB / 438.5 MB, free: 7.055 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.3111, allocations: 301.9 kB / 438.8 MB, free: 6.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.3112, allocations: 29.19 kB / 438.9 MB, free: 6.734 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.3112, allocations: 37.72 kB / 438.9 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009247/0.3122, allocations: 0.5248 MB / 439.4 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.3122, allocations: 3.938 kB / 439.4 MB, free: 6.289 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/0.3122, allocations: 14.88 kB / 439.4 MB, free: 6.285 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.3122, allocations: 8 kB / 439.4 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.3134, allocations: 0.5611 MB / 440 MB, free: 5.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.3157, allocations: 1.411 MB / 441.4 MB, free: 4.668 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.3167, allocations: 461.9 kB / 441.9 MB, free: 4.324 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.139e-05/0.3168, allocations: 20.3 kB / 441.9 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.3168, allocations: 39.52 kB / 441.9 MB, free: 4.262 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 2.605e-06/0.3168, allocations: 0 / 441.9 MB, free: 4.262 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.004094/0.3209, allocations: 1.442 MB / 443.4 MB, free: 2.953 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.321, allocations: 158.2 kB / 443.5 MB, free: 2.762 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.3212, allocations: 241 kB / 443.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.3213, allocations: 28.7 kB / 443.8 MB, free: 2.531 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.3214, allocations: 213.3 kB / 444 MB, free: 2.359 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.686e-05/0.3215, allocations: 136.3 kB / 444.1 MB, free: 2.242 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.3215, allocations: 11.75 kB / 444.1 MB, free: 2.234 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.84e-05/0.3216, allocations: 342.9 kB / 444.5 MB, free: 1.906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.322, allocations: 203.5 kB / 444.7 MB, free: 1.758 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.3225, allocations: 296.5 kB / 445 MB, free: 1.492 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.3229, allocations: 222.2 kB / 445.2 MB, free: 1.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.323, allocations: 4 kB / 445.2 MB, free: 1.336 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001889/0.3248, allocations: 0.8331 MB / 446 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3249, allocations: 13.2 kB / 446 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3249, allocations: 0 / 446 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.3261, allocations: 332.2 kB / 446.4 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.3264, allocations: 93 kB / 446.4 MB, free: 260 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.3275, allocations: 1.361 MB / 447.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.328, allocations: 93.84 kB / 447.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.3281, allocations: 15.98 kB / 447.9 MB, free: 14.86 MB / 330.7 MB 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.0002/0.3283, allocations: 165 kB / 448.1 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.3284, allocations: 31.62 kB / 448.1 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.3304, allocations: 0.7941 MB / 448.9 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3304, allocations: 4 kB / 448.9 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3304, allocations: 3.953 kB / 448.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3304, allocations: 3.984 kB / 448.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.331, allocations: 467.1 kB / 449.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.331, allocations: 0 / 449.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.3313, allocations: 67.94 kB / 449.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.3325, allocations: 343 kB / 449.8 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.3325, allocations: 8 kB / 449.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.3337, allocations: 1.38 MB / 451.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3337, allocations: 4.031 kB / 451.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/0.3362, allocations: 1.105 MB / 452.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.3363, allocations: 116.6 kB / 452.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.3363, allocations: 4 kB / 452.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.3367, allocations: 64 kB / 452.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.3368, allocations: 19.97 kB / 452.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.3368, allocations: 22.98 kB / 452.5 MB, free: 10.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002133/0.3371, allocations: 186 kB / 452.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3371, allocations: 0 / 452.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000424/0.3375, allocations: 115.8 kB / 452.8 MB, free: 9.895 MB / 330.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.0001682/0.3377, allocations: 119.1 kB / 452.9 MB, free: 9.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.3389, allocations: 0.5046 MB / 453.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3389, allocations: 2.062 kB / 453.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005819/0.3395, allocations: 283.9 kB / 453.7 MB, free: 8.988 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.3398, allocations: 45.45 kB / 453.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.3414, allocations: 1.041 MB / 454.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.3417, allocations: 0.8037 MB / 455.6 MB, free: 7.051 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.3419, allocations: 34.95 kB / 455.6 MB, free: 7.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.342, allocations: 19.44 kB / 455.6 MB, free: 7 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.342, allocations: 0 / 455.6 MB, free: 7 MB / 330.7 MB Notification: Performance of Templates: time 0.009095/0.3511, allocations: 5.245 MB / 460.9 MB, free: 1.82 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1)