Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadModel(Modelica): time 2.026/2.026, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.53e-05, allocations: 5.406 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09548/0.09554, allocations: 50.42 MB / 342.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4011/0.4967, allocations: 103.3 MB / 445.9 MB, free: 7.168 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.497, allocations: 90.08 kB / 446 MB, free: 7.121 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1661/0.6632, allocations: 41.15 MB / 487.1 MB, free: 2.293 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.989e-06/0.6632, allocations: 0 / 487.1 MB, free: 2.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001704/0.6634, allocations: 51.88 kB / 487.2 MB, free: 2.242 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005486/0.6689, allocations: 1.992 MB / 489.2 MB, free: 204 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.669, allocations: 8.875 kB / 489.2 MB, free: 196 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.6703, allocations: 269.1 kB / 489.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/0.6745, allocations: 1.408 MB / 490.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.6747, allocations: 139.6 kB / 491 MB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006096/0.6753, allocations: 175.9 kB / 491.1 MB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005696/0.681, allocations: 2.303 MB / 493.4 MB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.458e-05/0.6812, allocations: 11.92 kB / 493.5 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002735/0.6814, allocations: 75.95 kB / 493.5 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.6816, allocations: 79.5 kB / 493.6 MB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004926/0.6865, allocations: 1.815 MB / 495.4 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.7046, allocations: 7.506 MB / 0.4911 GB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/0.7074, allocations: 1.267 MB / 0.4924 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/0.7094, allocations: 0.8139 MB / 0.4932 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003699/0.7098, allocations: 133.8 kB / 0.4933 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.7098, allocations: 47.34 kB / 0.4933 GB, free: 15.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 4.2e-06/0.7099, allocations: 0 / 0.4933 GB, free: 15.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=103): time 0.01131/0.7212, allocations: 4.101 MB / 0.4974 GB, free: 11.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.7213, allocations: 64.39 kB / 0.4974 GB, free: 11.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002601/0.7239, allocations: 1.184 MB / 0.4986 GB, free: 10.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.7241, allocations: 45.7 kB / 0.4986 GB, free: 10.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008383/0.725, allocations: 0.8555 MB / 0.4994 GB, free: 9.355 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004906/0.7255, allocations: 362.8 kB / 0.4998 GB, free: 8.996 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.7256, allocations: 24 kB / 0.4998 GB, free: 8.973 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.7258, allocations: 362.8 kB / 0.5002 GB, free: 8.609 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.7272, allocations: 0.6039 MB / 0.5008 GB, free: 8.008 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.7288, allocations: 0.897 MB / 0.5016 GB, free: 6.988 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.7304, allocations: 0.7426 MB / 0.5024 GB, free: 6.242 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.7305, allocations: 4 kB / 0.5024 GB, free: 6.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.005714/0.7362, allocations: 2.267 MB / 0.5046 GB, free: 3.961 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.7363, allocations: 8 kB / 0.5046 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.7363, allocations: 15.95 kB / 0.5046 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002891/0.7392, allocations: 0.7704 MB / 0.5053 GB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.7406, allocations: 235.7 kB / 0.5056 GB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/0.7568, allocations: 8.557 MB / 0.5139 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.7583, allocations: 83.98 kB / 0.514 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/0.7585, allocations: 51.98 kB / 0.5141 GB, free: 9.965 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * 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%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000344/0.7589, allocations: 176.6 kB / 0.5142 GB, free: 9.785 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004067/0.7593, allocations: 146.2 kB / 0.5144 GB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00453/0.7638, allocations: 1.858 MB / 0.5162 GB, free: 7.762 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.7639, allocations: 8 kB / 0.5162 GB, free: 7.754 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.7639, allocations: 8 kB / 0.5162 GB, free: 7.746 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.7639, allocations: 7.938 kB / 0.5162 GB, free: 7.738 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009781/0.7737, allocations: 3.953 MB / 0.5201 GB, free: 3.691 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.7738, allocations: 4 kB / 0.5201 GB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.7751, allocations: 195.7 kB / 0.5203 GB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0018/0.7769, allocations: 463 kB / 0.5207 GB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/0.7771, allocations: 32.11 kB / 0.5207 GB, free: 3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2509/1.028, allocations: 6.16 MB / 0.5267 GB, free: 117.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.948e-06/1.028, allocations: 5.062 kB / 0.5267 GB, free: 117.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005713/1.034, allocations: 2.858 MB / 0.5295 GB, free: 117.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.035, allocations: 361.6 kB / 0.5299 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002986/1.035, allocations: 31.06 kB / 0.5299 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/1.036, allocations: 77.69 kB / 0.53 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/1.037, allocations: 80.53 kB / 0.5301 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.037, allocations: 35.47 kB / 0.5301 GB, free: 117.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001857/1.039, allocations: 0.9133 MB / 0.531 GB, free: 117.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.79e-07/1.039, allocations: 0 / 0.531 GB, free: 117.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002195/1.041, allocations: 469.2 kB / 0.5314 GB, free: 117.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005992/1.041, allocations: 317 kB / 0.5317 GB, free: 117.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004157/1.046, allocations: 1.949 MB / 0.5336 GB, free: 116.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.317e-06/1.046, allocations: 1.375 kB / 0.5336 GB, free: 116.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00256/1.048, allocations: 1.307 MB / 0.5349 GB, free: 116.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/1.05, allocations: 347.9 kB / 0.5353 GB, free: 116.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007351/1.058, allocations: 3.336 MB / 0.5385 GB, free: 115.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/1.06, allocations: 1.713 MB / 0.5402 GB, free: 114.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006027/1.06, allocations: 102.5 kB / 0.5403 GB, free: 114.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.953e-06/1.06, allocations: 1.094 kB / 0.5403 GB, free: 114.9 MB / 442.7 MB Notification: Performance of Templates: time 0.0644/1.125, allocations: 50.47 MB / 0.5896 GB, free: 95.96 MB / 442.7 MB