Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadModel(Modelica): time 2.29/2.29, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.223e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 50.41 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.0128/0.1241, allocations: 7.402 MB / 352.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007048/0.1312, allocations: 2.631 MB / 355 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.1328, allocations: 59.81 kB / 355.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.1348, allocations: 465.4 kB / 355.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003023/0.1379, allocations: 0.5957 MB / 356.1 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.1391, allocations: 211.6 kB / 356.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003664/0.1428, allocations: 1.267 MB / 357.6 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.1451, allocations: 1.053 MB / 358.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.1467, allocations: 0.67 MB / 359.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/0.1489, allocations: 0.9345 MB / 360.3 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.15, allocations: 151.9 kB / 360.4 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000511/0.1506, allocations: 88 kB / 360.5 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.1519, allocations: 0.5802 MB / 361.1 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009937/0.153, allocations: 216 kB / 361.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005339/0.1583, allocations: 3.226 MB / 364.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1584, allocations: 0 / 364.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1584, allocations: 0 / 364.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001457/0.1586, allocations: 0 / 364.5 MB, free: 5.34 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.00718/0.1658, allocations: 2.217 MB / 366.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.1658, allocations: 12.03 kB / 366.7 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.1673, allocations: 288.8 kB / 367 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004468/0.1718, allocations: 1.449 MB / 368.5 MB, free: 1.258 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.1721, allocations: 152 kB / 368.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007199/0.1729, allocations: 211.8 kB / 368.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008546/0.1814, allocations: 2.72 MB / 371.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.039e-05/0.1816, allocations: 8 kB / 371.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000297/0.1819, allocations: 80 kB / 371.6 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/0.182, allocations: 91.94 kB / 371.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007365/0.1894, allocations: 2.334 MB / 374.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02256/0.212, allocations: 8.415 MB / 382.5 MB, free: 2.922 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003815/0.2159, allocations: 1.783 MB / 384.2 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000413/0.2164, allocations: 126.9 kB / 384.4 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.2164, allocations: 47.56 kB / 384.4 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 3.597e-06/0.2165, allocations: 0 / 384.4 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of matching and sorting (n=120): time 0.02376/0.2402, allocations: 6.308 MB / 390.7 MB, free: 10.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.271e-05/0.2404, allocations: 64.41 kB / 390.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.2435, allocations: 1.298 MB / 392.1 MB, free: 9.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002847/0.2438, allocations: 45.7 kB / 392.1 MB, free: 8.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009285/0.2447, allocations: 0.949 MB / 393.1 MB, free: 8.008 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005658/0.2453, allocations: 414 kB / 393.5 MB, free: 7.598 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.2454, allocations: 28 kB / 393.5 MB, free: 7.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.2456, allocations: 362.8 kB / 393.9 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.2477, allocations: 0.7456 MB / 394.6 MB, free: 6.461 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.2501, allocations: 1.059 MB / 395.7 MB, free: 5.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.2525, allocations: 0.8886 MB / 396.6 MB, free: 4.383 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.2525, allocations: 4 kB / 396.6 MB, free: 4.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006768/0.2593, allocations: 2.264 MB / 398.8 MB, free: 2.094 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.2594, allocations: 12 kB / 398.8 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.2594, allocations: 11.95 kB / 398.9 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/0.2612, allocations: 411.5 kB / 399.3 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00258/0.2638, allocations: 327.4 kB / 399.6 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2887/0.5525, allocations: 4.74 MB / 404.3 MB, free: 46.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.5546, allocations: 96.02 kB / 404.4 MB, free: 46.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/0.5548, allocations: 54.8 kB / 404.5 MB, free: 46.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002025/0.5569, allocations: 0.7028 MB / 405.2 MB, free: 45.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005581/0.5574, allocations: 165 kB / 405.3 MB, free: 45.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006517/0.564, allocations: 2.17 MB / 407.5 MB, free: 45.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/0.564, allocations: 10.94 kB / 407.5 MB, free: 45.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.5641, allocations: 3.344 kB / 407.5 MB, free: 45.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.411e-05/0.5641, allocations: 7.109 kB / 407.5 MB, free: 45.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.578, allocations: 4.558 MB / 412.1 MB, free: 43.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.998e-05/0.578, allocations: 4.344 kB / 412.1 MB, free: 43.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/0.5801, allocations: 228.2 kB / 412.3 MB, free: 43.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/0.5824, allocations: 475.3 kB / 412.8 MB, free: 43.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002589/0.5827, allocations: 30.58 kB / 412.8 MB, free: 43.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008679/0.5914, allocations: 6.274 MB / 419.1 MB, free: 38.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5914, allocations: 3.062 kB / 419.1 MB, free: 38.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008308/0.5998, allocations: 3.35 MB / 422.4 MB, free: 36.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.6011, allocations: 403.9 kB / 422.8 MB, free: 36.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000514/0.6017, allocations: 31.77 kB / 422.8 MB, free: 36.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/0.6032, allocations: 78.83 kB / 422.9 MB, free: 36.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000382/0.6036, allocations: 105.4 kB / 423 MB, free: 36.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.6038, allocations: 34.61 kB / 423.1 MB, free: 36.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00217/0.606, allocations: 1.006 MB / 424.1 MB, free: 35.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.606, allocations: 0 / 424.1 MB, free: 35.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002342/0.6084, allocations: 456.4 kB / 424.5 MB, free: 35.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0004644/0.6089, allocations: 163.9 kB / 424.7 MB, free: 35.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005365/0.6142, allocations: 2.293 MB / 427 MB, free: 33.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.076e-06/0.6143, allocations: 0.5625 kB / 427 MB, free: 33.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003613/0.6179, allocations: 1.506 MB / 428.5 MB, free: 32.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/0.6212, allocations: 403.6 kB / 428.9 MB, free: 31.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.6323, allocations: 5.336 MB / 434.2 MB, free: 26.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00197/0.6344, allocations: 1.842 MB / 436 MB, free: 24.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008511/0.6353, allocations: 123.4 kB / 436.2 MB, free: 24.56 MB / 330.7 MB Notification: Performance of SimCode: time 1.723e-06/0.6353, allocations: 0 / 436.2 MB, free: 24.56 MB / 330.7 MB Notification: Performance of Templates: time 0.1149/0.7502, allocations: 66.04 MB / 0.4904 GB, free: 6.543 MB / 378.7 MB