Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.879e-05/2.891e-05, allocations: 0 / 292.2 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.0901, allocations: 50.42 MB / 342.6 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.417/0.5071, allocations: 119.6 MB / 462.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.5074, allocations: 96.38 kB / 462.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7158/1.223, allocations: 133.5 MB / 0.5818 GB, free: 93.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.249e-06/1.223, allocations: 0 / 0.5818 GB, free: 93.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004628/1.224, allocations: 122.5 kB / 0.5819 GB, free: 93.61 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01596/1.24, allocations: 4.78 MB / 0.5866 GB, free: 91.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.24, allocations: 15.08 kB / 0.5866 GB, free: 91.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007289/1.247, allocations: 0.9744 MB / 0.5876 GB, free: 91.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/1.261, allocations: 4.475 MB / 0.5919 GB, free: 89.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004342/1.262, allocations: 370.8 kB / 0.5923 GB, free: 89.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001942/1.264, allocations: 480.2 kB / 0.5927 GB, free: 88.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/1.283, allocations: 6.538 MB / 0.5991 GB, free: 85.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002011/1.283, allocations: 11.02 kB / 0.5991 GB, free: 85.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001469/1.284, allocations: 205.9 kB / 0.5993 GB, free: 85.67 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002438/1.285, allocations: 237.6 kB / 0.5996 GB, free: 85.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01479/1.3, allocations: 5.345 MB / 0.6048 GB, free: 83.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04505/1.345, allocations: 20.99 MB / 0.6253 GB, free: 64.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009914/1.355, allocations: 9.8 MB / 0.6348 GB, free: 53.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004792/1.359, allocations: 2.408 MB / 0.6372 GB, free: 50.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01582/1.375, allocations: 6.506 MB / 0.6435 GB, free: 44.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/1.375, allocations: 56.56 kB / 0.6436 GB, free: 44.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=217): time 6.699e-06/1.375, allocations: 0 / 0.6436 GB, free: 44.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.01715/1.393, allocations: 7.269 MB / 0.6507 GB, free: 36.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/1.393, allocations: 73.41 kB / 0.6508 GB, free: 36.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005822/1.398, allocations: 2.62 MB / 0.6533 GB, free: 34.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004149/1.399, allocations: 65.7 kB / 0.6534 GB, free: 34.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/1.4, allocations: 2.005 MB / 0.6553 GB, free: 32.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009097/1.401, allocations: 0.7517 MB / 0.6561 GB, free: 31.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/1.402, allocations: 52 kB / 0.6561 GB, free: 31.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/1.402, allocations: 411.9 kB / 0.6565 GB, free: 30.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002475/1.404, allocations: 1.204 MB / 0.6577 GB, free: 29.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002947/1.407, allocations: 1.767 MB / 0.6594 GB, free: 27.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/1.41, allocations: 1.501 MB / 0.6609 GB, free: 26.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-05/1.41, allocations: 4 kB / 0.6609 GB, free: 26.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.008101/1.418, allocations: 3.798 MB / 0.6646 GB, free: 22.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/1.418, allocations: 12 kB / 0.6646 GB, free: 22.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/1.419, allocations: 16 kB / 0.6646 GB, free: 22.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/1.421, allocations: 0.6438 MB / 0.6653 GB, free: 21.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003148/1.424, allocations: 0.5461 MB / 0.6658 GB, free: 21.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/1.436, allocations: 9.978 MB / 0.6755 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00299/1.439, allocations: 111.9 kB / 0.6756 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005269/1.439, allocations: 99.98 kB / 0.6757 GB, free: 10.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (269): * Single equations (assignments): 264 * 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 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005945/1.44, allocations: 250.6 kB / 0.676 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008684/1.441, allocations: 320.2 kB / 0.6763 GB, free: 9.836 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007746/1.448, allocations: 3.778 MB / 0.68 GB, free: 5.988 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/1.448, allocations: 20 kB / 0.68 GB, free: 5.969 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/1.449, allocations: 15.94 kB / 0.68 GB, free: 5.953 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.728e-05/1.449, allocations: 7.969 kB / 0.68 GB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3226/1.771, allocations: 8.388 MB / 0.6882 GB, free: 83.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/1.771, allocations: 1.875 kB / 0.6882 GB, free: 83.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/1.773, allocations: 343.1 kB / 0.6885 GB, free: 83.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003248/1.777, allocations: 0.8041 MB / 0.6893 GB, free: 83.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004398/1.777, allocations: 61.53 kB / 0.6894 GB, free: 83.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01892/1.796, allocations: 14.37 MB / 0.7034 GB, free: 75.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.555e-06/1.796, allocations: 6.25 kB / 0.7034 GB, free: 75.42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/1.809, allocations: 5.662 MB / 0.7089 GB, free: 74.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002401/1.811, allocations: 0.6859 MB / 0.7096 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/1.812, allocations: 55.44 kB / 0.7097 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002576/1.815, allocations: 122.3 kB / 0.7098 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008118/1.816, allocations: 183.5 kB / 0.71 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002813/1.816, allocations: 68.81 kB / 0.71 GB, free: 74.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004834/1.821, allocations: 2.006 MB / 0.712 GB, free: 74.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.195e-06/1.821, allocations: 3.125 kB / 0.712 GB, free: 74.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005007/1.826, allocations: 0.9774 MB / 0.7129 GB, free: 74.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (154): * Single equations (assignments): 148 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 26,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/1.827, allocations: 0.5268 MB / 0.7135 GB, free: 74.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007272/1.834, allocations: 3.648 MB / 0.717 GB, free: 73.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.036e-06/1.834, allocations: 3.281 kB / 0.717 GB, free: 73.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005149/1.84, allocations: 2.487 MB / 0.7195 GB, free: 73.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005508/1.845, allocations: 0.8579 MB / 0.7203 GB, free: 73.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/1.865, allocations: 7.671 MB / 0.7278 GB, free: 70.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005481/1.87, allocations: 3.419 MB / 0.7311 GB, free: 69.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/1.872, allocations: 205.7 kB / 0.7313 GB, free: 69.48 MB / 442.7 MB Notification: Performance of SimCode: time 2.029e-06/1.872, allocations: 3.188 kB / 0.7313 GB, free: 69.48 MB / 442.7 MB Notification: Performance of Templates: time 0.5116/2.383, allocations: 192.4 MB / 0.9192 GB, free: 105.8 MB / 474.7 MB