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.1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadModel(Modelica): time 1.775/1.775, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.968e-05, allocations: 0 / 225 MB, free: 2.348 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2103, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.3564, allocations: 93.98 MB / 357.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.3567, allocations: 75.95 kB / 357.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5484/0.9051, allocations: 129.2 MB / 487.1 MB, free: 1.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.9052, allocations: 0 / 487.1 MB, free: 1.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.876e-05/0.9053, allocations: 48 kB / 487.1 MB, free: 1.648 MB / 330.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.007009/0.9123, allocations: 2.796 MB / 489.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.9124, allocations: 12.03 kB / 489.9 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009584/0.9133, allocations: 414.9 kB / 490.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006878/0.9202, allocations: 2.425 MB / 492.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.837e-05/0.9204, allocations: 37 kB / 492.8 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.9206, allocations: 59.69 kB / 492.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.9224, allocations: 0.7852 MB / 493.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.9224, allocations: 0 / 493.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.9226, allocations: 20 kB / 493.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/0.9226, allocations: 23.98 kB / 493.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.9243, allocations: 0.7091 MB / 494.4 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008567/0.9329, allocations: 3.286 MB / 497.7 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.9341, allocations: 487.9 kB / 498.1 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.9353, allocations: 0.5889 MB / 498.7 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2899/1.225, allocations: 36.21 MB / 0.5224 GB, free: 34.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000612/1.226, allocations: 310.8 kB / 0.5227 GB, free: 34.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 4.151e-06/1.226, allocations: 0 / 0.5227 GB, free: 34.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001687/1.228, allocations: 0.8242 MB / 0.5235 GB, free: 34.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/1.228, allocations: 276.9 kB / 0.5238 GB, free: 33.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005179/1.233, allocations: 2.664 MB / 0.5264 GB, free: 33.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/1.233, allocations: 40.52 kB / 0.5264 GB, free: 33.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/1.235, allocations: 1.583 MB / 0.528 GB, free: 33.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/1.235, allocations: 163.9 kB / 0.5281 GB, free: 33.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/1.235, allocations: 15.59 kB / 0.5281 GB, free: 33.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.617e-05/1.235, allocations: 340.8 kB / 0.5285 GB, free: 32.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/1.235, allocations: 192.5 kB / 0.5286 GB, free: 32.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006278/1.236, allocations: 0.5863 MB / 0.5292 GB, free: 32.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000597/1.237, allocations: 290.7 kB / 0.5295 GB, free: 32.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.672e-06/1.237, allocations: 3.875 kB / 0.5295 GB, free: 32.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002244/1.239, allocations: 1.106 MB / 0.5306 GB, free: 32.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/1.239, allocations: 8.406 kB / 0.5306 GB, free: 32.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001228/1.239, allocations: 84.31 kB / 0.5307 GB, free: 32.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/1.239, allocations: 25.8 kB / 0.5307 GB, free: 32.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008573/1.24, allocations: 221.1 kB / 0.5309 GB, free: 32.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.598e-05/1.24, allocations: 18.78 kB / 0.5309 GB, free: 32.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.242, allocations: 125.3 kB / 0.531 GB, free: 32.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/1.242, allocations: 67.36 kB / 0.5311 GB, free: 32.15 MB / 346.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.0002218/1.242, allocations: 167.5 kB / 0.5313 GB, free: 32.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004421/1.243, allocations: 400.9 kB / 0.5316 GB, free: 31.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003787/1.247, allocations: 1.158 MB / 0.5328 GB, free: 31.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/1.247, allocations: 2.531 kB / 0.5328 GB, free: 31.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.877e-06/1.247, allocations: 0 / 0.5328 GB, free: 31.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.247, allocations: 7.812 kB / 0.5328 GB, free: 31.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004404/1.251, allocations: 2.202 MB / 0.5349 GB, free: 31.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001081/1.251, allocations: 72.5 kB / 0.535 GB, free: 31.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006806/1.252, allocations: 104.4 kB / 0.5351 GB, free: 31.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.445e-06/1.252, allocations: 0 / 0.5351 GB, free: 31.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.428e-05/1.252, allocations: 30.81 kB / 0.5351 GB, free: 31.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.506e-06/1.252, allocations: 2.5 kB / 0.5351 GB, free: 31.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/1.252, allocations: 2 kB / 0.5351 GB, free: 31.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/1.254, allocations: 1.238 MB / 0.5363 GB, free: 30.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.255, allocations: 0.5145 MB / 0.5368 GB, free: 30.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004846/1.256, allocations: 15.05 kB / 0.5369 GB, free: 30.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/1.257, allocations: 48.98 kB / 0.5369 GB, free: 30.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/1.257, allocations: 55.25 kB / 0.537 GB, free: 30.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.463e-05/1.257, allocations: 41.36 kB / 0.537 GB, free: 30.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003924/1.261, allocations: 2.028 MB / 0.539 GB, free: 30.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.02e-06/1.261, allocations: 3.156 kB / 0.539 GB, free: 30.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002315/1.264, allocations: 0.6657 MB / 0.5396 GB, free: 30.39 MB / 346.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.001451/1.265, allocations: 0.8818 MB / 0.5405 GB, free: 30.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001364/1.267, allocations: 0.6923 MB / 0.5412 GB, free: 30.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.832e-06/1.267, allocations: 0 / 0.5412 GB, free: 30.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006261/1.267, allocations: 399 kB / 0.5415 GB, free: 30.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/1.27, allocations: 0.5133 MB / 0.542 GB, free: 30 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006631/1.276, allocations: 3.286 MB / 0.5453 GB, free: 28.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/1.278, allocations: 1.786 MB / 0.547 GB, free: 28.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001921/1.28, allocations: 383.2 kB / 0.5474 GB, free: 28.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/1.28, allocations: 161.7 kB / 0.5475 GB, free: 28.19 MB / 346.7 MB Notification: Performance of SimCode: time 1.732e-06/1.28, allocations: 2.156 kB / 0.5475 GB, free: 28.19 MB / 346.7 MB Notification: Performance of Templates: time 0.08159/1.362, allocations: 34.32 MB / 0.581 GB, free: 12.94 MB / 346.7 MB