Running command: translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Inverter") Notification: Performance of loadModel(Modelica): time 1.758/1.758, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.124e-05, allocations: 4 kB / 225 MB, free: 2.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2293, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/0.397, allocations: 93.64 MB / 357.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.3972, allocations: 79.95 kB / 357.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4288/0.826, allocations: 90.82 MB / 448.3 MB, free: 25.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.218e-06/0.8261, allocations: 0 / 448.3 MB, free: 25.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.848e-05/0.8261, allocations: 28 kB / 448.4 MB, free: 25.1 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002951/0.8291, allocations: 1.609 MB / 450 MB, free: 23.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.8291, allocations: 8.031 kB / 450 MB, free: 23.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.8294, allocations: 193.7 kB / 450.2 MB, free: 23.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.8317, allocations: 1.227 MB / 451.4 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.8318, allocations: 16.56 kB / 451.4 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.8319, allocations: 31.95 kB / 451.4 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008259/0.8327, allocations: 442.5 kB / 451.9 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.8328, allocations: 0 / 451.9 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/0.8328, allocations: 12 kB / 451.9 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.8329, allocations: 4 kB / 451.9 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007129/0.8336, allocations: 381.3 kB / 452.3 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003582/0.8372, allocations: 1.654 MB / 453.9 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.8378, allocations: 279.2 kB / 454.2 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/0.8384, allocations: 365.9 kB / 454.5 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01867/0.8571, allocations: 18.19 MB / 472.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004984/0.8576, allocations: 207.2 kB / 472.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 4.12e-06/0.8576, allocations: 0 / 472.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.00129/0.8589, allocations: 0.4885 MB / 473.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.8591, allocations: 158.2 kB / 473.6 MB, free: 12.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.8615, allocations: 1.209 MB / 474.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.635e-05/0.8617, allocations: 33.7 kB / 474.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008925/0.8626, allocations: 0.7227 MB / 475.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.8628, allocations: 102.7 kB / 475.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.8628, allocations: 12 kB / 475.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.863, allocations: 329.9 kB / 476 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.8633, allocations: 105.1 kB / 476.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/0.8638, allocations: 326.7 kB / 476.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.8643, allocations: 157.3 kB / 476.5 MB, free: 9.867 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.16e-06/0.8643, allocations: 0 / 476.5 MB, free: 9.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00154/0.8658, allocations: 0.6423 MB / 477.2 MB, free: 9.215 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.8659, allocations: 12.03 kB / 477.2 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.722e-05/0.866, allocations: 40 kB / 477.2 MB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/0.8664, allocations: 128.8 kB / 477.4 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.867, allocations: 123.8 kB / 477.5 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008884/0.8679, allocations: 0.6772 MB / 478.2 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.869, allocations: 87.41 kB / 478.3 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.8691, allocations: 36 kB / 478.3 MB, free: 8.09 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.8693, allocations: 144.8 kB / 478.4 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.8696, allocations: 189.8 kB / 478.6 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.872, allocations: 0.6724 MB / 479.3 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.553e-06/0.8721, allocations: 4.062 kB / 479.3 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.682e-06/0.8721, allocations: 4 kB / 479.3 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.8721, allocations: 0 / 479.3 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/0.875, allocations: 1.238 MB / 480.5 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.792e-05/0.8751, allocations: 39.98 kB / 480.6 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.8755, allocations: 60.02 kB / 480.6 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/0.8758, allocations: 124.8 kB / 480.7 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.8759, allocations: 20 kB / 480.8 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008362/0.8767, allocations: 0.6695 MB / 481.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.863e-06/0.8768, allocations: 3.938 kB / 481.4 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.8781, allocations: 0.6414 MB / 482.1 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006197/0.8787, allocations: 282.7 kB / 482.4 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.879, allocations: 8 kB / 482.4 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006805/0.8797, allocations: 43.95 kB / 482.4 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.8798, allocations: 47.89 kB / 482.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.448e-05/0.8799, allocations: 19.98 kB / 482.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001963/0.8819, allocations: 0.9275 MB / 483.4 MB, free: 2.758 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.188e-06/0.8819, allocations: 4 kB / 483.4 MB, free: 2.754 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001551/0.8835, allocations: 363.7 kB / 483.8 MB, free: 2.398 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/0.8848, allocations: 0.6334 MB / 484.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.886, allocations: 408.5 kB / 484.8 MB, free: 1.352 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.573e-06/0.886, allocations: 4.375 kB / 484.8 MB, free: 1.348 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005797/0.8866, allocations: 239.2 kB / 485 MB, free: 1.102 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.8891, allocations: 239 kB / 485.3 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006803/0.8959, allocations: 1.521 MB / 486.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/0.8976, allocations: 1.187 MB / 488 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001682/0.8994, allocations: 174.5 kB / 488.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/0.8997, allocations: 83.38 kB / 488.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of SimCode: time 2.288e-06/0.8998, allocations: 0 / 488.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of Templates: time 0.329/1.229, allocations: 19.98 MB / 0.4963 GB, free: 80.07 MB / 346.7 MB