Running command: translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Inverter") Notification: Performance of loadModel(Modelica): time 1.8/1.8, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.616e-05/2.623e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08089/0.08093, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3608/0.4418, allocations: 101.9 MB / 418.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.4421, allocations: 78.27 kB / 418.9 MB, free: 2.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2673/0.7094, allocations: 89.44 MB / 0.4964 GB, free: 15.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.899e-06/0.7094, allocations: 0 / 0.4964 GB, free: 15.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.503e-05/0.7095, allocations: 24 kB / 0.4964 GB, free: 15.42 MB / 426.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.003194/0.7127, allocations: 1.617 MB / 0.498 GB, free: 13.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.7127, allocations: 8.031 kB / 0.498 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.713, allocations: 193.7 kB / 0.4982 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.7155, allocations: 1.223 MB / 0.4994 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.7156, allocations: 24.52 kB / 0.4994 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.7157, allocations: 31.91 kB / 0.4994 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009549/0.7166, allocations: 434.5 kB / 0.4999 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.7167, allocations: 0 / 0.4999 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.649e-05/0.7168, allocations: 12 kB / 0.4999 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.7168, allocations: 12 kB / 0.4999 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008467/0.7176, allocations: 377.2 kB / 0.5002 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003703/0.7214, allocations: 1.658 MB / 0.5019 GB, free: 9.641 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/0.722, allocations: 271.3 kB / 0.5021 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/0.7227, allocations: 362 kB / 0.5025 GB, free: 9.012 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2458/0.9685, allocations: 18.17 MB / 0.5202 GB, free: 97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004613/0.969, allocations: 209 kB / 0.5204 GB, free: 96.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.445e-06/0.969, allocations: 1.781 kB / 0.5204 GB, free: 96.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.001074/0.9701, allocations: 498.3 kB / 0.5209 GB, free: 96.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.9702, allocations: 169.5 kB / 0.521 GB, free: 96.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.9722, allocations: 1.206 MB / 0.5222 GB, free: 96.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.9723, allocations: 33.44 kB / 0.5223 GB, free: 96.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006626/0.973, allocations: 0.723 MB / 0.523 GB, free: 96.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.615e-05/0.9731, allocations: 89.66 kB / 0.5231 GB, free: 96.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.9731, allocations: 10.56 kB / 0.5231 GB, free: 96.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.9732, allocations: 328.8 kB / 0.5234 GB, free: 95.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.9735, allocations: 106.9 kB / 0.5235 GB, free: 95.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.9739, allocations: 330.3 kB / 0.5238 GB, free: 95.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.9743, allocations: 157.7 kB / 0.5239 GB, free: 95.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.868e-06/0.9743, allocations: 1.375 kB / 0.5239 GB, free: 95.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00128/0.9756, allocations: 0.6401 MB / 0.5246 GB, free: 95.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.9756, allocations: 7.281 kB / 0.5246 GB, free: 95.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.143e-05/0.9757, allocations: 45.59 kB / 0.5246 GB, free: 95.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003805/0.9761, allocations: 134.5 kB / 0.5247 GB, free: 95.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.9767, allocations: 118 kB / 0.5249 GB, free: 95.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006405/0.9773, allocations: 0.6794 MB / 0.5255 GB, free: 94.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008213/0.9782, allocations: 84.11 kB / 0.5256 GB, free: 94.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.482e-05/0.9783, allocations: 38.53 kB / 0.5256 GB, free: 94.95 MB / 426.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.0001559/0.9784, allocations: 140.3 kB / 0.5258 GB, free: 94.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.9787, allocations: 190 kB / 0.526 GB, free: 94.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.9808, allocations: 0.6841 MB / 0.5266 GB, free: 94.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.9808, allocations: 3.188 kB / 0.5266 GB, free: 94.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.735e-06/0.9809, allocations: 0.9844 kB / 0.5266 GB, free: 94.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.538e-06/0.9809, allocations: 2.062 kB / 0.5266 GB, free: 94.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.9831, allocations: 1.246 MB / 0.5278 GB, free: 94.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.406e-05/0.9832, allocations: 33.31 kB / 0.5279 GB, free: 94.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/0.9835, allocations: 59.27 kB / 0.5279 GB, free: 94.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003161/0.9838, allocations: 133.7 kB / 0.5281 GB, free: 94.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.9839, allocations: 17.28 kB / 0.5281 GB, free: 94.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005984/0.9845, allocations: 0.6615 MB / 0.5287 GB, free: 93.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.9845, allocations: 4.656 kB / 0.5287 GB, free: 93.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009651/0.9855, allocations: 0.6369 MB / 0.5294 GB, free: 93.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004283/0.986, allocations: 291.7 kB / 0.5296 GB, free: 93.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.9862, allocations: 9.5 kB / 0.5296 GB, free: 93.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006476/0.9869, allocations: 43.42 kB / 0.5297 GB, free: 93.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.987, allocations: 52.25 kB / 0.5297 GB, free: 93.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.029e-05/0.9871, allocations: 17.88 kB / 0.5297 GB, free: 93.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001527/0.9886, allocations: 0.9328 MB / 0.5307 GB, free: 93.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.9886, allocations: 0 / 0.5307 GB, free: 93.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001217/0.9899, allocations: 375.9 kB / 0.531 GB, free: 93.12 MB / 426.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.0009738/0.9909, allocations: 0.6354 MB / 0.5316 GB, free: 93.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000892/0.9918, allocations: 406.9 kB / 0.532 GB, free: 92.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.9918, allocations: 0 / 0.532 GB, free: 92.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.9923, allocations: 240.7 kB / 0.5323 GB, free: 92.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009273/0.9932, allocations: 242.6 kB / 0.5325 GB, free: 92.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.9961, allocations: 1.518 MB / 0.534 GB, free: 92.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006508/0.9967, allocations: 1.188 MB / 0.5351 GB, free: 91.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007823/0.9975, allocations: 175.5 kB / 0.5353 GB, free: 91.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.9977, allocations: 85.27 kB / 0.5354 GB, free: 91.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.617e-06/0.9977, allocations: 0 / 0.5354 GB, free: 91.61 MB / 426.7 MB Notification: Performance of Templates: time 0.04291/1.041, allocations: 19.97 MB / 0.5549 GB, free: 90.45 MB / 426.7 MB