Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009819/0.0009822, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.245/1.245, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001601/0.001601, allocations: 115.5 kB / 223.2 MB, free: 4.039 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.843e-05/2.847e-05, allocations: 7.984 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07483/0.07487, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2856/0.3606, allocations: 71.03 MB / 378.7 MB, free: 5.285 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.3608, allocations: 66.09 kB / 378.7 MB, free: 5.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01808/0.3789, allocations: 6.486 MB / 385.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.379, allocations: 2.516 kB / 385.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.904e-05/0.379, allocations: 8 kB / 385.2 MB, free: 15.62 MB / 282.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.001333/0.3803, allocations: 0.7017 MB / 385.9 MB, free: 14.9 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3804, allocations: 12.03 kB / 385.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.93e-05/0.3805, allocations: 47.44 kB / 386 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.3809, allocations: 304.5 kB / 386.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.381, allocations: 23.03 kB / 386.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.3811, allocations: 37.31 kB / 386.3 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007008/0.3818, allocations: 421.9 kB / 386.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3818, allocations: 3.938 kB / 386.8 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/0.3818, allocations: 13.38 kB / 386.8 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.3819, allocations: 16 kB / 386.8 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005821/0.3825, allocations: 348.3 kB / 387.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/0.3848, allocations: 1.428 MB / 388.5 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007808/0.3856, allocations: 364.9 kB / 388.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.3859, allocations: 193.6 kB / 389.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.3859, allocations: 8.312 kB / 389.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.386, allocations: 50.64 kB / 389.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 2.295e-06/0.386, allocations: 0 / 389.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.00124/0.3872, allocations: 0.499 MB / 389.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.3874, allocations: 166.2 kB / 389.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.3876, allocations: 230 kB / 390 MB, free: 11.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.3876, allocations: 37.2 kB / 390.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.3878, allocations: 210.9 kB / 390.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.3879, allocations: 140.7 kB / 390.4 MB, free: 11.22 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.3879, allocations: 3.938 kB / 390.4 MB, free: 11.22 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.388, allocations: 346.2 kB / 390.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.3882, allocations: 122.8 kB / 390.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.3885, allocations: 228.1 kB / 391.1 MB, free: 10.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.3888, allocations: 133.8 kB / 391.2 MB, free: 10.53 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3888, allocations: 0 / 391.2 MB, free: 10.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001603/0.3904, allocations: 0.6581 MB / 391.9 MB, free: 9.996 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.3904, allocations: 8 kB / 391.9 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3904, allocations: 4.031 kB / 391.9 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.3916, allocations: 286.9 kB / 392.2 MB, free: 9.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.392, allocations: 91.12 kB / 392.3 MB, free: 9.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.3932, allocations: 1.307 MB / 393.6 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/0.3937, allocations: 101.4 kB / 393.7 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.3938, allocations: 15.38 kB / 393.7 MB, free: 8.305 MB / 282.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.0001308/0.3939, allocations: 127.9 kB / 393.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.392e-05/0.394, allocations: 43.61 kB / 393.9 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.3957, allocations: 0.6237 MB / 394.5 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3957, allocations: 8 kB / 394.5 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3957, allocations: 0 / 394.5 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.3957, allocations: 11.95 kB / 394.5 MB, free: 7.637 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005902/0.3963, allocations: 466.7 kB / 395 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3963, allocations: 0 / 395 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.3966, allocations: 63.89 kB / 395 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.3977, allocations: 301 kB / 395.3 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.3978, allocations: 10.88 kB / 395.3 MB, free: 6.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.3988, allocations: 1.319 MB / 396.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3988, allocations: 0 / 396.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.4006, allocations: 0.8668 MB / 397.5 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.4007, allocations: 140.9 kB / 397.7 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.4008, allocations: 9.938 kB / 397.7 MB, free: 4.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.4012, allocations: 63.5 kB / 397.7 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/0.4013, allocations: 18.97 kB / 397.7 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.4013, allocations: 21.73 kB / 397.8 MB, free: 4.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001673/0.4015, allocations: 178.6 kB / 397.9 MB, free: 4.605 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4015, allocations: 0 / 397.9 MB, free: 4.605 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004836/0.402, allocations: 116 kB / 398 MB, free: 4.504 MB / 282.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.0001938/0.4022, allocations: 113.5 kB / 398.2 MB, free: 4.391 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007327/0.4029, allocations: 373.3 kB / 398.5 MB, free: 4.137 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.403, allocations: 0 / 398.5 MB, free: 4.137 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.4033, allocations: 210.4 kB / 398.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.4036, allocations: 43.45 kB / 398.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.4048, allocations: 0.5817 MB / 399.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.4052, allocations: 0.8076 MB / 400.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.4053, allocations: 30.97 kB / 400.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.4054, allocations: 19.44 kB / 400.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4054, allocations: 0 / 400.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of Templates: time 0.0098/0.4152, allocations: 5.258 MB / 405.5 MB, free: 13.31 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1)