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 2.052/2.052, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.963e-05, allocations: 4 kB / 249.6 MB, free: 15.31 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2496, allocations: 44.5 MB / 294.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.4391, allocations: 97.14 MB / 391.2 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4394, allocations: 71.97 kB / 391.3 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5541/0.9935, allocations: 121.9 MB / 0.5012 GB, free: 35.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.293e-06/0.9935, allocations: 4 kB / 0.5012 GB, free: 35.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.537e-05/0.9936, allocations: 44 kB / 0.5012 GB, free: 35.46 MB / 362.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.005469/0.9991, allocations: 2.8 MB / 0.5039 GB, free: 32.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.9992, allocations: 8.031 kB / 0.504 GB, free: 32.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006883/0.9999, allocations: 414.9 kB / 0.5043 GB, free: 32.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005372/1.005, allocations: 2.426 MB / 0.5067 GB, free: 29.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/1.005, allocations: 19.98 kB / 0.5067 GB, free: 29.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/1.006, allocations: 35.91 kB / 0.5068 GB, free: 29.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001307/1.007, allocations: 0.6861 MB / 0.5074 GB, free: 28.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/1.008, allocations: 0.7284 MB / 0.5082 GB, free: 28.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/1.008, allocations: 0 / 0.5082 GB, free: 28.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.402e-05/1.008, allocations: 0 / 0.5082 GB, free: 28.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/1.008, allocations: 23.98 kB / 0.5082 GB, free: 28.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006859/1.015, allocations: 3.171 MB / 0.5113 GB, free: 24.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008698/1.016, allocations: 475.8 kB / 0.5117 GB, free: 24.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007906/1.017, allocations: 0.5732 MB / 0.5123 GB, free: 23.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04252/1.059, allocations: 36.18 MB / 0.5476 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006711/1.06, allocations: 313.2 kB / 0.5479 GB, free: 14.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 4.674e-06/1.06, allocations: 0 / 0.5479 GB, free: 14.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.001993/1.062, allocations: 0.7936 MB / 0.5487 GB, free: 13.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00018/1.062, allocations: 273 kB / 0.549 GB, free: 13.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005503/1.068, allocations: 2.453 MB / 0.5513 GB, free: 10.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/1.068, allocations: 29.7 kB / 0.5514 GB, free: 10.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001794/1.07, allocations: 1.298 MB / 0.5526 GB, free: 9.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/1.07, allocations: 169.6 kB / 0.5528 GB, free: 9.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/1.07, allocations: 0 / 0.5528 GB, free: 9.148 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002056/1.071, allocations: 346.8 kB / 0.5531 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/1.071, allocations: 170.6 kB / 0.5533 GB, free: 8.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008425/1.072, allocations: 0.5863 MB / 0.5539 GB, free: 7.848 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006792/1.073, allocations: 252.5 kB / 0.5541 GB, free: 7.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/1.073, allocations: 4 kB / 0.5541 GB, free: 7.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001826/1.074, allocations: 0.7254 MB / 0.5548 GB, free: 6.863 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/1.075, allocations: 14.03 kB / 0.5548 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001627/1.075, allocations: 79.98 kB / 0.5549 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.28e-05/1.075, allocations: 24.7 kB / 0.5549 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009533/1.076, allocations: 211.7 kB / 0.5551 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.934e-05/1.076, allocations: 27.86 kB / 0.5552 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/1.078, allocations: 107 kB / 0.5553 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/1.078, allocations: 64 kB / 0.5553 GB, free: 6.348 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.0002804/1.078, allocations: 144.6 kB / 0.5555 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008164/1.079, allocations: 403.1 kB / 0.5559 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004447/1.084, allocations: 1.133 MB / 0.557 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/1.084, allocations: 11.94 kB / 0.557 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.084, allocations: 0 / 0.557 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.455e-06/1.084, allocations: 4 kB / 0.557 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/1.09, allocations: 2.094 MB / 0.559 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001484/1.09, allocations: 67.98 kB / 0.5591 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/1.09, allocations: 115.8 kB / 0.5592 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/1.09, allocations: 3.953 kB / 0.5592 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.301e-05/1.091, allocations: 24 kB / 0.5592 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.441e-06/1.091, allocations: 4 kB / 0.5592 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.922e-06/1.091, allocations: 0 / 0.5592 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/1.093, allocations: 1.209 MB / 0.5604 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.095, allocations: 0.5117 MB / 0.5609 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006852/1.095, allocations: 8 kB / 0.5609 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/1.097, allocations: 44.02 kB / 0.561 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/1.097, allocations: 55.94 kB / 0.561 GB, free: 400 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.097, allocations: 39.98 kB / 0.561 GB, free: 360 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.2315/1.328, allocations: 1.815 MB / 0.5628 GB, free: 86.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.335e-06/1.328, allocations: 0 / 0.5628 GB, free: 86.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002521/1.331, allocations: 0.618 MB / 0.5634 GB, free: 86.89 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.001855/1.333, allocations: 0.9831 MB / 0.5644 GB, free: 86.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001446/1.334, allocations: 0.6663 MB / 0.565 GB, free: 86.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.909e-06/1.334, allocations: 0 / 0.565 GB, free: 86.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006382/1.335, allocations: 395.5 kB / 0.5654 GB, free: 86.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/1.338, allocations: 0.5108 MB / 0.5659 GB, free: 86.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007552/1.345, allocations: 3.338 MB / 0.5692 GB, free: 85.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/1.347, allocations: 1.781 MB / 0.5709 GB, free: 84.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/1.347, allocations: 166.7 kB / 0.5711 GB, free: 84.71 MB / 394.7 MB Notification: Performance of SimCode: time 1.967e-06/1.347, allocations: 0 / 0.5711 GB, free: 84.71 MB / 394.7 MB Notification: Performance of Templates: time 0.05924/1.406, allocations: 38.16 MB / 0.6083 GB, free: 79.8 MB / 394.7 MB