Running command: translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=3998,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Inverter") Notification: Performance of loadModel(Modelica): time 1.903/1.903, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.239e-05, allocations: 7.984 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09269/0.09275, allocations: 50.42 MB / 342.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3944/0.4872, allocations: 104.1 MB / 446.7 MB, free: 6.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.4874, allocations: 66.34 kB / 446.7 MB, free: 6.199 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5547/1.042, allocations: 99.28 MB / 0.5332 GB, free: 106.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.28e-06/1.042, allocations: 0 / 0.5332 GB, free: 106.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.913e-05/1.042, allocations: 28.09 kB / 0.5332 GB, free: 106.5 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.002906/1.045, allocations: 1.602 MB / 0.5348 GB, free: 105.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.045, allocations: 12.84 kB / 0.5348 GB, free: 105.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/1.046, allocations: 196.9 kB / 0.535 GB, free: 105.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/1.048, allocations: 1.211 MB / 0.5362 GB, free: 105.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/1.048, allocations: 17.59 kB / 0.5362 GB, free: 105.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.891e-05/1.048, allocations: 27.69 kB / 0.5362 GB, free: 105.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008823/1.049, allocations: 442 kB / 0.5366 GB, free: 105.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/1.049, allocations: 3.953 kB / 0.5367 GB, free: 105.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.455e-05/1.049, allocations: 13.34 kB / 0.5367 GB, free: 105.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/1.049, allocations: 14.14 kB / 0.5367 GB, free: 105.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008045/1.05, allocations: 370.2 kB / 0.537 GB, free: 105.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003563/1.053, allocations: 1.653 MB / 0.5386 GB, free: 104.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005787/1.054, allocations: 275.4 kB / 0.5389 GB, free: 104.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006465/1.055, allocations: 373.3 kB / 0.5393 GB, free: 104.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01928/1.074, allocations: 18.13 MB / 0.557 GB, free: 91.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004316/1.074, allocations: 203.2 kB / 0.5572 GB, free: 91.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 3.968e-06/1.074, allocations: 0 / 0.5572 GB, free: 91.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.001092/1.075, allocations: 491.6 kB / 0.5576 GB, free: 91.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/1.075, allocations: 169.4 kB / 0.5578 GB, free: 91.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/1.077, allocations: 1.197 MB / 0.559 GB, free: 90.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/1.077, allocations: 36.45 kB / 0.559 GB, free: 90.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/1.078, allocations: 0.6366 MB / 0.5596 GB, free: 90.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.167e-05/1.078, allocations: 94.73 kB / 0.5597 GB, free: 90.49 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/1.078, allocations: 6.5 kB / 0.5597 GB, free: 90.49 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/1.078, allocations: 335.8 kB / 0.56 GB, free: 90.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/1.078, allocations: 104.1 kB / 0.5601 GB, free: 90.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/1.079, allocations: 334 kB / 0.5605 GB, free: 89.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/1.079, allocations: 154 kB / 0.5606 GB, free: 89.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.948e-06/1.079, allocations: 3.5 kB / 0.5606 GB, free: 89.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001075/1.08, allocations: 494.3 kB / 0.5611 GB, free: 89.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.08, allocations: 7.688 kB / 0.5611 GB, free: 89.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.881e-05/1.08, allocations: 41.19 kB / 0.5611 GB, free: 89.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003588/1.081, allocations: 132.5 kB / 0.5612 GB, free: 89.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/1.081, allocations: 116 kB / 0.5614 GB, free: 89.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006042/1.082, allocations: 0.6809 MB / 0.562 GB, free: 89.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.083, allocations: 86.47 kB / 0.5621 GB, free: 89.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.873e-05/1.083, allocations: 41.72 kB / 0.5621 GB, free: 89.29 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.0001705/1.083, allocations: 145.9 kB / 0.5623 GB, free: 89.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/1.084, allocations: 184.1 kB / 0.5625 GB, free: 89.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/1.086, allocations: 0.6748 MB / 0.5631 GB, free: 89.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.64e-06/1.086, allocations: 0 / 0.5631 GB, free: 89.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.689e-06/1.086, allocations: 3.969 kB / 0.5631 GB, free: 89.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.057e-06/1.086, allocations: 0 / 0.5631 GB, free: 89.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/1.088, allocations: 1.238 MB / 0.5643 GB, free: 88.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.917e-05/1.088, allocations: 43.33 kB / 0.5644 GB, free: 88.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/1.089, allocations: 56.09 kB / 0.5644 GB, free: 88.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/1.089, allocations: 127.2 kB / 0.5645 GB, free: 88.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/1.089, allocations: 18.89 kB / 0.5646 GB, free: 88.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000595/1.09, allocations: 0.6608 MB / 0.5652 GB, free: 88.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.72e-06/1.09, allocations: 3.938 kB / 0.5652 GB, free: 88.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/1.091, allocations: 0.6452 MB / 0.5658 GB, free: 87.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005142/1.091, allocations: 287.5 kB / 0.5661 GB, free: 87.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/1.091, allocations: 7.703 kB / 0.5661 GB, free: 87.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006784/1.092, allocations: 42.89 kB / 0.5662 GB, free: 87.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/1.092, allocations: 46.91 kB / 0.5662 GB, free: 87.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-05/1.092, allocations: 23.58 kB / 0.5662 GB, free: 87.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001425/1.094, allocations: 0.922 MB / 0.5671 GB, free: 87.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.025e-06/1.094, allocations: 3.938 kB / 0.5671 GB, free: 87.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001215/1.095, allocations: 352.6 kB / 0.5675 GB, free: 87.41 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.000969/1.096, allocations: 0.6278 MB / 0.5681 GB, free: 87.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008965/1.097, allocations: 407 kB / 0.5685 GB, free: 87.22 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.645e-06/1.097, allocations: 2.812 kB / 0.5685 GB, free: 87.22 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004922/1.097, allocations: 249.2 kB / 0.5687 GB, free: 87.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/1.099, allocations: 282.2 kB / 0.569 GB, free: 87.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/1.102, allocations: 1.553 MB / 0.5705 GB, free: 86.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/1.103, allocations: 1.179 MB / 0.5717 GB, free: 85.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/1.103, allocations: 78.81 kB / 0.5717 GB, free: 85.88 MB / 442.7 MB Notification: Performance of SimCode: time 1.677e-06/1.103, allocations: 0 / 0.5717 GB, free: 85.88 MB / 442.7 MB Notification: Performance of Templates: time 0.03271/1.136, allocations: 24.01 MB / 0.5952 GB, free: 83.66 MB / 442.7 MB