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_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.503e-05, allocations: 7.797 kB / 292.1 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08925/0.08929, allocations: 50.41 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3817/0.4711, allocations: 104.4 MB / 447 MB, free: 5.973 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4713, allocations: 72.39 kB / 447.1 MB, free: 5.938 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6941/1.165, allocations: 143.2 MB / 0.5764 GB, free: 100.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.964e-06/1.165, allocations: 0 / 0.5764 GB, free: 100.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001305/1.166, allocations: 46.72 kB / 0.5764 GB, free: 100.8 MB / 442.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.004469/1.17, allocations: 2.785 MB / 0.5792 GB, free: 99.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/1.17, allocations: 11.25 kB / 0.5792 GB, free: 99.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00053/1.171, allocations: 416.8 kB / 0.5796 GB, free: 98.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004574/1.175, allocations: 2.405 MB / 0.5819 GB, free: 97.72 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/1.175, allocations: 40.31 kB / 0.582 GB, free: 97.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/1.176, allocations: 52.34 kB / 0.582 GB, free: 97.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/1.177, allocations: 0.7905 MB / 0.5828 GB, free: 97.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/1.177, allocations: 0 / 0.5828 GB, free: 97.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/1.177, allocations: 20.81 kB / 0.5828 GB, free: 97.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/1.177, allocations: 19.8 kB / 0.5828 GB, free: 97.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/1.179, allocations: 0.707 MB / 0.5835 GB, free: 97.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006659/1.185, allocations: 3.268 MB / 0.5867 GB, free: 95.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000887/1.186, allocations: 488.5 kB / 0.5872 GB, free: 95.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000889/1.187, allocations: 0.5938 MB / 0.5877 GB, free: 94.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03506/1.222, allocations: 36.1 MB / 0.623 GB, free: 60.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005819/1.223, allocations: 325.5 kB / 0.6233 GB, free: 60.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 3.847e-06/1.223, allocations: 0 / 0.6233 GB, free: 60.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.001419/1.224, allocations: 0.8123 MB / 0.6241 GB, free: 59.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/1.224, allocations: 265 kB / 0.6244 GB, free: 59.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/1.228, allocations: 2.654 MB / 0.627 GB, free: 56.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/1.228, allocations: 41.69 kB / 0.627 GB, free: 56.31 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/1.23, allocations: 1.573 MB / 0.6285 GB, free: 54.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/1.23, allocations: 169.2 kB / 0.6287 GB, free: 54.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/1.23, allocations: 16 kB / 0.6287 GB, free: 54.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/1.23, allocations: 349.9 kB / 0.629 GB, free: 54.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/1.231, allocations: 186 kB / 0.6292 GB, free: 54.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000608/1.231, allocations: 0.5916 MB / 0.6298 GB, free: 53.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005478/1.232, allocations: 279.2 kB / 0.6301 GB, free: 52.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.064e-06/1.232, allocations: 4 kB / 0.6301 GB, free: 52.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001902/1.234, allocations: 1.103 MB / 0.6311 GB, free: 51.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/1.234, allocations: 12.97 kB / 0.6312 GB, free: 51.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/1.234, allocations: 83.98 kB / 0.6312 GB, free: 51.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.463e-05/1.234, allocations: 27.94 kB / 0.6313 GB, free: 51.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009124/1.235, allocations: 207.6 kB / 0.6315 GB, free: 51.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-05/1.235, allocations: 23.92 kB / 0.6315 GB, free: 51.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.236, allocations: 127 kB / 0.6316 GB, free: 51.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/1.237, allocations: 67.98 kB / 0.6317 GB, free: 51.31 MB / 442.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.0001879/1.237, allocations: 172.2 kB / 0.6318 GB, free: 51.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003876/1.237, allocations: 399.1 kB / 0.6322 GB, free: 50.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/1.241, allocations: 1.152 MB / 0.6333 GB, free: 49.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.863e-06/1.241, allocations: 15.78 kB / 0.6334 GB, free: 49.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.091e-06/1.241, allocations: 0 / 0.6334 GB, free: 49.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.344e-06/1.241, allocations: 3.984 kB / 0.6334 GB, free: 49.58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/1.244, allocations: 2.196 MB / 0.6355 GB, free: 47.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001042/1.244, allocations: 67.98 kB / 0.6356 GB, free: 47.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/1.245, allocations: 103.9 kB / 0.6357 GB, free: 47.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.821e-06/1.245, allocations: 4.062 kB / 0.6357 GB, free: 47.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-05/1.245, allocations: 31.98 kB / 0.6357 GB, free: 47.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.175e-06/1.245, allocations: 7.938 kB / 0.6357 GB, free: 47.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/1.245, allocations: 7.891 kB / 0.6357 GB, free: 47.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/1.247, allocations: 1.223 MB / 0.6369 GB, free: 45.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008945/1.248, allocations: 0.5156 MB / 0.6374 GB, free: 45.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004347/1.248, allocations: 15.95 kB / 0.6374 GB, free: 45.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.25, allocations: 39.95 kB / 0.6375 GB, free: 45.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.25, allocations: 64 kB / 0.6375 GB, free: 45.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.631e-05/1.25, allocations: 39.98 kB / 0.6376 GB, free: 45.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0031/1.253, allocations: 2.018 MB / 0.6395 GB, free: 43.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.94e-07/1.253, allocations: 0 / 0.6395 GB, free: 43.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001712/1.255, allocations: 0.6518 MB / 0.6402 GB, free: 42.48 MB / 442.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.001274/1.256, allocations: 0.888 MB / 0.641 GB, free: 41.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001209/1.257, allocations: 0.685 MB / 0.6417 GB, free: 41.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.53e-06/1.257, allocations: 8.062 kB / 0.6417 GB, free: 41.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005864/1.258, allocations: 391.1 kB / 0.6421 GB, free: 40.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/1.261, allocations: 0.617 MB / 0.6427 GB, free: 40.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/1.266, allocations: 3.271 MB / 0.6459 GB, free: 36.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/1.268, allocations: 1.773 MB / 0.6476 GB, free: 34.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001774/1.269, allocations: 382.7 kB / 0.648 GB, free: 34.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/1.27, allocations: 163.4 kB / 0.6481 GB, free: 34.39 MB / 442.7 MB Notification: Performance of SimCode: time 1.799e-06/1.27, allocations: 0 / 0.6481 GB, free: 34.39 MB / 442.7 MB Notification: Performance of Templates: time 0.07692/1.347, allocations: 34.26 MB / 0.6816 GB, free: 464 kB / 442.7 MB