Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") Notification: Performance of loadModel(Modelica): time 2.633/2.633, allocations: 224.7 MB / 241.1 MB, free: 1.652 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.599e-05, allocations: 4 kB / 294.6 MB, free: 11.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1161, allocations: 50.42 MB / 345 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01351/0.1296, allocations: 8.108 MB / 353.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007641/0.1373, allocations: 2.845 MB / 355.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.1391, allocations: 63.81 kB / 356 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.1411, allocations: 0.5011 MB / 356.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003321/0.1445, allocations: 0.6775 MB / 357.2 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.1459, allocations: 247.6 kB / 357.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004409/0.1503, allocations: 1.583 MB / 359 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002771/0.1531, allocations: 1.345 MB / 360.4 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.1551, allocations: 0.8376 MB / 361.2 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002684/0.1578, allocations: 1.141 MB / 362.3 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.1591, allocations: 171.9 kB / 362.5 MB, free: 7.324 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005411/0.1597, allocations: 112 kB / 362.6 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.1608, allocations: 0.7165 MB / 363.3 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.1619, allocations: 268 kB / 363.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006498/0.1684, allocations: 4.122 MB / 367.7 MB, free: 2.102 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1685, allocations: 4 kB / 367.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1685, allocations: 0 / 367.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001852/0.1687, allocations: 0 / 367.7 MB, free: 2.098 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.009206/0.1779, allocations: 2.732 MB / 370.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.178, allocations: 12.03 kB / 370.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.1798, allocations: 352 kB / 370.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005459/0.1853, allocations: 1.812 MB / 372.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.1857, allocations: 201 kB / 372.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009272/0.1866, allocations: 259.9 kB / 373.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.1974, allocations: 3.5 MB / 376.6 MB, free: 9.027 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.1975, allocations: 15.88 kB / 376.6 MB, free: 9.012 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003981/0.198, allocations: 104 kB / 376.7 MB, free: 8.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002194/0.1982, allocations: 112.9 kB / 376.8 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.2087, allocations: 3.091 MB / 379.9 MB, free: 5.691 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03005/0.2388, allocations: 10.91 MB / 390.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006336/0.2452, allocations: 3.071 MB / 393.9 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004742/0.2458, allocations: 131.5 kB / 394 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003408/0.2492, allocations: 1.16 MB / 395.1 MB, free: 5.891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=156): time 5.4e-06/0.2493, allocations: 0 / 395.1 MB, free: 5.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=172): time 0.3182/0.5674, allocations: 8.928 MB / 404.1 MB, free: 47.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.5676, allocations: 176.3 kB / 404.2 MB, free: 47.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004231/0.5719, allocations: 1.586 MB / 405.8 MB, free: 47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004108/0.5723, allocations: 58.09 kB / 405.9 MB, free: 46.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.5736, allocations: 1.115 MB / 407 MB, free: 46.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009356/0.5745, allocations: 0.5628 MB / 407.6 MB, free: 45.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.5747, allocations: 39.94 kB / 407.6 MB, free: 45.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.5749, allocations: 389.1 kB / 408 MB, free: 45.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003099/0.578, allocations: 1.013 MB / 409 MB, free: 44.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003607/0.5817, allocations: 1.44 MB / 410.4 MB, free: 44.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003508/0.5853, allocations: 1.176 MB / 411.6 MB, free: 43.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/0.5853, allocations: 4.125 kB / 411.6 MB, free: 43.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.009989/0.5953, allocations: 3.231 MB / 414.9 MB, free: 42.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.5954, allocations: 15.72 kB / 414.9 MB, free: 42.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/0.5955, allocations: 7.906 kB / 414.9 MB, free: 42.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003374/0.5989, allocations: 0.8788 MB / 415.8 MB, free: 42.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.6014, allocations: 341.6 kB / 416.1 MB, free: 42.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/0.6184, allocations: 9.826 MB / 425.9 MB, free: 35.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002737/0.6211, allocations: 143.5 kB / 426.1 MB, free: 35.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/0.6215, allocations: 72.2 kB / 426.1 MB, free: 35.07 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 180 * 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,(9,33.3%) 25,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002437/0.6239, allocations: 0.9201 MB / 427 MB, free: 34.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000693/0.6246, allocations: 206.5 kB / 427.2 MB, free: 34.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008209/0.6329, allocations: 3.139 MB / 430.4 MB, free: 31.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.6329, allocations: 16 kB / 430.4 MB, free: 31.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.633, allocations: 12.55 kB / 430.4 MB, free: 31.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-05/0.633, allocations: 7.969 kB / 430.4 MB, free: 31.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/0.6497, allocations: 6.261 MB / 436.7 MB, free: 25.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.6497, allocations: 3.938 kB / 436.7 MB, free: 25.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/0.6515, allocations: 211.7 kB / 436.9 MB, free: 24.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003787/0.6553, allocations: 0.9355 MB / 437.8 MB, free: 23.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002845/0.6557, allocations: 39.97 kB / 437.9 MB, free: 23.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01757/0.6733, allocations: 11.32 MB / 449.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/0.6733, allocations: 4.031 kB / 449.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/0.6845, allocations: 4.712 MB / 453.9 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/0.6863, allocations: 494.5 kB / 454.4 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000576/0.6869, allocations: 35.98 kB / 454.4 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/0.6888, allocations: 119.9 kB / 454.5 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006737/0.6895, allocations: 193 kB / 454.7 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/0.6897, allocations: 47.98 kB / 454.8 MB, free: 6.375 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002463/0.6921, allocations: 1.212 MB / 456 MB, free: 5.172 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.6922, allocations: 0 / 456 MB, free: 5.172 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003158/0.6953, allocations: 0.6315 MB / 456.6 MB, free: 4.543 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: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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,(9,33.3%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005/0.6959, allocations: 187.1 kB / 456.8 MB, free: 4.355 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007789/0.7037, allocations: 3.274 MB / 460.1 MB, free: 1.004 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.7038, allocations: 0 / 460.1 MB, free: 1.004 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005712/0.7095, allocations: 2.222 MB / 462.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004205/0.7137, allocations: 0.5271 MB / 462.8 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/0.7301, allocations: 6.693 MB / 469.5 MB, free: 7.441 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/0.7332, allocations: 2.202 MB / 471.7 MB, free: 5.203 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.7343, allocations: 139.4 kB / 471.9 MB, free: 5.066 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.7343, allocations: 0 / 471.9 MB, free: 5.066 MB / 346.7 MB Notification: Performance of Templates: time 0.1846/0.9189, allocations: 97.04 MB / 0.5556 GB, free: 4.051 MB / 442.7 MB