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.833/1.833, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.92e-05, allocations: 2.906 kB / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07779/0.07783, allocations: 44.5 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.479, allocations: 97.8 MB / 397.6 MB, free: 18.64 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.4793, allocations: 70.77 kB / 397.7 MB, free: 18.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6125/1.092, allocations: 127.2 MB / 0.5126 GB, free: 68.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.159e-06/1.092, allocations: 0 / 0.5126 GB, free: 68.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.422e-05/1.092, allocations: 46.5 kB / 0.5126 GB, free: 68.08 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.006026/1.098, allocations: 2.798 MB / 0.5153 GB, free: 66.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.098, allocations: 10.86 kB / 0.5153 GB, free: 66.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008186/1.099, allocations: 415.6 kB / 0.5157 GB, free: 66.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005696/1.105, allocations: 2.431 MB / 0.5181 GB, free: 66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/1.105, allocations: 37.06 kB / 0.5182 GB, free: 66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/1.105, allocations: 55.81 kB / 0.5182 GB, free: 66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/1.107, allocations: 0.7865 MB / 0.519 GB, free: 65.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/1.107, allocations: 1.312 kB / 0.519 GB, free: 65.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/1.107, allocations: 19.53 kB / 0.519 GB, free: 65.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/1.107, allocations: 22.64 kB / 0.519 GB, free: 65.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/1.108, allocations: 0.7071 MB / 0.5197 GB, free: 65.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007635/1.116, allocations: 3.292 MB / 0.5229 GB, free: 65.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009542/1.117, allocations: 491 kB / 0.5234 GB, free: 65.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009391/1.118, allocations: 0.5961 MB / 0.524 GB, free: 65.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03664/1.155, allocations: 36.21 MB / 0.5593 GB, free: 38.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005919/1.155, allocations: 316.6 kB / 0.5596 GB, free: 38.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 5.59e-06/1.155, allocations: 0 / 0.5596 GB, free: 38.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.0017/1.157, allocations: 0.8172 MB / 0.5604 GB, free: 38.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/1.157, allocations: 268.8 kB / 0.5607 GB, free: 38.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004863/1.162, allocations: 2.667 MB / 0.5633 GB, free: 37.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/1.162, allocations: 39.17 kB / 0.5633 GB, free: 37.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001223/1.163, allocations: 1.298 MB / 0.5646 GB, free: 37.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/1.164, allocations: 172.2 kB / 0.5648 GB, free: 37.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.665e-05/1.164, allocations: 17.78 kB / 0.5648 GB, free: 37.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.954e-05/1.164, allocations: 346.5 kB / 0.5651 GB, free: 37.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004715/1.164, allocations: 193.2 kB / 0.5653 GB, free: 37.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/1.165, allocations: 0.5963 MB / 0.5659 GB, free: 36.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/1.165, allocations: 282 kB / 0.5661 GB, free: 36.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/1.165, allocations: 3.344 kB / 0.5662 GB, free: 36.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001721/1.167, allocations: 0.8091 MB / 0.5669 GB, free: 36.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.167, allocations: 16.11 kB / 0.567 GB, free: 36.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/1.167, allocations: 80.42 kB / 0.567 GB, free: 36.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.327e-05/1.167, allocations: 20.09 kB / 0.5671 GB, free: 36.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009403/1.168, allocations: 216 kB / 0.5673 GB, free: 36.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.668e-05/1.168, allocations: 22.47 kB / 0.5673 GB, free: 36.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/1.171, allocations: 133.4 kB / 0.5674 GB, free: 36.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/1.171, allocations: 61.84 kB / 0.5675 GB, free: 36.57 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.0002446/1.171, allocations: 168.7 kB / 0.5676 GB, free: 36.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005989/1.172, allocations: 401.4 kB / 0.568 GB, free: 36.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003926/1.176, allocations: 1.163 MB / 0.5691 GB, free: 36.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/1.176, allocations: 3.938 kB / 0.5691 GB, free: 36.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.459e-06/1.176, allocations: 3.938 kB / 0.5692 GB, free: 36.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.629e-06/1.176, allocations: 3.75 kB / 0.5692 GB, free: 36.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/1.18, allocations: 2.203 MB / 0.5713 GB, free: 35.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001153/1.181, allocations: 68.97 kB / 0.5714 GB, free: 35.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006509/1.181, allocations: 103.7 kB / 0.5715 GB, free: 35.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/1.181, allocations: 3.906 kB / 0.5715 GB, free: 35.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.591e-05/1.181, allocations: 33.86 kB / 0.5715 GB, free: 35.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.425e-06/1.181, allocations: 3.344 kB / 0.5715 GB, free: 35.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.603e-06/1.181, allocations: 0 / 0.5715 GB, free: 35.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/1.184, allocations: 1.238 MB / 0.5727 GB, free: 35.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/1.185, allocations: 0.5164 MB / 0.5732 GB, free: 35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005774/1.186, allocations: 10.34 kB / 0.5732 GB, free: 35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.187, allocations: 48.19 kB / 0.5733 GB, free: 35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/1.187, allocations: 63.38 kB / 0.5733 GB, free: 34.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-05/1.187, allocations: 44.39 kB / 0.5734 GB, free: 34.99 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00377/1.191, allocations: 2.03 MB / 0.5754 GB, free: 34.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.191, allocations: 0 / 0.5754 GB, free: 34.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002572/1.194, allocations: 0.6671 MB / 0.576 GB, free: 34.71 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.001475/1.195, allocations: 0.8823 MB / 0.5769 GB, free: 34.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/1.197, allocations: 0.709 MB / 0.5776 GB, free: 34.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.293e-06/1.197, allocations: 3.688 kB / 0.5776 GB, free: 34.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000643/1.197, allocations: 397.6 kB / 0.578 GB, free: 34.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/1.2, allocations: 0.5173 MB / 0.5785 GB, free: 34.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007647/1.208, allocations: 3.35 MB / 0.5817 GB, free: 33.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/1.209, allocations: 1.787 MB / 0.5835 GB, free: 32.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/1.21, allocations: 165.5 kB / 0.5836 GB, free: 32.44 MB / 394.7 MB Notification: Performance of SimCode: time 1.753e-06/1.21, allocations: 0 / 0.5836 GB, free: 32.44 MB / 394.7 MB Notification: Performance of Templates: time 0.05879/1.269, allocations: 38.3 MB / 0.621 GB, free: 13.76 MB / 394.7 MB