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.2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 194.9 MB / 210.6 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.922e-05, allocations: 7.906 kB / 258.8 MB, free: 7.867 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2866, allocations: 44.51 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01566/0.3024, allocations: 11.37 MB / 314.7 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02713/0.3295, allocations: 16.25 MB / 330.9 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/0.3318, allocations: 35.81 kB / 331 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003093/0.3349, allocations: 0.8233 MB / 331.8 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007468/0.3424, allocations: 1.818 MB / 333.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00393/0.3464, allocations: 0.981 MB / 334.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01423/0.3607, allocations: 5.612 MB / 340.2 MB, free: 8.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005031/0.3612, allocations: 134.7 kB / 340.3 MB, free: 8.469 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.3626, allocations: 0.7242 MB / 341.1 MB, free: 7.742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.3642, allocations: 0.8903 MB / 341.9 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005042/0.3692, allocations: 1.21 MB / 343.2 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005837/0.3698, allocations: 72 kB / 343.2 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000417/0.3703, allocations: 281.8 kB / 343.5 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009886/0.3713, allocations: 272 kB / 343.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004673/0.376, allocations: 2.795 MB / 346.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.376, allocations: 0 / 346.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.376, allocations: 0 / 346.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.15e-05/0.3761, allocations: 0 / 346.6 MB, free: 2.223 MB / 282.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.005532/0.3817, allocations: 2.65 MB / 349.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.3817, allocations: 8.031 kB / 349.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007359/0.3825, allocations: 418.9 kB / 349.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005712/0.3882, allocations: 2.316 MB / 351.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.3883, allocations: 37 kB / 352 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.3885, allocations: 48 kB / 352 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.3907, allocations: 0.7499 MB / 352.8 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.3907, allocations: 0 / 352.8 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.3909, allocations: 23.98 kB / 352.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.3909, allocations: 24 kB / 352.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/0.3936, allocations: 0.8592 MB / 353.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007869/0.4015, allocations: 3.122 MB / 356.8 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.4036, allocations: 0.6142 MB / 357.4 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0436/0.4472, allocations: 30.36 MB / 387.8 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/0.4485, allocations: 385.4 kB / 388.2 MB, free: 4.277 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 3.347e-06/0.4485, allocations: 0 / 388.2 MB, free: 4.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.003974/0.4525, allocations: 1.485 MB / 389.6 MB, free: 2.707 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.4526, allocations: 67.41 kB / 389.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004903/0.4575, allocations: 2.593 MB / 392.3 MB, free: 44 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.4577, allocations: 33.7 kB / 392.3 MB, free: 4 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00199/0.4597, allocations: 1.569 MB / 393.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/0.4599, allocations: 173.6 kB / 394.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/0.46, allocations: 16 kB / 394.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4602, allocations: 338 kB / 394.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.4612, allocations: 265.8 kB / 394.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.4625, allocations: 0.6138 MB / 395.3 MB, free: 12.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.4637, allocations: 344.5 kB / 395.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.4637, allocations: 0 / 395.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003528/0.4672, allocations: 1.28 MB / 396.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.4673, allocations: 15.89 kB / 396.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001778/0.4675, allocations: 87.98 kB / 397 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.896e-05/0.4675, allocations: 16.78 kB / 397 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.4689, allocations: 219.7 kB / 397.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.4e-05/0.4689, allocations: 27.86 kB / 397.3 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.4706, allocations: 122.9 kB / 397.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.4708, allocations: 68 kB / 397.5 MB, free: 10.68 MB / 346.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.001112/0.4719, allocations: 445.5 kB / 397.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005861/0.4725, allocations: 403.1 kB / 398.3 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004991/0.4775, allocations: 1.277 MB / 399.6 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.4775, allocations: 4 kB / 399.6 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.4776, allocations: 3.984 kB / 399.6 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.4776, allocations: 0 / 399.6 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005293/0.4829, allocations: 2.19 MB / 401.8 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001531/0.4831, allocations: 64 kB / 401.8 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008873/0.484, allocations: 103.9 kB / 401.9 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.484, allocations: 8.047 kB / 401.9 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.162e-05/0.4841, allocations: 32 kB / 402 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.4841, allocations: 0 / 402 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4841, allocations: 0 / 402 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00395/0.4881, allocations: 1.443 MB / 403.4 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.4892, allocations: 495.9 kB / 403.9 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006001/0.4898, allocations: 16 kB / 403.9 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.4911, allocations: 39.97 kB / 403.9 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.4913, allocations: 59.92 kB / 404 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.4915, allocations: 36 kB / 404 MB, free: 3.934 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004045/0.4955, allocations: 1.988 MB / 406 MB, free: 1.953 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4955, allocations: 0 / 406 MB, free: 1.953 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002075/0.4976, allocations: 0.6011 MB / 406.6 MB, free: 1.352 MB / 346.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.00149/0.4991, allocations: 0.7377 MB / 407.4 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002639/0.5018, allocations: 0.8568 MB / 408.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5018, allocations: 0 / 408.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.5031, allocations: 463.2 kB / 408.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/0.5058, allocations: 0.5032 MB / 409.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.5159, allocations: 5.129 MB / 414.3 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.5176, allocations: 1.781 MB / 416.1 MB, free: 7.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002075/0.5196, allocations: 357.4 kB / 416.4 MB, free: 7.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/0.52, allocations: 155.4 kB / 416.6 MB, free: 7.258 MB / 362.7 MB Notification: Performance of SimCode: time 3.035e-06/0.52, allocations: 0 / 416.6 MB, free: 7.258 MB / 362.7 MB Notification: Performance of Templates: time 0.4595/0.9795, allocations: 30.15 MB / 446.7 MB, free: 94.42 MB / 362.7 MB