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.831/1.831, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.651e-05, allocations: 0 / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07657/0.07662, allocations: 44.5 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3451/0.4218, allocations: 97.8 MB / 397.7 MB, free: 18.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.422, allocations: 69.58 kB / 397.8 MB, free: 18.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6456/1.068, allocations: 127.2 MB / 0.5126 GB, free: 68.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.524e-06/1.068, allocations: 0 / 0.5126 GB, free: 68.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.162e-05/1.068, allocations: 46.44 kB / 0.5127 GB, free: 68.4 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.005347/1.073, allocations: 2.8 MB / 0.5154 GB, free: 67.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.073, allocations: 11.33 kB / 0.5154 GB, free: 67.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006824/1.074, allocations: 415.7 kB / 0.5158 GB, free: 66.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005188/1.079, allocations: 2.43 MB / 0.5182 GB, free: 66.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/1.079, allocations: 36.09 kB / 0.5182 GB, free: 66.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/1.079, allocations: 57.5 kB / 0.5183 GB, free: 66.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/1.081, allocations: 0.7802 MB / 0.519 GB, free: 66.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/1.081, allocations: 0 / 0.519 GB, free: 66.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.081, allocations: 24.34 kB / 0.5191 GB, free: 66.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.917e-05/1.081, allocations: 20.81 kB / 0.5191 GB, free: 66.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/1.083, allocations: 0.7019 MB / 0.5198 GB, free: 66.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007336/1.09, allocations: 3.289 MB / 0.523 GB, free: 65.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009212/1.091, allocations: 481.9 kB / 0.5234 GB, free: 65.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009444/1.092, allocations: 0.5916 MB / 0.524 GB, free: 65.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03633/1.128, allocations: 36.22 MB / 0.5594 GB, free: 39.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006099/1.129, allocations: 317 kB / 0.5597 GB, free: 39.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 4.319e-06/1.129, allocations: 0 / 0.5597 GB, free: 39.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.001669/1.131, allocations: 0.8238 MB / 0.5605 GB, free: 38.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/1.131, allocations: 264 kB / 0.5607 GB, free: 38.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004364/1.135, allocations: 2.66 MB / 0.5633 GB, free: 38.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000108/1.135, allocations: 40.77 kB / 0.5634 GB, free: 38.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001479/1.137, allocations: 1.59 MB / 0.5649 GB, free: 37.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/1.137, allocations: 169.2 kB / 0.5651 GB, free: 37.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/1.137, allocations: 15.28 kB / 0.5651 GB, free: 37.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.407e-05/1.137, allocations: 334.9 kB / 0.5654 GB, free: 37.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004456/1.138, allocations: 193.2 kB / 0.5656 GB, free: 37.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/1.138, allocations: 0.5914 MB / 0.5662 GB, free: 37.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/1.139, allocations: 277.6 kB / 0.5664 GB, free: 37.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.7e-06/1.139, allocations: 4.625 kB / 0.5665 GB, free: 37.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002132/1.141, allocations: 1.113 MB / 0.5675 GB, free: 36.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/1.141, allocations: 13.17 kB / 0.5676 GB, free: 36.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/1.141, allocations: 81.48 kB / 0.5676 GB, free: 36.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.529e-05/1.141, allocations: 18.88 kB / 0.5676 GB, free: 36.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009091/1.142, allocations: 212.9 kB / 0.5678 GB, free: 36.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.626e-05/1.142, allocations: 32.7 kB / 0.5679 GB, free: 36.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/1.144, allocations: 123.7 kB / 0.568 GB, free: 36.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/1.144, allocations: 70.75 kB / 0.5681 GB, free: 36.78 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.0002078/1.144, allocations: 163.3 kB / 0.5682 GB, free: 36.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004381/1.145, allocations: 400.7 kB / 0.5686 GB, free: 36.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/1.149, allocations: 1.169 MB / 0.5697 GB, free: 36.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.149, allocations: 3.969 kB / 0.5697 GB, free: 36.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.33e-06/1.149, allocations: 0 / 0.5697 GB, free: 36.37 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.97e-06/1.149, allocations: 5.062 kB / 0.5698 GB, free: 36.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004483/1.153, allocations: 2.196 MB / 0.5719 GB, free: 35.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001052/1.153, allocations: 70.69 kB / 0.572 GB, free: 35.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006562/1.154, allocations: 107.2 kB / 0.5721 GB, free: 35.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.269e-06/1.154, allocations: 0 / 0.5721 GB, free: 35.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.52e-05/1.154, allocations: 35.59 kB / 0.5721 GB, free: 35.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.483e-06/1.154, allocations: 3.5 kB / 0.5721 GB, free: 35.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.881e-06/1.154, allocations: 0 / 0.5721 GB, free: 35.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/1.156, allocations: 1.234 MB / 0.5733 GB, free: 35.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.157, allocations: 0.5179 MB / 0.5738 GB, free: 35.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00051/1.158, allocations: 10.12 kB / 0.5738 GB, free: 35.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.159, allocations: 48.06 kB / 0.5739 GB, free: 35.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/1.159, allocations: 64.11 kB / 0.5739 GB, free: 35.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.522e-05/1.159, allocations: 37.72 kB / 0.574 GB, free: 35.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003635/1.163, allocations: 2.028 MB / 0.5759 GB, free: 35 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.239e-06/1.163, allocations: 0 / 0.5759 GB, free: 35 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002275/1.165, allocations: 0.6668 MB / 0.5766 GB, free: 34.93 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.001395/1.167, allocations: 0.8889 MB / 0.5775 GB, free: 34.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001303/1.168, allocations: 0.688 MB / 0.5781 GB, free: 34.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.025e-06/1.168, allocations: 0 / 0.5781 GB, free: 34.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005997/1.169, allocations: 394.2 kB / 0.5785 GB, free: 34.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/1.172, allocations: 0.5203 MB / 0.579 GB, free: 34.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006974/1.179, allocations: 3.288 MB / 0.5822 GB, free: 33.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/1.181, allocations: 1.782 MB / 0.584 GB, free: 32.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001912/1.183, allocations: 383.7 kB / 0.5843 GB, free: 32.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003774/1.183, allocations: 162.3 kB / 0.5845 GB, free: 32.66 MB / 394.7 MB Notification: Performance of SimCode: time 1.861e-06/1.183, allocations: 0 / 0.5845 GB, free: 32.66 MB / 394.7 MB Notification: Performance of Templates: time 0.08169/1.265, allocations: 34.31 MB / 0.618 GB, free: 16.2 MB / 394.7 MB