Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.936/1.936, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.225e-05/3.237e-05, allocations: 4 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08897/0.08903, allocations: 50.43 MB / 342.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3993/0.4884, allocations: 112.3 MB / 454.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.4887, allocations: 83.7 kB / 455 MB, free: 14.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6061/1.095, allocations: 93.8 MB / 0.5359 GB, free: 90.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.808e-06/1.095, allocations: 2.516 kB / 0.5359 GB, free: 90.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000338/1.095, allocations: 102 kB / 0.536 GB, free: 90.59 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01183/1.107, allocations: 3.556 MB / 0.5395 GB, free: 89.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/1.107, allocations: 11.06 kB / 0.5395 GB, free: 89.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004027/1.111, allocations: 0.5036 MB / 0.54 GB, free: 89.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007991/1.119, allocations: 2.549 MB / 0.5425 GB, free: 88.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/1.12, allocations: 263.9 kB / 0.5427 GB, free: 88.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/1.121, allocations: 353.8 kB / 0.5431 GB, free: 88.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01549/1.136, allocations: 4.802 MB / 0.5477 GB, free: 88.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/1.136, allocations: 3.875 kB / 0.5477 GB, free: 88.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005344/1.137, allocations: 155 kB / 0.5479 GB, free: 88.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/1.137, allocations: 171.6 kB / 0.5481 GB, free: 88.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009629/1.147, allocations: 3.854 MB / 0.5518 GB, free: 88.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03/1.177, allocations: 14.95 MB / 0.5664 GB, free: 84.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004969/1.182, allocations: 4.127 MB / 0.5704 GB, free: 82.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00326/1.185, allocations: 1.834 MB / 0.5722 GB, free: 81.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003449/1.186, allocations: 148.2 kB / 0.5724 GB, free: 81.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/1.186, allocations: 56.09 kB / 0.5724 GB, free: 81.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=201): time 6.604e-06/1.186, allocations: 0 / 0.5724 GB, free: 81.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=221): time 0.02114/1.207, allocations: 8.336 MB / 0.5806 GB, free: 78.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/1.207, allocations: 76.75 kB / 0.5806 GB, free: 78.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00414/1.211, allocations: 2.182 MB / 0.5828 GB, free: 77.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003809/1.211, allocations: 60.83 kB / 0.5828 GB, free: 77.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008486/1.212, allocations: 1.486 MB / 0.5843 GB, free: 76.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006475/1.213, allocations: 0.7319 MB / 0.585 GB, free: 75.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/1.213, allocations: 49.38 kB / 0.585 GB, free: 75.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/1.213, allocations: 403.9 kB / 0.5854 GB, free: 75.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002308/1.216, allocations: 1.236 MB / 0.5866 GB, free: 74.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/1.218, allocations: 1.649 MB / 0.5882 GB, free: 73.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/1.221, allocations: 1.487 MB / 0.5897 GB, free: 73.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/1.221, allocations: 3.75 kB / 0.5897 GB, free: 73.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01046/1.231, allocations: 3.716 MB / 0.5933 GB, free: 72.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/1.232, allocations: 11.41 kB / 0.5933 GB, free: 72.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.44e-05/1.232, allocations: 11.06 kB / 0.5934 GB, free: 72.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005001/1.237, allocations: 0.753 MB / 0.5941 GB, free: 71.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005829/1.242, allocations: 0.5301 MB / 0.5946 GB, free: 71.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/1.263, allocations: 8.704 MB / 0.6031 GB, free: 65.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004874/1.268, allocations: 125 kB / 0.6032 GB, free: 65.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005033/1.269, allocations: 88.73 kB / 0.6033 GB, free: 65.69 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009445/1.27, allocations: 243.1 kB / 0.6035 GB, free: 65.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/1.271, allocations: 279.2 kB / 0.6038 GB, free: 65.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/1.285, allocations: 3.633 MB / 0.6074 GB, free: 63.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-05/1.285, allocations: 21.84 kB / 0.6074 GB, free: 63.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.542e-05/1.285, allocations: 7.75 kB / 0.6074 GB, free: 63.97 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.606e-05/1.285, allocations: 10.97 kB / 0.6074 GB, free: 63.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02786/1.313, allocations: 7.942 MB / 0.6152 GB, free: 60.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/1.313, allocations: 3.891 kB / 0.6152 GB, free: 60.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/1.315, allocations: 391.1 kB / 0.6155 GB, free: 60.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002782/1.318, allocations: 0.8135 MB / 0.6163 GB, free: 60.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002266/1.318, allocations: 59.2 kB / 0.6164 GB, free: 60.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/1.33, allocations: 10.22 MB / 0.6264 GB, free: 50.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.666e-06/1.33, allocations: 4 kB / 0.6264 GB, free: 50.37 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009668/1.34, allocations: 5.616 MB / 0.6318 GB, free: 45.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001994/1.342, allocations: 0.6391 MB / 0.6325 GB, free: 44.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006403/1.343, allocations: 51.42 kB / 0.6325 GB, free: 44.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/1.345, allocations: 122.8 kB / 0.6326 GB, free: 44.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004914/1.345, allocations: 186.8 kB / 0.6328 GB, free: 44.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/1.345, allocations: 63.8 kB / 0.6329 GB, free: 44.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002988/1.348, allocations: 1.68 MB / 0.6345 GB, free: 42.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.237e-06/1.348, allocations: 0 / 0.6345 GB, free: 42.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003482/1.352, allocations: 0.8308 MB / 0.6353 GB, free: 42.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007236/1.353, allocations: 391.2 kB / 0.6357 GB, free: 41.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006373/1.359, allocations: 3.711 MB / 0.6393 GB, free: 38.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.335e-06/1.359, allocations: 4 kB / 0.6393 GB, free: 38.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004197/1.363, allocations: 2.387 MB / 0.6417 GB, free: 36.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004034/1.367, allocations: 0.7372 MB / 0.6424 GB, free: 35.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/1.38, allocations: 6.438 MB / 0.6487 GB, free: 29.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002852/1.382, allocations: 2.792 MB / 0.6514 GB, free: 27.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.384, allocations: 186.4 kB / 0.6516 GB, free: 27.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.742e-06/1.384, allocations: 0 / 0.6516 GB, free: 27.49 MB / 442.7 MB Notification: Performance of Templates: time 0.4107/1.794, allocations: 134.9 MB / 0.7833 GB, free: 70.33 MB / 458.7 MB