Running command: translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Inverter") Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.654e-05/2.657e-05, allocations: 2.031 kB / 292.7 MB, free: 8.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.08824, allocations: 50.41 MB / 343.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3914/0.4797, allocations: 104.1 MB / 447.1 MB, free: 6.422 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.4799, allocations: 74.89 kB / 447.2 MB, free: 6.383 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5786/1.059, allocations: 99.28 MB / 0.5337 GB, free: 106.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.245e-06/1.059, allocations: 4.5 kB / 0.5337 GB, free: 106.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.917e-05/1.059, allocations: 21.31 kB / 0.5337 GB, free: 106.7 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002896/1.062, allocations: 1.606 MB / 0.5353 GB, free: 106 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.062, allocations: 8.719 kB / 0.5353 GB, free: 106 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/1.062, allocations: 196.1 kB / 0.5355 GB, free: 105.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/1.064, allocations: 1.208 MB / 0.5366 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/1.064, allocations: 18.38 kB / 0.5367 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/1.064, allocations: 27.59 kB / 0.5367 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008711/1.065, allocations: 441.3 kB / 0.5371 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/1.065, allocations: 3.953 kB / 0.5371 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.605e-05/1.065, allocations: 11.78 kB / 0.5371 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/1.065, allocations: 10.56 kB / 0.5371 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008058/1.066, allocations: 375 kB / 0.5375 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003248/1.069, allocations: 1.659 MB / 0.5391 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/1.07, allocations: 277.4 kB / 0.5394 GB, free: 104.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006767/1.071, allocations: 371.6 kB / 0.5397 GB, free: 104.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01894/1.09, allocations: 18.12 MB / 0.5574 GB, free: 91.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004127/1.09, allocations: 210.4 kB / 0.5576 GB, free: 91.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 3.559e-06/1.09, allocations: 0 / 0.5576 GB, free: 91.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.001007/1.091, allocations: 496.3 kB / 0.5581 GB, free: 91.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/1.091, allocations: 172 kB / 0.5583 GB, free: 91.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/1.093, allocations: 1.199 MB / 0.5594 GB, free: 90.99 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/1.093, allocations: 33.27 kB / 0.5595 GB, free: 90.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000591/1.094, allocations: 0.7221 MB / 0.5602 GB, free: 90.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.626e-05/1.094, allocations: 90.28 kB / 0.5603 GB, free: 90.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/1.094, allocations: 10.5 kB / 0.5603 GB, free: 90.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.145e-05/1.094, allocations: 327.7 kB / 0.5606 GB, free: 90.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/1.094, allocations: 108.4 kB / 0.5607 GB, free: 90.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/1.095, allocations: 328.5 kB / 0.561 GB, free: 90.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/1.095, allocations: 149.4 kB / 0.5611 GB, free: 90.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.429e-06/1.095, allocations: 7.656 kB / 0.5611 GB, free: 90.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001234/1.096, allocations: 0.6411 MB / 0.5618 GB, free: 90.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.096, allocations: 8.812 kB / 0.5618 GB, free: 90.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.558e-05/1.096, allocations: 40.59 kB / 0.5618 GB, free: 90.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003352/1.097, allocations: 129.9 kB / 0.5619 GB, free: 90.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/1.097, allocations: 121 kB / 0.5621 GB, free: 90.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005895/1.098, allocations: 0.6762 MB / 0.5627 GB, free: 89.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008454/1.099, allocations: 88.92 kB / 0.5628 GB, free: 89.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/1.099, allocations: 37.66 kB / 0.5628 GB, free: 89.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001423/1.099, allocations: 138.5 kB / 0.563 GB, free: 89.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/1.099, allocations: 181.3 kB / 0.5631 GB, free: 89.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/1.101, allocations: 0.6735 MB / 0.5638 GB, free: 89.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.851e-06/1.101, allocations: 3.844 kB / 0.5638 GB, free: 89.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.602e-06/1.101, allocations: 0 / 0.5638 GB, free: 89.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/1.101, allocations: 0 / 0.5638 GB, free: 89.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/1.103, allocations: 1.244 MB / 0.565 GB, free: 88.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-05/1.103, allocations: 35.3 kB / 0.5651 GB, free: 88.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/1.104, allocations: 60.22 kB / 0.5651 GB, free: 88.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000297/1.104, allocations: 126.1 kB / 0.5652 GB, free: 88.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/1.104, allocations: 15.42 kB / 0.5652 GB, free: 88.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005845/1.105, allocations: 0.6708 MB / 0.5659 GB, free: 88.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.105, allocations: 0 / 0.5659 GB, free: 88.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009916/1.106, allocations: 0.6468 MB / 0.5665 GB, free: 87.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004415/1.106, allocations: 283.1 kB / 0.5668 GB, free: 87.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/1.106, allocations: 15.36 kB / 0.5668 GB, free: 87.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007054/1.107, allocations: 37.58 kB / 0.5669 GB, free: 87.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/1.107, allocations: 45.34 kB / 0.5669 GB, free: 87.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.759e-05/1.107, allocations: 23.53 kB / 0.5669 GB, free: 87.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001405/1.109, allocations: 0.9267 MB / 0.5678 GB, free: 87.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.33e-07/1.109, allocations: 0 / 0.5678 GB, free: 87.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001235/1.11, allocations: 358.8 kB / 0.5682 GB, free: 87.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (21): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009573/1.111, allocations: 0.6269 MB / 0.5688 GB, free: 87.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00087/1.112, allocations: 404.6 kB / 0.5692 GB, free: 87.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.384e-06/1.112, allocations: 3.938 kB / 0.5692 GB, free: 87.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/1.112, allocations: 246.5 kB / 0.5694 GB, free: 87.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/1.114, allocations: 288.3 kB / 0.5697 GB, free: 87.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/1.117, allocations: 1.506 MB / 0.5712 GB, free: 86.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006227/1.118, allocations: 1.182 MB / 0.5723 GB, free: 86.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008261/1.118, allocations: 174.2 kB / 0.5725 GB, free: 86.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/1.119, allocations: 81.2 kB / 0.5725 GB, free: 86.07 MB / 442.7 MB Notification: Performance of SimCode: time 1.624e-06/1.119, allocations: 0 / 0.5725 GB, free: 86.07 MB / 442.7 MB Notification: Performance of Templates: time 0.04285/1.161, allocations: 19.91 MB / 0.592 GB, free: 84.73 MB / 442.7 MB