Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001473/0.0001475, allocations: 0 / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2507, allocations: 44.5 MB / 294.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.3804, allocations: 83.52 MB / 377.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.3807, allocations: 87.83 kB / 377.7 MB, free: 14.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4164/0.7971, allocations: 55.87 MB / 433.6 MB, free: 84.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.858e-06/0.7972, allocations: 3.531 kB / 433.6 MB, free: 84.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000249/0.7974, allocations: 46.83 kB / 433.6 MB, free: 84.33 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.007548/0.805, allocations: 1.826 MB / 435.5 MB, free: 83.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.805, allocations: 7.75 kB / 435.5 MB, free: 83.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.8067, allocations: 256.2 kB / 435.7 MB, free: 83.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004564/0.8113, allocations: 1.293 MB / 437 MB, free: 83.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004226/0.8118, allocations: 58.19 kB / 437.1 MB, free: 83.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005538/0.8124, allocations: 100.5 kB / 437.2 MB, free: 83.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00424/0.8166, allocations: 1.782 MB / 439 MB, free: 83.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006033/0.8227, allocations: 2.184 MB / 441.1 MB, free: 82.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004596/0.8232, allocations: 0 / 441.1 MB, free: 82.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002704/0.8235, allocations: 0 / 441.1 MB, free: 82.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.8236, allocations: 93.7 kB / 441.2 MB, free: 82.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/0.8375, allocations: 6.543 MB / 447.8 MB, free: 81.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.8396, allocations: 2.075 MB / 449.9 MB, free: 80.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.8409, allocations: 0.7614 MB / 450.6 MB, free: 80.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003515/0.8413, allocations: 134.4 kB / 450.7 MB, free: 79.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.8414, allocations: 46.22 kB / 450.8 MB, free: 79.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 4.134e-06/0.8414, allocations: 0 / 450.8 MB, free: 79.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=88): time 0.006473/0.8479, allocations: 2.568 MB / 453.4 MB, free: 78.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.8479, allocations: 96 kB / 453.5 MB, free: 78.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.8494, allocations: 0.847 MB / 454.3 MB, free: 78.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.519e-05/0.8496, allocations: 25.7 kB / 454.3 MB, free: 78.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.85, allocations: 0.8175 MB / 455.1 MB, free: 77.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.8502, allocations: 287.6 kB / 455.4 MB, free: 77.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.8503, allocations: 0 / 455.4 MB, free: 77.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.8504, allocations: 350.9 kB / 455.8 MB, free: 76.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007704/0.8512, allocations: 449.7 kB / 456.2 MB, free: 76.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008379/0.852, allocations: 0.602 MB / 456.8 MB, free: 76.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009568/0.853, allocations: 0.5461 MB / 457.4 MB, free: 76.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.485e-06/0.853, allocations: 7.578 kB / 457.4 MB, free: 76.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002381/0.8554, allocations: 1.2 MB / 458.6 MB, free: 75.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.8555, allocations: 7.625 kB / 458.6 MB, free: 75.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.8555, allocations: 7.938 kB / 458.6 MB, free: 75.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007943/0.8563, allocations: 113.8 kB / 458.7 MB, free: 75.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.8575, allocations: 237.4 kB / 458.9 MB, free: 75.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.8598, allocations: 2.024 MB / 460.9 MB, free: 74.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008998/0.8607, allocations: 20.45 kB / 461 MB, free: 74.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.8608, allocations: 38.38 kB / 461 MB, free: 74.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002052/0.861, allocations: 131.4 kB / 461.1 MB, free: 73.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.8613, allocations: 108.3 kB / 461.2 MB, free: 73.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/0.8635, allocations: 1.116 MB / 462.4 MB, free: 73.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.8636, allocations: 14.47 kB / 462.4 MB, free: 73.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.009e-06/0.8636, allocations: 3.438 kB / 462.4 MB, free: 73.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.8636, allocations: 3.75 kB / 462.4 MB, free: 73.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005807/0.8694, allocations: 2.814 MB / 465.2 MB, free: 72.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.8695, allocations: 0 / 465.2 MB, free: 72.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009477/0.8704, allocations: 177.7 kB / 465.4 MB, free: 72.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004314/0.8709, allocations: 109.6 kB / 465.5 MB, free: 72.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/0.871, allocations: 6.375 kB / 465.5 MB, free: 72.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002797/0.8738, allocations: 3.265 MB / 468.7 MB, free: 69.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.376e-06/0.8738, allocations: 0 / 468.7 MB, free: 69.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/0.8769, allocations: 1.789 MB / 470.5 MB, free: 68.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007094/0.8776, allocations: 294.6 kB / 470.8 MB, free: 68.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.8779, allocations: 3.562 kB / 470.8 MB, free: 68.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008311/0.8787, allocations: 42.48 kB / 470.9 MB, free: 68.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004686/0.8792, allocations: 66.28 kB / 470.9 MB, free: 68.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.42e-05/0.8793, allocations: 22.12 kB / 470.9 MB, free: 68.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001161/0.8805, allocations: 0.6575 MB / 471.6 MB, free: 67.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.104e-06/0.8805, allocations: 0 / 471.6 MB, free: 67.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001502/0.882, allocations: 323 kB / 471.9 MB, free: 67.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (load.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003621/0.8824, allocations: 188.1 kB / 472.1 MB, free: 67.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.8851, allocations: 1.168 MB / 473.3 MB, free: 67.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.195e-06/0.8851, allocations: 4.062 kB / 473.3 MB, free: 67.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.8862, allocations: 0.6546 MB / 473.9 MB, free: 67.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.8875, allocations: 210 kB / 474.1 MB, free: 67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005697/0.8932, allocations: 2.584 MB / 476.7 MB, free: 65.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.8947, allocations: 1.717 MB / 478.4 MB, free: 64.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/0.8952, allocations: 82.61 kB / 478.5 MB, free: 64.33 MB / 362.7 MB Notification: Performance of SimCode: time 1.829e-06/0.8952, allocations: 0 / 478.5 MB, free: 64.33 MB / 362.7 MB Notification: Performance of Templates: time 0.05058/0.9458, allocations: 33.71 MB / 0.5002 GB, free: 33.89 MB / 362.7 MB