Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.795e-05, allocations: 0.9844 kB / 292.1 MB, free: 8.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09053/0.09058, allocations: 50.4 MB / 342.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3983/0.4889, allocations: 112.4 MB / 455 MB, free: 14.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.4892, allocations: 86.08 kB / 455 MB, free: 14.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6038/1.093, allocations: 93.95 MB / 0.5361 GB, free: 90.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.054e-06/1.093, allocations: 1.594 kB / 0.5361 GB, free: 90.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003626/1.093, allocations: 96.84 kB / 0.5362 GB, free: 90.69 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.01054/1.104, allocations: 3.555 MB / 0.5397 GB, free: 89.49 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.104, allocations: 17.47 kB / 0.5397 GB, free: 89.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/1.107, allocations: 0.5011 MB / 0.5402 GB, free: 89.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007046/1.114, allocations: 2.554 MB / 0.5427 GB, free: 88.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003031/1.114, allocations: 263.6 kB / 0.5429 GB, free: 88.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/1.115, allocations: 355.3 kB / 0.5433 GB, free: 88.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/1.127, allocations: 4.792 MB / 0.5479 GB, free: 88.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/1.127, allocations: 3.969 kB / 0.548 GB, free: 88.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005176/1.128, allocations: 154.8 kB / 0.5481 GB, free: 88.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001888/1.128, allocations: 176 kB / 0.5483 GB, free: 88.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009808/1.138, allocations: 3.854 MB / 0.552 GB, free: 88.21 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03246/1.17, allocations: 14.95 MB / 0.5666 GB, free: 85.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005376/1.176, allocations: 4.134 MB / 0.5707 GB, free: 82.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003553/1.179, allocations: 1.83 MB / 0.5725 GB, free: 81.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003795/1.18, allocations: 143.6 kB / 0.5726 GB, free: 81.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/1.18, allocations: 60.47 kB / 0.5726 GB, free: 81.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=201): time 5.907e-06/1.18, allocations: 3.172 kB / 0.5726 GB, free: 81.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=221): time 0.02264/1.203, allocations: 8.331 MB / 0.5808 GB, free: 78.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/1.203, allocations: 79.25 kB / 0.5809 GB, free: 78.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00484/1.207, allocations: 2.183 MB / 0.583 GB, free: 77.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004487/1.208, allocations: 64.23 kB / 0.5831 GB, free: 77.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/1.209, allocations: 1.478 MB / 0.5845 GB, free: 76.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008233/1.21, allocations: 0.7402 MB / 0.5852 GB, free: 75.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/1.21, allocations: 47.56 kB / 0.5853 GB, free: 75.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/1.21, allocations: 405.7 kB / 0.5857 GB, free: 75.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/1.213, allocations: 1.237 MB / 0.5869 GB, free: 74.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00283/1.216, allocations: 1.65 MB / 0.5885 GB, free: 73.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/1.219, allocations: 1.486 MB / 0.5899 GB, free: 73.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/1.219, allocations: 3.281 kB / 0.5899 GB, free: 73.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008194/1.227, allocations: 3.711 MB / 0.5935 GB, free: 72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/1.227, allocations: 11.19 kB / 0.5936 GB, free: 72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/1.227, allocations: 11.25 kB / 0.5936 GB, free: 72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002412/1.229, allocations: 0.7605 MB / 0.5943 GB, free: 71.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/1.232, allocations: 0.5354 MB / 0.5948 GB, free: 71.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/1.244, allocations: 8.704 MB / 0.6033 GB, free: 65.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/1.247, allocations: 124.5 kB / 0.6035 GB, free: 65.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004708/1.248, allocations: 85.72 kB / 0.6035 GB, free: 65.61 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.0005727/1.248, allocations: 232.9 kB / 0.6038 GB, free: 65.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008448/1.249, allocations: 273.1 kB / 0.604 GB, free: 65.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007387/1.257, allocations: 3.647 MB / 0.6076 GB, free: 63.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/1.257, allocations: 27.05 kB / 0.6076 GB, free: 63.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/1.257, allocations: 3.844 kB / 0.6076 GB, free: 63.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.173e-05/1.257, allocations: 7.547 kB / 0.6076 GB, free: 63.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01765/1.274, allocations: 7.936 MB / 0.6154 GB, free: 60.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/1.274, allocations: 7.375 kB / 0.6154 GB, free: 60.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002416/1.277, allocations: 397.1 kB / 0.6158 GB, free: 60.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003083/1.28, allocations: 0.8132 MB / 0.6165 GB, free: 59.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002985/1.28, allocations: 58.75 kB / 0.6166 GB, free: 59.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/1.293, allocations: 10.21 MB / 0.6266 GB, free: 50.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.902e-06/1.293, allocations: 4 kB / 0.6266 GB, free: 50.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009984/1.303, allocations: 5.616 MB / 0.6321 GB, free: 44.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002014/1.305, allocations: 0.6404 MB / 0.6327 GB, free: 44.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007367/1.306, allocations: 51.61 kB / 0.6327 GB, free: 44.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/1.308, allocations: 125.3 kB / 0.6329 GB, free: 44.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005081/1.309, allocations: 182.8 kB / 0.633 GB, free: 44.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002377/1.309, allocations: 67.69 kB / 0.6331 GB, free: 44.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00367/1.313, allocations: 1.683 MB / 0.6347 GB, free: 42.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.064e-06/1.313, allocations: 0 / 0.6347 GB, free: 42.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004/1.317, allocations: 0.8281 MB / 0.6355 GB, free: 41.71 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.0008752/1.318, allocations: 398.3 kB / 0.6359 GB, free: 41.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006708/1.324, allocations: 3.707 MB / 0.6395 GB, free: 37.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.641e-06/1.324, allocations: 8.125 kB / 0.6396 GB, free: 37.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00444/1.329, allocations: 2.386 MB / 0.6419 GB, free: 35.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00426/1.333, allocations: 0.7363 MB / 0.6426 GB, free: 35.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/1.347, allocations: 6.432 MB / 0.6489 GB, free: 29.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003213/1.35, allocations: 2.801 MB / 0.6516 GB, free: 27.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/1.351, allocations: 186.8 kB / 0.6518 GB, free: 27.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.63e-06/1.351, allocations: 0 / 0.6518 GB, free: 27.16 MB / 442.7 MB Notification: Performance of Templates: time 0.4307/1.782, allocations: 134.9 MB / 0.7835 GB, free: 70.24 MB / 458.7 MB