Running command: translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Inverter") Notification: Performance of loadModel(Modelica): time 1.88/1.88, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.12e-05, allocations: 10.48 kB / 292.1 MB, free: 8.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08752/0.08757, allocations: 50.42 MB / 342.6 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4474/0.535, allocations: 104 MB / 446.6 MB, free: 6.406 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.5353, allocations: 74.5 kB / 446.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5631/1.098, allocations: 99.28 MB / 0.5332 GB, free: 106.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.019e-06/1.098, allocations: 0 / 0.5332 GB, free: 106.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.819e-05/1.098, allocations: 22.22 kB / 0.5332 GB, free: 106.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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002895/1.101, allocations: 1.61 MB / 0.5348 GB, free: 106 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.101, allocations: 9.125 kB / 0.5348 GB, free: 106 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002648/1.102, allocations: 195.9 kB / 0.535 GB, free: 105.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/1.104, allocations: 1.209 MB / 0.5361 GB, free: 105.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/1.104, allocations: 20.75 kB / 0.5362 GB, free: 105.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/1.104, allocations: 33.58 kB / 0.5362 GB, free: 105.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008962/1.105, allocations: 433 kB / 0.5366 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/1.105, allocations: 3.953 kB / 0.5366 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/1.105, allocations: 21.53 kB / 0.5366 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/1.105, allocations: 10.47 kB / 0.5366 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008052/1.106, allocations: 370 kB / 0.537 GB, free: 105.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0033/1.109, allocations: 1.658 MB / 0.5386 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000567/1.11, allocations: 272.2 kB / 0.5389 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006436/1.11, allocations: 371.3 kB / 0.5392 GB, free: 105 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0188/1.129, allocations: 18.13 MB / 0.5569 GB, free: 91.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004292/1.13, allocations: 208.9 kB / 0.5571 GB, free: 91.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 4.049e-06/1.13, allocations: 0 / 0.5571 GB, free: 91.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.00106/1.131, allocations: 491.4 kB / 0.5576 GB, free: 91.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/1.131, allocations: 165.3 kB / 0.5577 GB, free: 91.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/1.133, allocations: 1.202 MB / 0.5589 GB, free: 91.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/1.133, allocations: 32.27 kB / 0.5589 GB, free: 91.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006415/1.133, allocations: 0.7278 MB / 0.5597 GB, free: 90.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/1.133, allocations: 83.3 kB / 0.5597 GB, free: 90.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/1.133, allocations: 10.98 kB / 0.5597 GB, free: 90.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.219e-05/1.134, allocations: 324.3 kB / 0.5601 GB, free: 90.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/1.134, allocations: 117.6 kB / 0.5602 GB, free: 90.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/1.134, allocations: 326.4 kB / 0.5605 GB, free: 90.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/1.135, allocations: 153.4 kB / 0.5606 GB, free: 90.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.135, allocations: 1.594 kB / 0.5606 GB, free: 90.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001265/1.136, allocations: 0.6393 MB / 0.5613 GB, free: 90.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.136, allocations: 6.438 kB / 0.5613 GB, free: 90.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.848e-05/1.136, allocations: 37.91 kB / 0.5613 GB, free: 90.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/1.136, allocations: 135.8 kB / 0.5614 GB, free: 90.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/1.137, allocations: 116.5 kB / 0.5615 GB, free: 90.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006025/1.138, allocations: 0.6768 MB / 0.5622 GB, free: 89.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009504/1.138, allocations: 90.7 kB / 0.5623 GB, free: 89.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.553e-05/1.139, allocations: 38.56 kB / 0.5623 GB, free: 89.54 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.0001569/1.139, allocations: 143.3 kB / 0.5625 GB, free: 89.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/1.139, allocations: 182 kB / 0.5626 GB, free: 89.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/1.141, allocations: 0.6788 MB / 0.5633 GB, free: 89.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.983e-06/1.141, allocations: 3.875 kB / 0.5633 GB, free: 89.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.322e-06/1.141, allocations: 0 / 0.5633 GB, free: 89.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.868e-06/1.141, allocations: 0 / 0.5633 GB, free: 89.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/1.143, allocations: 1.242 MB / 0.5645 GB, free: 88.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.138e-05/1.143, allocations: 46.89 kB / 0.5646 GB, free: 88.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/1.144, allocations: 53.02 kB / 0.5646 GB, free: 88.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003073/1.144, allocations: 130.4 kB / 0.5647 GB, free: 88.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/1.144, allocations: 19.56 kB / 0.5647 GB, free: 88.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005835/1.145, allocations: 0.6664 MB / 0.5654 GB, free: 88.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.593e-06/1.145, allocations: 3.938 kB / 0.5654 GB, free: 88.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009468/1.146, allocations: 0.6438 MB / 0.566 GB, free: 88.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/1.146, allocations: 280.9 kB / 0.5663 GB, free: 87.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/1.147, allocations: 15.16 kB / 0.5663 GB, free: 87.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/1.147, allocations: 39.06 kB / 0.5664 GB, free: 87.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.147, allocations: 42.66 kB / 0.5664 GB, free: 87.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/1.147, allocations: 18.94 kB / 0.5664 GB, free: 87.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001355/1.149, allocations: 0.9254 MB / 0.5673 GB, free: 87.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.55e-07/1.149, allocations: 3.906 kB / 0.5673 GB, free: 87.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001196/1.15, allocations: 355.2 kB / 0.5677 GB, free: 87.66 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.0009354/1.151, allocations: 0.6295 MB / 0.5683 GB, free: 87.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008794/1.152, allocations: 405.7 kB / 0.5687 GB, free: 87.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.974e-06/1.152, allocations: 7.781 kB / 0.5687 GB, free: 87.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000509/1.152, allocations: 237.3 kB / 0.5689 GB, free: 87.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/1.154, allocations: 287.4 kB / 0.5692 GB, free: 87.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/1.157, allocations: 1.509 MB / 0.5706 GB, free: 86.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/1.157, allocations: 1.179 MB / 0.5718 GB, free: 86.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008265/1.158, allocations: 168.4 kB / 0.572 GB, free: 86.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/1.158, allocations: 80.3 kB / 0.572 GB, free: 86.13 MB / 442.7 MB Notification: Performance of SimCode: time 2.327e-06/1.158, allocations: 0 / 0.572 GB, free: 86.13 MB / 442.7 MB Notification: Performance of Templates: time 0.04525/1.204, allocations: 19.92 MB / 0.5915 GB, free: 84.77 MB / 442.7 MB