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.2_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 1.853/1.853, allocations: 194.9 MB / 208 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.565e-05, allocations: 4 kB / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08039/0.08045, allocations: 44.49 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.332/0.4125, allocations: 74.65 MB / 374.5 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.4128, allocations: 70.03 kB / 374.6 MB, free: 22.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03001/0.4428, allocations: 7.994 MB / 382.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.261e-06/0.4428, allocations: 1.375 kB / 382.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.32e-05/0.4429, allocations: 9.625 kB / 382.6 MB, free: 21.13 MB / 314.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.001175/0.4441, allocations: 0.7174 MB / 383.3 MB, free: 20.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4441, allocations: 8.719 kB / 383.3 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.4443, allocations: 65.08 kB / 383.4 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.4448, allocations: 364.7 kB / 383.7 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.4449, allocations: 36.94 kB / 383.8 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.455e-05/0.445, allocations: 49.22 kB / 383.8 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009859/0.446, allocations: 450.3 kB / 384.3 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.446, allocations: 0 / 384.3 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.199e-05/0.4461, allocations: 23.5 kB / 384.3 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.4461, allocations: 11 kB / 384.3 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007171/0.4469, allocations: 299.3 kB / 384.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.4501, allocations: 1.708 MB / 386.3 MB, free: 19.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000484/0.4506, allocations: 247 kB / 386.5 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.4509, allocations: 134.4 kB / 386.7 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.4509, allocations: 5.422 kB / 386.7 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.451, allocations: 37.06 kB / 386.7 MB, free: 19.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 4.238e-06/0.451, allocations: 0 / 386.7 MB, free: 19.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.00166/0.4526, allocations: 0.7464 MB / 387.5 MB, free: 18.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.4527, allocations: 84.08 kB / 387.5 MB, free: 18.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005065/0.4532, allocations: 334.4 kB / 387.9 MB, free: 18.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.4533, allocations: 32.17 kB / 387.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.4534, allocations: 287.1 kB / 388.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.984e-05/0.4535, allocations: 113.6 kB / 388.3 MB, free: 18.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.4536, allocations: 9.438 kB / 388.3 MB, free: 18.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.4537, allocations: 355.4 kB / 388.6 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.4539, allocations: 86.78 kB / 388.7 MB, free: 18.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.4542, allocations: 180.5 kB / 388.9 MB, free: 18.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.4544, allocations: 118 kB / 389 MB, free: 18.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.133e-06/0.4544, allocations: 0 / 389 MB, free: 18.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008864/0.4553, allocations: 414.5 kB / 389.4 MB, free: 17.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4554, allocations: 7.812 kB / 389.4 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.522e-06/0.4554, allocations: 0 / 389.4 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.4558, allocations: 92.56 kB / 389.5 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.4562, allocations: 76.89 kB / 389.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.4584, allocations: 2.844 MB / 392.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.4589, allocations: 27.38 kB / 392.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.4589, allocations: 15.88 kB / 392.5 MB, free: 15.28 MB / 314.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.0001199/0.4591, allocations: 124 kB / 392.6 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4592, allocations: 42.94 kB / 392.6 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.821e-05/0.4593, allocations: 45.61 kB / 392.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.692e-06/0.4593, allocations: 7.906 kB / 392.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.4593, allocations: 7.906 kB / 392.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.357e-06/0.4593, allocations: 3.953 kB / 392.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.4609, allocations: 0.9088 MB / 393.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.073e-06/0.4609, allocations: 3.422 kB / 393.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.4612, allocations: 53.66 kB / 393.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003578/0.4615, allocations: 78.09 kB / 393.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.4616, allocations: 7.875 kB / 393.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003174/0.4648, allocations: 2.844 MB / 396.6 MB, free: 28.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.029e-06/0.4648, allocations: 4.125 kB / 396.6 MB, free: 28.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.4659, allocations: 0.5845 MB / 397.2 MB, free: 27.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.4661, allocations: 119.1 kB / 397.3 MB, free: 27.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.4662, allocations: 10.8 kB / 397.3 MB, free: 27.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.4666, allocations: 38.06 kB / 397.4 MB, free: 27.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/0.4667, allocations: 29.2 kB / 397.4 MB, free: 27.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.4667, allocations: 7.875 kB / 397.4 MB, free: 27.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003656/0.4671, allocations: 267.2 kB / 397.7 MB, free: 27.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.4671, allocations: 0 / 397.7 MB, free: 27.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007805/0.4679, allocations: 118.8 kB / 397.8 MB, free: 27.59 MB / 330.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.0001811/0.4681, allocations: 117.6 kB / 397.9 MB, free: 27.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009/0.469, allocations: 478 kB / 398.4 MB, free: 27.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.746e-06/0.4691, allocations: 0 / 398.4 MB, free: 27.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006409/0.4697, allocations: 366 kB / 398.7 MB, free: 27.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.4702, allocations: 50.2 kB / 398.8 MB, free: 27.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.4718, allocations: 0.7077 MB / 399.5 MB, free: 26.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.4723, allocations: 0.8473 MB / 400.3 MB, free: 25.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002553/0.4726, allocations: 40.91 kB / 400.4 MB, free: 25.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.566e-05/0.4727, allocations: 26.97 kB / 400.4 MB, free: 25.96 MB / 330.7 MB Notification: Performance of SimCode: time 2.147e-06/0.4727, allocations: 0 / 400.4 MB, free: 25.96 MB / 330.7 MB Notification: Performance of Templates: time 0.0118/0.4845, allocations: 4.221 MB / 404.6 MB, free: 25.62 MB / 330.7 MB