Running command: translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Inverter") Notification: Performance of loadModel(Modelica): time 1.714/1.714, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.033e-05, allocations: 4 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07657/0.07662, allocations: 44.51 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3529/0.4296, allocations: 97.47 MB / 397.3 MB, free: 18.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.4298, allocations: 70.22 kB / 397.4 MB, free: 18.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2567/0.6865, allocations: 89.31 MB / 486.7 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.001e-06/0.6865, allocations: 0 / 486.7 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.697e-05/0.6866, allocations: 20 kB / 486.7 MB, free: 0.9688 MB / 362.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.003378/0.69, allocations: 1.617 MB / 488.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.69, allocations: 8.031 kB / 488.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000339/0.6904, allocations: 193.7 kB / 488.6 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002509/0.6929, allocations: 1.219 MB / 489.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.979e-05/0.693, allocations: 20.56 kB / 489.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.6931, allocations: 28 kB / 489.8 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.6941, allocations: 442.5 kB / 490.3 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.6941, allocations: 0 / 490.3 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.474e-05/0.6942, allocations: 12 kB / 490.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.6943, allocations: 12 kB / 490.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008637/0.6951, allocations: 373.3 kB / 490.6 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003941/0.6991, allocations: 1.654 MB / 492.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.6998, allocations: 280.8 kB / 492.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007137/0.7005, allocations: 366 kB / 492.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02583/0.7263, allocations: 18.18 MB / 0.4991 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00051/0.7269, allocations: 215.1 kB / 0.4993 GB, free: 5.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 3.871e-06/0.7269, allocations: 0 / 0.4993 GB, free: 5.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.001275/0.7282, allocations: 0.4885 MB / 0.4998 GB, free: 5.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.7283, allocations: 166.2 kB / 0.5 GB, free: 4.871 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.7307, allocations: 1.209 MB / 0.5011 GB, free: 3.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.407e-05/0.7308, allocations: 29.7 kB / 0.5012 GB, free: 3.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008775/0.7317, allocations: 0.7337 MB / 0.5019 GB, free: 2.855 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.7319, allocations: 98.72 kB / 0.502 GB, free: 2.758 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.7319, allocations: 8 kB / 0.502 GB, free: 2.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.7321, allocations: 322 kB / 0.5023 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.7324, allocations: 113.1 kB / 0.5024 GB, free: 2.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.733, allocations: 322.7 kB / 0.5027 GB, free: 1.902 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.7334, allocations: 164.2 kB / 0.5029 GB, free: 1.742 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.7334, allocations: 4 kB / 0.5029 GB, free: 1.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001533/0.735, allocations: 0.6273 MB / 0.5035 GB, free: 1.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.735, allocations: 10.03 kB / 0.5035 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.26e-05/0.7351, allocations: 44.06 kB / 0.5035 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004271/0.7355, allocations: 136.8 kB / 0.5037 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.7361, allocations: 115.8 kB / 0.5038 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009038/0.737, allocations: 0.6889 MB / 0.5045 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009773/0.738, allocations: 79.48 kB / 0.5045 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.7382, allocations: 40.11 kB / 0.5046 GB, free: 15.96 MB / 410.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.0002038/0.7384, allocations: 144.2 kB / 0.5047 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.7387, allocations: 189.7 kB / 0.5049 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.7411, allocations: 0.6723 MB / 0.5055 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.7412, allocations: 4 kB / 0.5055 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.293e-06/0.7412, allocations: 0 / 0.5055 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/0.7412, allocations: 3.953 kB / 0.5056 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.744, allocations: 1.238 MB / 0.5068 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.127e-05/0.7441, allocations: 39.92 kB / 0.5068 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.7445, allocations: 60.02 kB / 0.5069 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003583/0.7449, allocations: 128.8 kB / 0.507 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.745, allocations: 12 kB / 0.507 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008475/0.7458, allocations: 0.6733 MB / 0.5076 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.203e-06/0.7458, allocations: 4.031 kB / 0.5077 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.7472, allocations: 0.6453 MB / 0.5083 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006322/0.7478, allocations: 282.7 kB / 0.5085 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.748, allocations: 8 kB / 0.5086 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006765/0.7487, allocations: 43.95 kB / 0.5086 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.7489, allocations: 39.95 kB / 0.5086 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.887e-05/0.749, allocations: 23.98 kB / 0.5087 GB, free: 11.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001911/0.7509, allocations: 0.9314 MB / 0.5096 GB, free: 10.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.96e-07/0.7509, allocations: 0 / 0.5096 GB, free: 10.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001383/0.7523, allocations: 363.6 kB / 0.5099 GB, free: 10.29 MB / 410.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.001282/0.7536, allocations: 0.6482 MB / 0.5105 GB, free: 9.621 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.7548, allocations: 404.8 kB / 0.5109 GB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.7548, allocations: 0 / 0.5109 GB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006154/0.7554, allocations: 243.4 kB / 0.5112 GB, free: 8.965 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.757, allocations: 235 kB / 0.5114 GB, free: 8.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.7607, allocations: 1.525 MB / 0.5129 GB, free: 7.168 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.7617, allocations: 1.18 MB / 0.514 GB, free: 5.957 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008941/0.7627, allocations: 182.5 kB / 0.5142 GB, free: 5.773 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.7629, allocations: 75.44 kB / 0.5143 GB, free: 5.699 MB / 410.7 MB Notification: Performance of SimCode: time 1.996e-06/0.7629, allocations: 0 / 0.5143 GB, free: 5.699 MB / 410.7 MB Notification: Performance of Templates: time 0.2679/1.031, allocations: 19.97 MB / 0.5338 GB, free: 98.93 MB / 410.7 MB