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_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadModel(Modelica): time 1.914/1.914, allocations: 225.8 MB / 239.4 MB, free: 1.25 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.924e-05, allocations: 4 kB / 292.7 MB, free: 11.46 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.08999, allocations: 50.4 MB / 343.1 MB, free: 9.066 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.4741, allocations: 104.3 MB / 447.4 MB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4744, allocations: 73.2 kB / 447.5 MB, free: 1.586 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9294/1.404, allocations: 219.8 MB / 0.6516 GB, free: 42.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.874e-06/1.404, allocations: 0 / 0.6516 GB, free: 42.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002231/1.404, allocations: 87.28 kB / 0.6517 GB, free: 42.1 MB / 442.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.007105/1.411, allocations: 4.664 MB / 0.6563 GB, free: 38.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.411, allocations: 7.875 kB / 0.6563 GB, free: 38.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/1.412, allocations: 0.7438 MB / 0.657 GB, free: 38.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008561/1.421, allocations: 4.472 MB / 0.6614 GB, free: 35.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.397e-05/1.421, allocations: 64.09 kB / 0.6614 GB, free: 35.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002818/1.421, allocations: 112.6 kB / 0.6615 GB, free: 35.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/1.424, allocations: 1.437 MB / 0.6629 GB, free: 34.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/1.424, allocations: 0 / 0.6629 GB, free: 34.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/1.424, allocations: 35.62 kB / 0.663 GB, free: 34.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/1.424, allocations: 41.91 kB / 0.663 GB, free: 34.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/1.427, allocations: 1.347 MB / 0.6643 GB, free: 34.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01594/1.443, allocations: 5.844 MB / 0.67 GB, free: 30.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/1.445, allocations: 0.8717 MB / 0.6709 GB, free: 29.87 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002856/1.448, allocations: 1.159 MB / 0.672 GB, free: 29.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4022/1.85, allocations: 71.68 MB / 0.742 GB, free: 86.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/1.851, allocations: 0.5006 MB / 0.7425 GB, free: 86.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=85): time 4.636e-06/1.851, allocations: 0 / 0.7425 GB, free: 86.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=85): time 0.00284/1.854, allocations: 1.456 MB / 0.7439 GB, free: 86.01 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.854, allocations: 481.4 kB / 0.7444 GB, free: 85.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008449/1.863, allocations: 4.766 MB / 0.749 GB, free: 84.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001597/1.863, allocations: 43.33 kB / 0.7491 GB, free: 84.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002717/1.866, allocations: 2.945 MB / 0.752 GB, free: 84.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/1.866, allocations: 290.6 kB / 0.7522 GB, free: 84.47 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/1.866, allocations: 31.84 kB / 0.7523 GB, free: 84.47 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.911e-05/1.866, allocations: 371.1 kB / 0.7526 GB, free: 84.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007438/1.867, allocations: 345.4 kB / 0.753 GB, free: 84.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/1.868, allocations: 1.109 MB / 0.754 GB, free: 83.17 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/1.869, allocations: 0.5179 MB / 0.7545 GB, free: 83.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-05/1.869, allocations: 8 kB / 0.7545 GB, free: 83.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00365/1.873, allocations: 2.032 MB / 0.7565 GB, free: 82.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/1.873, allocations: 15.09 kB / 0.7565 GB, free: 82.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002268/1.873, allocations: 159.6 kB / 0.7567 GB, free: 82.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.773e-05/1.873, allocations: 38.91 kB / 0.7567 GB, free: 82.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.875, allocations: 363.6 kB / 0.7571 GB, free: 82.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.68e-05/1.875, allocations: 52.84 kB / 0.7571 GB, free: 82.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/1.878, allocations: 204.9 kB / 0.7573 GB, free: 82.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/1.878, allocations: 129.7 kB / 0.7575 GB, free: 82.71 MB / 474.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.0003264/1.879, allocations: 211.3 kB / 0.7577 GB, free: 82.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007125/1.879, allocations: 0.7222 MB / 0.7584 GB, free: 82.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006934/1.886, allocations: 2.126 MB / 0.7604 GB, free: 82.11 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/1.886, allocations: 10.97 kB / 0.7604 GB, free: 82.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.637e-06/1.886, allocations: 3.328 kB / 0.7604 GB, free: 82.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/1.886, allocations: 3.516 kB / 0.7605 GB, free: 82.11 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007152/1.893, allocations: 3.71 MB / 0.7641 GB, free: 81.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002068/1.894, allocations: 138.5 kB / 0.7642 GB, free: 81.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.895, allocations: 163.5 kB / 0.7644 GB, free: 81.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/1.895, allocations: 3.312 kB / 0.7644 GB, free: 81.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/1.895, allocations: 62.98 kB / 0.7644 GB, free: 81.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.367e-06/1.895, allocations: 3.969 kB / 0.7644 GB, free: 81.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.654e-06/1.895, allocations: 0 / 0.7644 GB, free: 81.65 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/1.899, allocations: 2.09 MB / 0.7665 GB, free: 80.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002008/1.901, allocations: 0.9347 MB / 0.7674 GB, free: 80.42 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008527/1.901, allocations: 19.34 kB / 0.7674 GB, free: 80.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/1.904, allocations: 56.97 kB / 0.7675 GB, free: 80.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/1.904, allocations: 102.4 kB / 0.7676 GB, free: 80.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/1.904, allocations: 70.33 kB / 0.7676 GB, free: 80.42 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006902/1.911, allocations: 3.616 MB / 0.7712 GB, free: 80.13 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.051e-06/1.911, allocations: 0 / 0.7712 GB, free: 80.13 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003546/1.915, allocations: 1.169 MB / 0.7723 GB, free: 80.11 MB / 474.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.001933/1.917, allocations: 1.229 MB / 0.7735 GB, free: 80.01 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00225/1.919, allocations: 1.282 MB / 0.7747 GB, free: 79.74 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/1.919, allocations: 9.078 kB / 0.7748 GB, free: 79.74 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/1.92, allocations: 0.7083 MB / 0.7754 GB, free: 79.49 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005427/1.925, allocations: 1.155 MB / 0.7766 GB, free: 79.42 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/1.936, allocations: 6.005 MB / 0.7824 GB, free: 77.56 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002278/1.938, allocations: 2.709 MB / 0.7851 GB, free: 76.78 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003607/1.942, allocations: 0.7322 MB / 0.7858 GB, free: 76.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005989/1.942, allocations: 305.9 kB / 0.7861 GB, free: 76.72 MB / 474.7 MB Notification: Performance of SimCode: time 1.602e-06/1.942, allocations: 0.9375 kB / 0.7861 GB, free: 76.72 MB / 474.7 MB Notification: Performance of Templates: time 0.1417/2.084, allocations: 55.77 MB / 0.8406 GB, free: 53.77 MB / 474.7 MB