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.0009627/0.0009626, allocations: 182.4 kB / 13.64 MB, free: 1.676 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.447/1.447, allocations: 194.2 MB / 208.4 MB, free: 6.711 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.0016/0.001599, allocations: 122.2 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.804e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08293/0.08298, allocations: 44.5 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3743/0.4574, allocations: 76.08 MB / 425.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.4577, allocations: 74.17 kB / 425.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02319/0.4809, allocations: 6.415 MB / 432 MB, free: 8.281 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.481, allocations: 0 / 432 MB, free: 8.281 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.481, allocations: 11.75 kB / 432 MB, free: 8.277 MB / 298.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.001658/0.4827, allocations: 0.7091 MB / 432.7 MB, free: 7.746 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.4827, allocations: 7.719 kB / 432.7 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.4829, allocations: 50.39 kB / 432.8 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.4833, allocations: 297.4 kB / 433.1 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.4834, allocations: 31.09 kB / 433.1 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.924e-05/0.4835, allocations: 39.97 kB / 433.1 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00092/0.4844, allocations: 418.3 kB / 433.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.4844, allocations: 0 / 433.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/0.4845, allocations: 14.28 kB / 433.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.4845, allocations: 13.47 kB / 433.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008597/0.4854, allocations: 351 kB / 433.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.4885, allocations: 1.423 MB / 435.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.4897, allocations: 371.2 kB / 435.7 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/0.4901, allocations: 185.8 kB / 435.9 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/0.4901, allocations: 15.97 kB / 435.9 MB, free: 6.461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.4902, allocations: 34.02 kB / 435.9 MB, free: 6.422 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.725e-06/0.4902, allocations: 3.844 kB / 435.9 MB, free: 6.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001788/0.492, allocations: 0.502 MB / 436.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.4921, allocations: 169.8 kB / 436.6 MB, free: 6.094 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.4923, allocations: 223.4 kB / 436.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.4924, allocations: 33.36 kB / 436.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.4925, allocations: 217.7 kB / 437.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.4927, allocations: 135.8 kB / 437.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.4927, allocations: 6.5 kB / 437.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.4928, allocations: 340.2 kB / 437.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.4931, allocations: 124.3 kB / 437.7 MB, free: 5.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.4935, allocations: 224.5 kB / 437.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.4938, allocations: 140.7 kB / 438 MB, free: 5.238 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4939, allocations: 0 / 438 MB, free: 5.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001931/0.4958, allocations: 0.657 MB / 438.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.4958, allocations: 3.844 kB / 438.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4959, allocations: 3.812 kB / 438.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.4973, allocations: 301.2 kB / 439 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.4977, allocations: 88.88 kB / 439.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009769/0.4987, allocations: 1.301 MB / 440.4 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006591/0.4994, allocations: 97.81 kB / 440.5 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/0.4994, allocations: 18.73 kB / 440.5 MB, free: 3.816 MB / 298.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 () * 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.0001244/0.4996, allocations: 129.9 kB / 440.6 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.334e-05/0.4997, allocations: 31 kB / 440.6 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.5016, allocations: 0.6288 MB / 441.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.026e-06/0.5016, allocations: 3.875 kB / 441.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.5016, allocations: 7.953 kB / 441.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.5016, allocations: 11.83 kB / 441.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006464/0.5023, allocations: 458.6 kB / 441.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5023, allocations: 0 / 441.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.5027, allocations: 66.12 kB / 441.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/0.504, allocations: 302.2 kB / 442.1 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.5041, allocations: 10.72 kB / 442.1 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.5052, allocations: 1.322 MB / 443.4 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5052, allocations: 0 / 443.4 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.5076, allocations: 0.8703 MB / 444.3 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.5077, allocations: 120.6 kB / 444.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.778e-05/0.5078, allocations: 11.19 kB / 444.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005388/0.5083, allocations: 58.7 kB / 444.5 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.9e-05/0.5084, allocations: 27.5 kB / 444.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.5085, allocations: 11.98 kB / 444.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000223/0.5087, allocations: 181.6 kB / 444.7 MB, free: 1.234 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5087, allocations: 0 / 444.7 MB, free: 1.234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006232/0.5094, allocations: 120.2 kB / 444.8 MB, free: 1.129 MB / 298.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.0002609/0.5096, allocations: 110.2 kB / 444.9 MB, free: 1.016 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.5106, allocations: 362.4 kB / 445.3 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5107, allocations: 4.062 kB / 445.3 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.5112, allocations: 206.3 kB / 445.5 MB, free: 0.625 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.5116, allocations: 41.34 kB / 445.5 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.5131, allocations: 0.5833 MB / 446.1 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.5136, allocations: 0.8062 MB / 446.9 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002444/0.5139, allocations: 38.95 kB / 446.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.214e-05/0.514, allocations: 19.44 kB / 447 MB, free: 15.18 MB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.514, allocations: 0 / 447 MB, free: 15.18 MB / 314.7 MB Notification: Performance of Templates: time 0.01391/0.5279, allocations: 5.25 MB / 452.2 MB, free: 9.949 MB / 314.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)