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_cpp_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 194.9 MB / 208.5 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.518e-05/2.527e-05, allocations: 0 / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0767/0.07675, allocations: 44.5 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3537/0.4305, allocations: 97.8 MB / 397.7 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.4308, allocations: 65.05 kB / 397.7 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6033/1.034, allocations: 127.2 MB / 0.5126 GB, free: 67.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.082e-06/1.034, allocations: 2.188 kB / 0.5126 GB, free: 67.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.851e-05/1.034, allocations: 46.44 kB / 0.5126 GB, free: 67.96 MB / 394.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.005235/1.039, allocations: 2.796 MB / 0.5154 GB, free: 66.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/1.04, allocations: 11.95 kB / 0.5154 GB, free: 66.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006885/1.04, allocations: 416 kB / 0.5158 GB, free: 66.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005167/1.045, allocations: 2.422 MB / 0.5181 GB, free: 65.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/1.046, allocations: 40.34 kB / 0.5182 GB, free: 65.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/1.046, allocations: 56.88 kB / 0.5182 GB, free: 65.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/1.047, allocations: 0.7781 MB / 0.519 GB, free: 65.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/1.047, allocations: 3.281 kB / 0.519 GB, free: 65.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/1.047, allocations: 20.53 kB / 0.519 GB, free: 65.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/1.048, allocations: 19.97 kB / 0.519 GB, free: 65.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/1.049, allocations: 0.7146 MB / 0.5197 GB, free: 65.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007384/1.056, allocations: 3.291 MB / 0.5229 GB, free: 65.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009594/1.057, allocations: 486.9 kB / 0.5234 GB, free: 65.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009549/1.058, allocations: 0.5952 MB / 0.524 GB, free: 65.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0364/1.095, allocations: 36.21 MB / 0.5593 GB, free: 38.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006062/1.096, allocations: 320.8 kB / 0.5597 GB, free: 38.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 3.905e-06/1.096, allocations: 0 / 0.5597 GB, free: 38.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.00162/1.097, allocations: 0.8204 MB / 0.5605 GB, free: 38.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/1.097, allocations: 267.5 kB / 0.5607 GB, free: 38.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004401/1.102, allocations: 2.665 MB / 0.5633 GB, free: 37.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/1.102, allocations: 38.7 kB / 0.5633 GB, free: 37.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/1.103, allocations: 1.299 MB / 0.5646 GB, free: 37.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/1.103, allocations: 165.5 kB / 0.5648 GB, free: 37.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/1.103, allocations: 17.31 kB / 0.5648 GB, free: 37.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.769e-05/1.103, allocations: 349.2 kB / 0.5651 GB, free: 37.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000463/1.104, allocations: 189 kB / 0.5653 GB, free: 37.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006294/1.104, allocations: 0.5909 MB / 0.5659 GB, free: 36.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006241/1.105, allocations: 286 kB / 0.5662 GB, free: 36.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.105, allocations: 3.344 kB / 0.5662 GB, free: 36.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001687/1.107, allocations: 0.7743 MB / 0.5669 GB, free: 36.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.107, allocations: 16.83 kB / 0.5669 GB, free: 36.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/1.107, allocations: 83.69 kB / 0.567 GB, free: 36.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.702e-05/1.107, allocations: 19 kB / 0.567 GB, free: 36.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009151/1.108, allocations: 212.1 kB / 0.5672 GB, free: 36.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.772e-05/1.108, allocations: 24.09 kB / 0.5673 GB, free: 36.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/1.11, allocations: 128 kB / 0.5674 GB, free: 36.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/1.11, allocations: 64.44 kB / 0.5674 GB, free: 36.45 MB / 394.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.0002233/1.11, allocations: 176.1 kB / 0.5676 GB, free: 36.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004263/1.111, allocations: 400.2 kB / 0.568 GB, free: 36.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/1.115, allocations: 1.166 MB / 0.5691 GB, free: 36.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/1.115, allocations: 3.625 kB / 0.5691 GB, free: 36.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.082e-06/1.115, allocations: 0 / 0.5691 GB, free: 36.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.115, allocations: 7.781 kB / 0.5691 GB, free: 36.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004161/1.119, allocations: 2.199 MB / 0.5713 GB, free: 35.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001085/1.119, allocations: 71.44 kB / 0.5713 GB, free: 35.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006884/1.12, allocations: 101.1 kB / 0.5714 GB, free: 35.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.384e-06/1.12, allocations: 6.312 kB / 0.5715 GB, free: 35.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/1.12, allocations: 35 kB / 0.5715 GB, free: 35.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.38e-06/1.12, allocations: 3.781 kB / 0.5715 GB, free: 35.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.837e-06/1.12, allocations: 0 / 0.5715 GB, free: 35.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/1.122, allocations: 1.23 MB / 0.5727 GB, free: 35.19 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.123, allocations: 0.5136 MB / 0.5732 GB, free: 34.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005007/1.123, allocations: 17.23 kB / 0.5732 GB, free: 34.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.125, allocations: 51.42 kB / 0.5733 GB, free: 34.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/1.125, allocations: 62.31 kB / 0.5733 GB, free: 34.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.146e-05/1.125, allocations: 38.14 kB / 0.5734 GB, free: 34.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003476/1.128, allocations: 2.029 MB / 0.5753 GB, free: 34.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.128, allocations: 0 / 0.5753 GB, free: 34.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002166/1.131, allocations: 0.6704 MB / 0.576 GB, free: 34.6 MB / 394.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.001363/1.132, allocations: 0.8793 MB / 0.5768 GB, free: 34.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001284/1.133, allocations: 0.6859 MB / 0.5775 GB, free: 34.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.466e-06/1.133, allocations: 2.375 kB / 0.5775 GB, free: 34.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006134/1.134, allocations: 399.8 kB / 0.5779 GB, free: 34.19 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/1.136, allocations: 0.5231 MB / 0.5784 GB, free: 34.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005964/1.142, allocations: 3.349 MB / 0.5817 GB, free: 33.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/1.144, allocations: 1.782 MB / 0.5834 GB, free: 32.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/1.144, allocations: 168 kB / 0.5836 GB, free: 32.33 MB / 394.7 MB Notification: Performance of SimCode: time 2.292e-06/1.144, allocations: 0 / 0.5836 GB, free: 32.33 MB / 394.7 MB Notification: Performance of Templates: time 0.05737/1.202, allocations: 38.1 MB / 0.6208 GB, free: 13.99 MB / 394.7 MB