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.851/1.851, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.005e-05, allocations: 7.984 kB / 258.8 MB, free: 8.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2911, allocations: 44.49 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Inverter): time 0.008802/0.2999, allocations: 6.049 MB / 309.4 MB, free: 7.555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02567/0.3256, allocations: 14.99 MB / 324.4 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.3269, allocations: 19.88 kB / 324.4 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.3291, allocations: 0.5673 MB / 324.9 MB, free: 7.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005412/0.3345, allocations: 1.319 MB / 326.3 MB, free: 6.605 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003553/0.3381, allocations: 0.9147 MB / 327.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007417/0.3456, allocations: 2.77 MB / 329.9 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.3459, allocations: 64.39 kB / 330 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007375/0.3467, allocations: 366.8 kB / 330.4 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000824/0.3475, allocations: 454 kB / 330.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004827/0.3524, allocations: 1.191 MB / 332 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004175/0.3529, allocations: 59.94 kB / 332.1 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.3531, allocations: 139 kB / 332.2 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004896/0.3536, allocations: 128 kB / 332.3 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.3565, allocations: 1.51 MB / 333.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3565, allocations: 0 / 333.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3565, allocations: 0 / 333.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.888e-05/0.3566, allocations: 4 kB / 333.8 MB, free: 15.02 MB / 282.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.003333/0.3599, allocations: 1.472 MB / 335.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.36, allocations: 8.031 kB / 335.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003931/0.3604, allocations: 193.7 kB / 335.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/0.3633, allocations: 1.211 MB / 336.7 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.3634, allocations: 24.5 kB / 336.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.3636, allocations: 24 kB / 336.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.365, allocations: 453.2 kB / 337.2 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.3651, allocations: 0 / 337.2 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/0.3652, allocations: 19.92 kB / 337.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.3652, allocations: 4 kB / 337.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.3671, allocations: 0.5137 MB / 337.7 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004258/0.3714, allocations: 1.635 MB / 339.4 MB, free: 9.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.3731, allocations: 415.3 kB / 339.8 MB, free: 8.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02274/0.3959, allocations: 15.31 MB / 355.1 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.3969, allocations: 287 kB / 355.4 MB, free: 7.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 2.995e-06/0.397, allocations: 0 / 355.4 MB, free: 7.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.003499/0.4005, allocations: 0.9001 MB / 356.3 MB, free: 6.262 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.4005, allocations: 63.39 kB / 356.3 MB, free: 6.188 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.4028, allocations: 1.227 MB / 357.6 MB, free: 4.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/0.4029, allocations: 29.7 kB / 357.6 MB, free: 4.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009058/0.4038, allocations: 0.7227 MB / 358.3 MB, free: 4.164 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.404, allocations: 94.66 kB / 358.4 MB, free: 4.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.404, allocations: 8 kB / 358.4 MB, free: 4.062 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4041, allocations: 326 kB / 358.7 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008099/0.405, allocations: 181 kB / 358.9 MB, free: 3.559 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009425/0.4059, allocations: 379.4 kB / 359.3 MB, free: 3.098 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008911/0.4068, allocations: 228.1 kB / 359.5 MB, free: 2.875 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.4069, allocations: 0 / 359.5 MB, free: 2.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002557/0.4094, allocations: 0.8015 MB / 360.3 MB, free: 2.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.4095, allocations: 8 kB / 360.3 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-05/0.4096, allocations: 36.84 kB / 360.3 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004559/0.41, allocations: 140.8 kB / 360.5 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007586/0.4108, allocations: 115.8 kB / 360.6 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008586/0.4117, allocations: 0.6774 MB / 361.3 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009975/0.4127, allocations: 83.34 kB / 361.4 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.828e-05/0.4128, allocations: 39.94 kB / 361.4 MB, free: 0.9414 MB / 298.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.0006045/0.4134, allocations: 281.7 kB / 361.7 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/0.4137, allocations: 185.8 kB / 361.8 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003324/0.417, allocations: 0.7855 MB / 362.6 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.4171, allocations: 64 / 362.6 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.4171, allocations: 8 kB / 362.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.4171, allocations: 3.984 kB / 362.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/0.4206, allocations: 1.347 MB / 364 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-05/0.4207, allocations: 39.98 kB / 364 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.4212, allocations: 55.89 kB / 364.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003855/0.4216, allocations: 132.9 kB / 364.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-05/0.4217, allocations: 19.95 kB / 364.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007917/0.4225, allocations: 0.6656 MB / 364.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4225, allocations: 0 / 364.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.4248, allocations: 0.7936 MB / 365.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005236/0.4253, allocations: 282.6 kB / 366 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/0.4256, allocations: 4 kB / 366 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008017/0.4264, allocations: 47.91 kB / 366 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.4266, allocations: 39.95 kB / 366.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.626e-05/0.4267, allocations: 16 kB / 366.1 MB, free: 12.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001895/0.4286, allocations: 0.9536 MB / 367 MB, free: 11.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4286, allocations: 0 / 367 MB, free: 11.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001184/0.4298, allocations: 331.8 kB / 367.4 MB, free: 10.77 MB / 314.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.001098/0.4309, allocations: 0.5696 MB / 367.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.4331, allocations: 0.5449 MB / 368.5 MB, free: 9.633 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4331, allocations: 0 / 368.5 MB, free: 9.633 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.4342, allocations: 315.5 kB / 368.8 MB, free: 9.312 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.4356, allocations: 238.9 kB / 369 MB, free: 9.074 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/0.4408, allocations: 2.503 MB / 371.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008552/0.4417, allocations: 1.18 MB / 372.7 MB, free: 5.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001003/0.4427, allocations: 182.8 kB / 372.9 MB, free: 5.137 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.4429, allocations: 79.44 kB / 372.9 MB, free: 5.059 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4429, allocations: 0 / 372.9 MB, free: 5.059 MB / 314.7 MB Notification: Performance of Templates: time 0.05299/0.4959, allocations: 18.73 MB / 391.7 MB, free: 2.324 MB / 330.7 MB