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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 2.05/2.05, allocations: 225.8 MB / 239.4 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.712e-05, allocations: 4 kB / 292.7 MB, free: 8.383 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0902/0.09025, allocations: 50.41 MB / 343.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3912/0.4815, allocations: 80.86 MB / 423.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.4817, allocations: 70.75 kB / 424 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04649/0.5282, allocations: 8.356 MB / 432.4 MB, free: 6.227 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.203e-06/0.5283, allocations: 0 / 432.4 MB, free: 6.227 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.466e-05/0.5284, allocations: 12 kB / 432.4 MB, free: 6.215 MB / 346.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.002056/0.5305, allocations: 0.719 MB / 433.1 MB, free: 5.484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.5305, allocations: 8.031 kB / 433.1 MB, free: 5.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.5308, allocations: 59.56 kB / 433.2 MB, free: 5.418 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009661/0.5318, allocations: 356.9 kB / 433.5 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.48e-05/0.5319, allocations: 38.44 kB / 433.5 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.5321, allocations: 52.7 kB / 433.6 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.5337, allocations: 456.6 kB / 434 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.5338, allocations: 4 kB / 434 MB, free: 4.684 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.5339, allocations: 17.88 kB / 434.1 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.534, allocations: 12 kB / 434.1 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.5352, allocations: 291.8 kB / 434.4 MB, free: 4.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00611/0.5414, allocations: 1.716 MB / 436.1 MB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009083/0.5423, allocations: 249.8 kB / 436.3 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/0.5428, allocations: 126.1 kB / 436.4 MB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.5429, allocations: 4 kB / 436.5 MB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.287e-05/0.543, allocations: 42.23 kB / 436.5 MB, free: 2.637 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 6.766e-06/0.543, allocations: 0 / 436.5 MB, free: 2.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.003/0.546, allocations: 0.7439 MB / 437.2 MB, free: 1.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/0.5461, allocations: 85.02 kB / 437.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008762/0.547, allocations: 338.7 kB / 437.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.5471, allocations: 28.89 kB / 437.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.5475, allocations: 284.2 kB / 438 MB, free: 1.309 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.5477, allocations: 122.1 kB / 438.1 MB, free: 1.203 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.5478, allocations: 7 kB / 438.1 MB, free: 1.203 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002708/0.5481, allocations: 351.5 kB / 438.4 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/0.5485, allocations: 85 kB / 438.5 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005356/0.5491, allocations: 180.7 kB / 438.7 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.5496, allocations: 108.2 kB / 438.8 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.5496, allocations: 3.953 kB / 438.8 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001857/0.5515, allocations: 418 kB / 439.2 MB, free: 248 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.5516, allocations: 12.31 kB / 439.2 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.5516, allocations: 3.938 kB / 439.2 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000714/0.5523, allocations: 84.28 kB / 439.3 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007789/0.5531, allocations: 83.59 kB / 439.4 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005093/0.5583, allocations: 2.837 MB / 442.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006788/0.559, allocations: 23.7 kB / 442.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/0.5591, allocations: 15.94 kB / 442.3 MB, free: 13.1 MB / 362.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.0002436/0.5594, allocations: 127.3 kB / 442.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.5596, allocations: 46.67 kB / 442.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.5598, allocations: 48.81 kB / 442.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.5598, allocations: 4 kB / 442.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.5599, allocations: 3.984 kB / 442.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.5599, allocations: 0 / 442.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/0.563, allocations: 0.9118 MB / 443.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.317e-06/0.563, allocations: 4 kB / 443.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.5635, allocations: 39.98 kB / 443.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006873/0.5642, allocations: 88.33 kB / 443.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.5643, allocations: 11.52 kB / 443.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004906/0.5693, allocations: 2.846 MB / 446.4 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.523e-06/0.5693, allocations: 0 / 446.4 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.5712, allocations: 0.5873 MB / 447 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.5714, allocations: 115.8 kB / 447.1 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.5716, allocations: 7.125 kB / 447.1 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008417/0.5724, allocations: 34.03 kB / 447.1 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.5726, allocations: 31.16 kB / 447.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.056e-05/0.5727, allocations: 11.12 kB / 447.2 MB, free: 8.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000664/0.5734, allocations: 262 kB / 447.4 MB, free: 8.133 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.654e-06/0.5734, allocations: 0 / 447.4 MB, free: 8.133 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001511/0.5749, allocations: 122.9 kB / 447.5 MB, free: 8.023 MB / 362.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.0002687/0.5752, allocations: 114.3 kB / 447.6 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.5769, allocations: 482.7 kB / 448.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.5769, allocations: 0 / 448.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.5781, allocations: 358.4 kB / 448.5 MB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008714/0.579, allocations: 66.7 kB / 448.5 MB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/0.582, allocations: 0.7029 MB / 449.2 MB, free: 6.441 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000851/0.5828, allocations: 0.847 MB / 450.1 MB, free: 5.562 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000459/0.5833, allocations: 43.3 kB / 450.1 MB, free: 5.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.5835, allocations: 31.42 kB / 450.2 MB, free: 5.484 MB / 362.7 MB Notification: Performance of SimCode: time 2.522e-06/0.5835, allocations: 4 kB / 450.2 MB, free: 5.48 MB / 362.7 MB Notification: Performance of Templates: time 0.0229/0.6065, allocations: 4.223 MB / 454.4 MB, free: 1.289 MB / 362.7 MB