Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadModel(Modelica): time 1.754/1.754, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.819e-05/2.827e-05, allocations: 4 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08353/0.08359, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01753/0.1012, allocations: 11.38 MB / 278.3 MB, free: 5.066 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.03172/0.1329, allocations: 16.24 MB / 294.5 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002778/0.1358, allocations: 35.81 kB / 294.6 MB, free: 4.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003813/0.1397, allocations: 0.8195 MB / 295.4 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008234/0.148, allocations: 1.818 MB / 297.2 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004325/0.1524, allocations: 0.9772 MB / 298.2 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.2399/0.3923, allocations: 5.608 MB / 303.8 MB, free: 6.371 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006133/0.3929, allocations: 133.3 kB / 303.9 MB, free: 6.363 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002405/0.3954, allocations: 0.7234 MB / 304.6 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002861/0.3983, allocations: 0.8945 MB / 305.5 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006838/0.4052, allocations: 1.205 MB / 306.7 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.4062, allocations: 74.34 kB / 306.8 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006651/0.4069, allocations: 276.1 kB / 307.1 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.4089, allocations: 273.7 kB / 307.4 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005949/0.4149, allocations: 2.794 MB / 310.1 MB, free: 6.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.415, allocations: 0 / 310.1 MB, free: 6.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.415, allocations: 0 / 310.1 MB, free: 6.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001718/0.4152, allocations: 0 / 310.1 MB, free: 6.02 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.006379/0.4215, allocations: 2.665 MB / 312.8 MB, free: 4.551 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4216, allocations: 9.062 kB / 312.8 MB, free: 4.551 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.4229, allocations: 415.2 kB / 313.2 MB, free: 4.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006227/0.4291, allocations: 2.307 MB / 315.5 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.4292, allocations: 39.31 kB / 315.6 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.4294, allocations: 57.44 kB / 315.6 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.4315, allocations: 0.746 MB / 316.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.4315, allocations: 2.75 kB / 316.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.4317, allocations: 21.58 kB / 316.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.4317, allocations: 20.56 kB / 316.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.4342, allocations: 0.861 MB / 317.3 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008565/0.4428, allocations: 3.124 MB / 320.4 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.445, allocations: 0.6131 MB / 321 MB, free: 2.473 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04772/0.4928, allocations: 30.36 MB / 351.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/0.4941, allocations: 390 kB / 351.8 MB, free: 3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 4.469e-06/0.4941, allocations: 0 / 351.8 MB, free: 3 MB / 282.7 MB Notification: Performance of matching and sorting (n=49): time 0.004503/0.4986, allocations: 1.486 MB / 353.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.4988, allocations: 63.17 kB / 353.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005644/0.5044, allocations: 2.585 MB / 355.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001773/0.5046, allocations: 40.31 kB / 355.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001729/0.5064, allocations: 1.571 MB / 357.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/0.5067, allocations: 171.7 kB / 357.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.5068, allocations: 20.88 kB / 357.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.507, allocations: 339.4 kB / 358 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.508, allocations: 259.2 kB / 358.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.5094, allocations: 0.6136 MB / 358.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.5105, allocations: 342 kB / 359.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.5106, allocations: 11.88 kB / 359.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003949/0.5145, allocations: 1.285 MB / 360.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.5146, allocations: 12 kB / 360.5 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000179/0.5148, allocations: 79.31 kB / 360.6 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.521e-05/0.5148, allocations: 20 kB / 360.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.5162, allocations: 212.3 kB / 360.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.396e-05/0.5163, allocations: 33.66 kB / 360.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.5184, allocations: 116.8 kB / 361 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.5186, allocations: 66.05 kB / 361 MB, free: 11.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001289/0.5199, allocations: 451 kB / 361.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009144/0.5209, allocations: 399.1 kB / 361.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005271/0.5261, allocations: 1.284 MB / 363.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.5262, allocations: 4 kB / 363.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.5262, allocations: 0 / 363.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.5262, allocations: 3.953 kB / 363.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006351/0.5326, allocations: 2.178 MB / 365.3 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001609/0.5328, allocations: 75.92 kB / 365.4 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009093/0.5337, allocations: 102.9 kB / 365.5 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.5337, allocations: 6.5 kB / 365.5 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.574e-05/0.5338, allocations: 35.95 kB / 365.6 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.5339, allocations: 4 kB / 365.6 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5339, allocations: 6.891 kB / 365.6 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004556/0.5384, allocations: 1.447 MB / 367 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001922/0.5404, allocations: 484 kB / 367.5 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001386/0.5419, allocations: 12 kB / 367.5 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/0.5441, allocations: 44.02 kB / 367.5 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003103/0.5445, allocations: 63.03 kB / 367.6 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.5446, allocations: 36 kB / 367.6 MB, free: 5.629 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00461/0.5492, allocations: 1.984 MB / 369.6 MB, free: 3.652 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.5493, allocations: 0 / 369.6 MB, free: 3.652 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002976/0.5523, allocations: 0.5973 MB / 370.2 MB, free: 3.055 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.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 (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001836/0.5542, allocations: 0.7414 MB / 371 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002974/0.5572, allocations: 0.8436 MB / 371.8 MB, free: 1.629 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5572, allocations: 0 / 371.8 MB, free: 1.629 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.5586, allocations: 471 kB / 372.3 MB, free: 1.152 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005543/0.5642, allocations: 0.4993 MB / 372.8 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/0.5821, allocations: 5.12 MB / 377.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002757/0.585, allocations: 1.788 MB / 379.7 MB, free: 9.676 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.003432/0.5885, allocations: 361.4 kB / 380 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/0.5891, allocations: 147.4 kB / 380.2 MB, free: 9.172 MB / 314.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5891, allocations: 0 / 380.2 MB, free: 9.172 MB / 314.7 MB Notification: Performance of Templates: time 0.1055/0.6947, allocations: 30.15 MB / 410.3 MB, free: 11.16 MB / 346.7 MB