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.2_cpp_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.473e-05, allocations: 3.906 kB / 258.8 MB, free: 8.715 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3295, allocations: 44.51 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.02899/0.3585, allocations: 19.6 MB / 322.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.03369/0.3923, allocations: 17.85 MB / 340.7 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004933/0.3973, allocations: 67.62 kB / 340.8 MB, free: 8.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004857/0.4022, allocations: 1.118 MB / 341.9 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.4138, allocations: 2.613 MB / 344.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004966/0.4188, allocations: 1.11 MB / 345.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.03615/0.455, allocations: 10.89 MB / 356.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.4566, allocations: 247.2 kB / 356.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004364/0.461, allocations: 1.32 MB / 358.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005392/0.4664, allocations: 1.633 MB / 359.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009203/0.4757, allocations: 1.238 MB / 361 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001294/0.4771, allocations: 104 kB / 361.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.4783, allocations: 0.5001 MB / 361.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003159/0.4815, allocations: 0.4922 MB / 362.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0112/0.4928, allocations: 4.644 MB / 366.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4928, allocations: 4 kB / 366.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.005e-05/0.4929, allocations: 3.984 kB / 366.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002459/0.4931, allocations: 3.938 kB / 366.7 MB, free: 14.12 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01055/0.5037, allocations: 4.539 MB / 371.3 MB, free: 9.516 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.5038, allocations: 8.031 kB / 371.3 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.5056, allocations: 0.7448 MB / 372 MB, free: 8.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01268/0.5183, allocations: 4.305 MB / 376.3 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.595e-05/0.5184, allocations: 69.94 kB / 376.4 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004324/0.5189, allocations: 103.8 kB / 376.5 MB, free: 4.195 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003935/0.5228, allocations: 1.317 MB / 377.8 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.5229, allocations: 0 / 377.8 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002725/0.5232, allocations: 36 kB / 377.8 MB, free: 2.824 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.767e-05/0.5233, allocations: 35.98 kB / 377.9 MB, free: 2.789 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006257/0.5296, allocations: 1.527 MB / 379.4 MB, free: 1.262 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02334/0.553, allocations: 5.629 MB / 385 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004448/0.5575, allocations: 1.028 MB / 386.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3733/0.9308, allocations: 60.24 MB / 446.3 MB, free: 90.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001564/0.9324, allocations: 0.577 MB / 446.9 MB, free: 90.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=85): time 5.049e-06/0.9325, allocations: 0 / 446.9 MB, free: 90.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.005923/0.9384, allocations: 2.581 MB / 449.5 MB, free: 88.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.9385, allocations: 60.89 kB / 449.5 MB, free: 88.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009557/0.9481, allocations: 4.672 MB / 454.2 MB, free: 84.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002645/0.9484, allocations: 37.7 kB / 454.2 MB, free: 84.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002634/0.9511, allocations: 2.365 MB / 456.6 MB, free: 82.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004976/0.9516, allocations: 304 kB / 456.9 MB, free: 82.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.9517, allocations: 35.84 kB / 456.9 MB, free: 82.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.9518, allocations: 362.8 kB / 457.3 MB, free: 81.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.9532, allocations: 423 kB / 457.7 MB, free: 81.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.9549, allocations: 1.098 MB / 458.8 MB, free: 79.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.9566, allocations: 0.5706 MB / 459.4 MB, free: 79.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-05/0.9567, allocations: 4 kB / 459.4 MB, free: 79.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004378/0.9611, allocations: 1.641 MB / 461 MB, free: 77.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.9612, allocations: 16 kB / 461 MB, free: 77.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002799/0.9615, allocations: 160 kB / 461.2 MB, free: 77.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.205e-05/0.9615, allocations: 36 kB / 461.2 MB, free: 77.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/0.9638, allocations: 371 kB / 461.6 MB, free: 77.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.153e-05/0.9639, allocations: 51.75 kB / 461.6 MB, free: 77.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/0.967, allocations: 201.3 kB / 461.8 MB, free: 76.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000419/0.9675, allocations: 124 kB / 461.9 MB, free: 76.76 MB / 362.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.002159/0.9697, allocations: 0.7043 MB / 462.6 MB, free: 76.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/0.971, allocations: 0.7218 MB / 463.4 MB, free: 75.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00875/0.9798, allocations: 2.248 MB / 465.6 MB, free: 73.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.9798, allocations: 8 kB / 465.6 MB, free: 73.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.9799, allocations: 0 / 465.6 MB, free: 73.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.9799, allocations: 12.81 kB / 465.6 MB, free: 73.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009275/0.9892, allocations: 3.647 MB / 469.3 MB, free: 69.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002641/0.9895, allocations: 144 kB / 469.4 MB, free: 69.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.9909, allocations: 159.8 kB / 469.6 MB, free: 69.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.725e-05/0.991, allocations: 7.953 kB / 469.6 MB, free: 69.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002536/0.9913, allocations: 63.98 kB / 469.6 MB, free: 69.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/0.9913, allocations: 5 kB / 469.7 MB, free: 69.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.9913, allocations: 1.312 kB / 469.7 MB, free: 69.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006035/0.9973, allocations: 2.319 MB / 472 MB, free: 66.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002219/0.9996, allocations: 0.8044 MB / 472.8 MB, free: 65.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001535/1.001, allocations: 19.98 kB / 472.8 MB, free: 65.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002756/1.004, allocations: 39.97 kB / 472.8 MB, free: 65.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004542/1.005, allocations: 100.5 kB / 472.9 MB, free: 65.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/1.005, allocations: 74.56 kB / 473 MB, free: 65.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.008001/1.013, allocations: 3.567 MB / 476.6 MB, free: 62.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.013, allocations: 3.828 kB / 476.6 MB, free: 62.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003695/1.017, allocations: 1.076 MB / 477.7 MB, free: 61.08 MB / 362.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.002533/1.019, allocations: 1.107 MB / 478.8 MB, free: 60.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004278/1.023, allocations: 1.463 MB / 480.2 MB, free: 58.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.024, allocations: 4.125 kB / 480.2 MB, free: 58.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002056/1.026, allocations: 0.798 MB / 481 MB, free: 57.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005539/1.031, allocations: 0.9295 MB / 482 MB, free: 56.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/1.049, allocations: 9.283 MB / 491.2 MB, free: 47.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003527/1.053, allocations: 2.726 MB / 494 MB, free: 44.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009264/1.054, allocations: 295.4 kB / 494.3 MB, free: 44.57 MB / 362.7 MB Notification: Performance of SimCode: time 2.294e-06/1.054, allocations: 0 / 494.3 MB, free: 44.57 MB / 362.7 MB Notification: Performance of Templates: time 0.1472/1.201, allocations: 67.77 MB / 0.5488 GB, free: 8.719 MB / 394.7 MB