Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 1.785/1.785, allocations: 171.2 MB / 183.4 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.1e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2319, allocations: 38.77 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.375, allocations: 69.74 MB / 333.5 MB, free: 3.977 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.3753, allocations: 71.97 kB / 333.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03315/0.4084, allocations: 8.191 MB / 341.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.88e-06/0.4085, allocations: 0 / 341.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.607e-05/0.4085, allocations: 12 kB / 341.8 MB, free: 11.66 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001387/0.4099, allocations: 0.7204 MB / 342.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.41, allocations: 12.03 kB / 342.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.4102, allocations: 63.25 kB / 342.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/0.4108, allocations: 355.5 kB / 342.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.084e-05/0.4109, allocations: 40.94 kB / 343 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.411, allocations: 51.91 kB / 343 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.412, allocations: 449.3 kB / 343.5 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.4121, allocations: 3.938 kB / 343.5 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-05/0.4121, allocations: 24 kB / 343.5 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.4122, allocations: 12 kB / 343.5 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007942/0.413, allocations: 290.2 kB / 343.8 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.4166, allocations: 1.724 MB / 345.5 MB, free: 7.734 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.4172, allocations: 237.2 kB / 345.7 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.4175, allocations: 141.9 kB / 345.9 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.4176, allocations: 4 kB / 345.9 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.4176, allocations: 42.5 kB / 345.9 MB, free: 7.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 3.326e-06/0.4177, allocations: 0 / 345.9 MB, free: 7.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001872/0.4195, allocations: 0.7543 MB / 346.7 MB, free: 6.473 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.4196, allocations: 77.11 kB / 346.8 MB, free: 6.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/0.4202, allocations: 343.5 kB / 347.1 MB, free: 6.035 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.4203, allocations: 29.7 kB / 347.1 MB, free: 6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.4205, allocations: 283.5 kB / 347.4 MB, free: 5.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.4207, allocations: 118.3 kB / 347.5 MB, free: 5.598 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.4207, allocations: 4 kB / 347.5 MB, free: 5.594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.4209, allocations: 354.8 kB / 347.9 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.4212, allocations: 84.88 kB / 348 MB, free: 5.156 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.4215, allocations: 181.9 kB / 348.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.4219, allocations: 117.6 kB / 348.2 MB, free: 4.828 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.638e-06/0.4219, allocations: 4 kB / 348.2 MB, free: 4.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001067/0.423, allocations: 413.2 kB / 348.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.423, allocations: 8 kB / 348.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.423, allocations: 4.266 kB / 348.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004203/0.4235, allocations: 81.66 kB / 348.7 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.4239, allocations: 87.84 kB / 348.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/0.4272, allocations: 2.838 MB / 351.7 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/0.4277, allocations: 19.94 kB / 351.7 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.4277, allocations: 16 kB / 351.7 MB, free: 1.094 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.4279, allocations: 128.8 kB / 351.8 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.4281, allocations: 47.44 kB / 351.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.4282, allocations: 47.28 kB / 351.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.454e-06/0.4282, allocations: 8.062 kB / 351.9 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.325e-06/0.4282, allocations: 0 / 351.9 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.329e-06/0.4282, allocations: 0 / 351.9 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.4301, allocations: 0.9128 MB / 352.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.4302, allocations: 3.938 kB / 352.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.4304, allocations: 51.97 kB / 352.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003909/0.4308, allocations: 81.58 kB / 353 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.4309, allocations: 12.19 kB / 353 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003252/0.4342, allocations: 2.857 MB / 355.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4342, allocations: 0 / 355.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.4354, allocations: 0.589 MB / 356.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.4357, allocations: 132.6 kB / 356.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.4358, allocations: 12.05 kB / 356.6 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.4362, allocations: 35.98 kB / 356.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.4363, allocations: 19.97 kB / 356.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.4364, allocations: 11.98 kB / 356.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000454/0.4368, allocations: 274.1 kB / 356.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.03e-07/0.4369, allocations: 0 / 356.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000821/0.4377, allocations: 119.9 kB / 357 MB, free: 11.38 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000205/0.4379, allocations: 119.2 kB / 357.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.439, allocations: 483.3 kB / 357.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.432e-06/0.439, allocations: 0 / 357.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007186/0.4397, allocations: 351.4 kB / 358 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.4402, allocations: 53.77 kB / 358 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.442, allocations: 0.7095 MB / 358.7 MB, free: 9.605 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.4427, allocations: 0.8509 MB / 359.6 MB, free: 8.727 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002598/0.4429, allocations: 43.28 kB / 359.6 MB, free: 8.684 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.4431, allocations: 43.36 kB / 359.7 MB, free: 8.641 MB / 314.7 MB Notification: Performance of SimCode: time 1.844e-06/0.4431, allocations: 0 / 359.7 MB, free: 8.641 MB / 314.7 MB Notification: Performance of Templates: time 0.01419/0.4573, allocations: 4.212 MB / 363.9 MB, free: 4.441 MB / 314.7 MB