Running command: translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadModel(Modelica): time 1.814/1.814, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.694e-05, allocations: 4 kB / 269.4 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08237/0.08242, allocations: 47.57 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3988/0.4813, allocations: 102.4 MB / 419.3 MB, free: 2.082 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.4816, allocations: 69.7 kB / 419.3 MB, free: 2.047 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7946/1.276, allocations: 193.5 MB / 0.5985 GB, free: 74.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.122e-06/1.276, allocations: 0 / 0.5985 GB, free: 74.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002457/1.276, allocations: 92 kB / 0.5986 GB, free: 74.18 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.006748/1.283, allocations: 4.66 MB / 0.6031 GB, free: 69.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/1.283, allocations: 12.03 kB / 0.6031 GB, free: 69.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008621/1.284, allocations: 0.7565 MB / 0.6039 GB, free: 68.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/1.295, allocations: 4.509 MB / 0.6083 GB, free: 64.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/1.295, allocations: 73.94 kB / 0.6083 GB, free: 64.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004965/1.295, allocations: 95.91 kB / 0.6084 GB, free: 63.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/1.3, allocations: 1.449 MB / 0.6098 GB, free: 62.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.267e-05/1.3, allocations: 0 / 0.6098 GB, free: 62.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/1.3, allocations: 40 kB / 0.6099 GB, free: 62.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.134e-05/1.3, allocations: 35.97 kB / 0.6099 GB, free: 62.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004371/1.305, allocations: 1.352 MB / 0.6112 GB, free: 60.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/1.317, allocations: 5.865 MB / 0.617 GB, free: 55.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/1.318, allocations: 0.8785 MB / 0.6178 GB, free: 54.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/1.32, allocations: 1.156 MB / 0.6189 GB, free: 52.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3202/1.64, allocations: 71.88 MB / 0.6891 GB, free: 90.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001724/1.642, allocations: 0.5059 MB / 0.6896 GB, free: 90.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=85): time 8.039e-06/1.642, allocations: 0 / 0.6896 GB, free: 90.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.003192/1.645, allocations: 1.468 MB / 0.6911 GB, free: 90.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.645, allocations: 482 kB / 0.6915 GB, free: 89.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009184/1.654, allocations: 4.793 MB / 0.6962 GB, free: 89.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001964/1.654, allocations: 40.48 kB / 0.6962 GB, free: 89.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002714/1.657, allocations: 2.943 MB / 0.6991 GB, free: 88.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003783/1.658, allocations: 302.4 kB / 0.6994 GB, free: 88.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/1.658, allocations: 28.5 kB / 0.6994 GB, free: 88.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/1.658, allocations: 370.4 kB / 0.6998 GB, free: 88.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008205/1.659, allocations: 345.5 kB / 0.7001 GB, free: 88.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/1.66, allocations: 1.116 MB / 0.7012 GB, free: 87.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/1.661, allocations: 0.5128 MB / 0.7017 GB, free: 87.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/1.661, allocations: 6.719 kB / 0.7017 GB, free: 87.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003899/1.665, allocations: 2.028 MB / 0.7037 GB, free: 86.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/1.665, allocations: 15.94 kB / 0.7037 GB, free: 86.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002319/1.665, allocations: 164.8 kB / 0.7039 GB, free: 86.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.904e-05/1.665, allocations: 38.06 kB / 0.7039 GB, free: 86.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/1.667, allocations: 364.1 kB / 0.7043 GB, free: 86.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.199e-05/1.667, allocations: 49.31 kB / 0.7043 GB, free: 86.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/1.67, allocations: 211.2 kB / 0.7045 GB, free: 86.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/1.67, allocations: 123.1 kB / 0.7046 GB, free: 86.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000345/1.67, allocations: 221.6 kB / 0.7048 GB, free: 86.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007879/1.671, allocations: 0.7269 MB / 0.7055 GB, free: 86.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007121/1.678, allocations: 2.133 MB / 0.7076 GB, free: 86.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/1.678, allocations: 13.12 kB / 0.7076 GB, free: 86.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.681e-06/1.678, allocations: 0.5 kB / 0.7076 GB, free: 86.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/1.678, allocations: 3.562 kB / 0.7076 GB, free: 86.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007466/1.686, allocations: 3.728 MB / 0.7113 GB, free: 85.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002081/1.686, allocations: 137.3 kB / 0.7114 GB, free: 85.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/1.687, allocations: 169.9 kB / 0.7116 GB, free: 85.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/1.687, allocations: 2.969 kB / 0.7116 GB, free: 85.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.687, allocations: 58.78 kB / 0.7116 GB, free: 85.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.008e-06/1.687, allocations: 3.719 kB / 0.7116 GB, free: 85.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.73e-06/1.687, allocations: 0 / 0.7116 GB, free: 85.69 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/1.691, allocations: 2.103 MB / 0.7137 GB, free: 84.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002085/1.693, allocations: 0.9411 MB / 0.7146 GB, free: 84.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009087/1.694, allocations: 19.36 kB / 0.7146 GB, free: 84.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/1.696, allocations: 53.2 kB / 0.7147 GB, free: 84.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/1.696, allocations: 98.14 kB / 0.7148 GB, free: 84.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/1.696, allocations: 71.56 kB / 0.7148 GB, free: 84.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006762/1.703, allocations: 3.636 MB / 0.7184 GB, free: 84.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.047e-06/1.703, allocations: 0 / 0.7184 GB, free: 84.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003551/1.707, allocations: 1.179 MB / 0.7195 GB, free: 84.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.vinternal) * 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 (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002069/1.709, allocations: 1.244 MB / 0.7208 GB, free: 84.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002352/1.711, allocations: 1.291 MB / 0.722 GB, free: 83.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.448e-06/1.711, allocations: 1.969 kB / 0.722 GB, free: 83.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/1.712, allocations: 0.7111 MB / 0.7227 GB, free: 83.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004148/1.717, allocations: 0.9652 MB / 0.7237 GB, free: 83.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/1.727, allocations: 6.037 MB / 0.7296 GB, free: 81.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002267/1.73, allocations: 2.722 MB / 0.7322 GB, free: 80.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003457/1.733, allocations: 0.7323 MB / 0.7329 GB, free: 80.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005896/1.734, allocations: 306.7 kB / 0.7332 GB, free: 80.76 MB / 442.7 MB Notification: Performance of SimCode: time 1.681e-06/1.734, allocations: 0 / 0.7332 GB, free: 80.76 MB / 442.7 MB Notification: Performance of Templates: time 0.1322/1.866, allocations: 55.89 MB / 0.7878 GB, free: 43.1 MB / 442.7 MB