Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc") Notification: Performance of loadModel(Modelica): time 2.517/2.517, allocations: 224.8 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.211e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 50.41 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc): time 0.01488/0.1274, allocations: 8.766 MB / 353.7 MB, free: 140 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008391/0.1359, allocations: 3.055 MB / 356.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.138, allocations: 71.75 kB / 356.9 MB, free: 13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002409/0.1404, allocations: 0.5477 MB / 357.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.1443, allocations: 0.7632 MB / 358.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.146, allocations: 283.5 kB / 358.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004956/0.151, allocations: 1.871 MB / 360.3 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003213/0.1542, allocations: 1.505 MB / 361.8 MB, free: 8.008 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/0.1568, allocations: 1.001 MB / 362.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/0.1602, allocations: 1.351 MB / 364.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.1618, allocations: 195.9 kB / 364.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007864/0.1626, allocations: 132 kB / 364.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001698/0.1643, allocations: 0.8801 MB / 365.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.1659, allocations: 316 kB / 365.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007744/0.1737, allocations: 4.792 MB / 370.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1737, allocations: 0 / 370.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.1738, allocations: 0 / 370.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002114/0.174, allocations: 0 / 370.5 MB, free: 15.33 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.01142/0.1854, allocations: 3.189 MB / 373.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.1855, allocations: 8.031 kB / 373.7 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/0.1877, allocations: 419.4 kB / 374.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006762/0.1945, allocations: 2.105 MB / 376.2 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000676/0.1952, allocations: 0.549 MB / 376.8 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/0.1965, allocations: 299.8 kB / 377 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01379/0.2103, allocations: 4.12 MB / 381.2 MB, free: 4.367 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.2105, allocations: 7.906 kB / 381.2 MB, free: 4.359 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005947/0.2111, allocations: 124 kB / 381.3 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002085/0.2113, allocations: 125.6 kB / 381.4 MB, free: 4.113 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.2237, allocations: 3.609 MB / 385 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03744/0.2612, allocations: 12.68 MB / 397.7 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2987/0.56, allocations: 3.967 MB / 401.7 MB, free: 45.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005893/0.5607, allocations: 133.6 kB / 401.8 MB, free: 45.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005556/0.5662, allocations: 1.584 MB / 403.4 MB, free: 45.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=192): time 9.989e-06/0.5663, allocations: 0.9844 kB / 403.4 MB, free: 45.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=209): time 0.04189/0.6082, allocations: 10.57 MB / 414 MB, free: 41.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.6084, allocations: 268.5 kB / 414.2 MB, free: 41.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004676/0.6131, allocations: 1.891 MB / 416.1 MB, free: 40.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000537/0.6137, allocations: 84.83 kB / 416.2 MB, free: 40.31 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.615, allocations: 1.262 MB / 417.5 MB, free: 39.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001061/0.6161, allocations: 0.6771 MB / 418.1 MB, free: 38.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.6164, allocations: 45.09 kB / 418.2 MB, free: 38.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.6166, allocations: 403.2 kB / 418.6 MB, free: 38.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003963/0.6205, allocations: 1.343 MB / 419.9 MB, free: 37.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004391/0.625, allocations: 1.831 MB / 421.7 MB, free: 36.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004061/0.6291, allocations: 1.482 MB / 423.2 MB, free: 35.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/0.6292, allocations: 3.812 kB / 423.2 MB, free: 35.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01103/0.6402, allocations: 3.999 MB / 427.2 MB, free: 32.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.6403, allocations: 8 kB / 427.2 MB, free: 32.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.6404, allocations: 12 kB / 427.2 MB, free: 32.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004639/0.645, allocations: 1.371 MB / 428.6 MB, free: 31.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/0.6483, allocations: 431.3 kB / 429 MB, free: 31.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02194/0.6703, allocations: 17.83 MB / 446.9 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/0.674, allocations: 191.9 kB / 447.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005592/0.6746, allocations: 83.98 kB / 447.1 MB, free: 11.86 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: 60 ($whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],$PRE.switchYDwithArc.idealCloser.closerWithArc[1].off,switchYDwithArc.idealCloser.closerWithArc[1].off,$PRE.switchYDwithArc.idealCloser.closerWithArc[1].quenched,switchYDwithArc.idealCloser.closerWithArc[1].quenched,$PRE.switchYDwithArc.idealCloser.closerWithArc[1].tSwitch,switchYDwithArc.idealCloser.closerWithArc[1].tSwitch,$PRE.switchYDwithArc.idealCloser.closerWithArc[2].off,switchYDwithArc.idealCloser.closerWithArc[2].off,$PRE.switchYDwithArc.idealCloser.closerWithArc[2].quenched,switchYDwithArc.idealCloser.closerWithArc[2].quenched,$PRE.switchYDwithArc.idealCloser.closerWithArc[2].tSwitch,switchYDwithArc.idealCloser.closerWithArc[2].tSwitch,$PRE.switchYDwithArc.idealCloser.closerWithArc[3].off,switchYDwithArc.idealCloser.closerWithArc[3].off,$PRE.switchYDwithArc.idealCloser.closerWithArc[3].quenched,switchYDwithArc.idealCloser.closerWithArc[3].quenched,$PRE.switchYDwithArc.idealCloser.closerWithArc[3].tSwitch,switchYDwithArc.idealCloser.closerWithArc[3].tSwitch,$PRE.switchYDwithArc.idealOpener.openerWithArc[1].off,switchYDwithArc.idealOpener.openerWithArc[1].off,$PRE.switchYDwithArc.idealOpener.openerWithArc[1].quenched,switchYDwithArc.idealOpener.openerWithArc[1].quenched,$PRE.switchYDwithArc.idealOpener.openerWithArc[1].tSwitch,switchYDwithArc.idealOpener.openerWithArc[1].tSwitch,$PRE.switchYDwithArc.idealOpener.openerWithArc[2].off,switchYDwithArc.idealOpener.openerWithArc[2].off,$PRE.switchYDwithArc.idealOpener.openerWithArc[2].quenched,switchYDwithArc.idealOpener.openerWithArc[2].quenched,$PRE.switchYDwithArc.idealOpener.openerWithArc[2].tSwitch,switchYDwithArc.idealOpener.openerWithArc[2].tSwitch,$PRE.switchYDwithArc.idealOpener.openerWithArc[3].off,switchYDwithArc.idealOpener.openerWithArc[3].off,$PRE.switchYDwithArc.idealOpener.openerWithArc[3].quenched,switchYDwithArc.idealOpener.openerWithArc[3].quenched,$PRE.switchYDwithArc.idealOpener.openerWithArc[3].tSwitch,switchYDwithArc.idealOpener.openerWithArc[3].tSwitch,$PRE.switchYDwithArc.logicalDelay[1].tSwitch,switchYDwithArc.logicalDelay[1].tSwitch,$PRE.switchYDwithArc.logicalDelay[2].tSwitch,switchYDwithArc.logicalDelay[2].tSwitch,$PRE.switchYDwithArc.logicalDelay[3].tSwitch,switchYDwithArc.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 (257): * Single equations (assignments): 246 * 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: 9 * 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,(2,100.0%) 14,(1,100.0%) 1} * Non-linear torn systems: 6 {1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003156/0.6778, allocations: 1.104 MB / 448.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008399/0.6786, allocations: 241.1 kB / 448.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.6907, allocations: 3.955 MB / 452.4 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/0.6907, allocations: 20 kB / 452.4 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.257e-05/0.6908, allocations: 13.72 kB / 452.5 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.427e-05/0.6908, allocations: 11.92 kB / 452.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0234/0.7142, allocations: 7.759 MB / 460.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.468e-05/0.7144, allocations: 4.062 kB / 460.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002644/0.717, allocations: 279.6 kB / 460.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005628/0.7227, allocations: 1.371 MB / 461.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005304/0.7233, allocations: 63.95 kB / 461.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02876/0.752, allocations: 18.66 MB / 480.6 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.7521, allocations: 4.031 kB / 480.6 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01658/0.7687, allocations: 5.7 MB / 486.3 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002413/0.7712, allocations: 0.5842 MB / 486.9 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001126/0.7724, allocations: 74.98 kB / 487 MB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003259/0.7756, allocations: 159.8 kB / 487.1 MB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001614/0.7773, allocations: 393.4 kB / 487.5 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000361/0.7777, allocations: 63.91 kB / 487.6 MB, free: 1.742 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003915/0.7817, allocations: 1.449 MB / 489 MB, free: 280 kB / 362.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.7817, allocations: 0 / 489 MB, free: 280 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.004798/0.7865, allocations: 0.7472 MB / 489.8 MB, free: 15.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (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,inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 39 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYDwithArc.idealCloser.closerWithArc[1].off,switchYDwithArc.idealCloser.closerWithArc[1].quenched,switchYDwithArc.idealCloser.closerWithArc[1].tSwitch,switchYDwithArc.idealCloser.closerWithArc[2].off,switchYDwithArc.idealCloser.closerWithArc[2].quenched,switchYDwithArc.idealCloser.closerWithArc[2].tSwitch,switchYDwithArc.idealCloser.closerWithArc[3].off,switchYDwithArc.idealCloser.closerWithArc[3].quenched,switchYDwithArc.idealCloser.closerWithArc[3].tSwitch,switchYDwithArc.idealOpener.openerWithArc[1].off,switchYDwithArc.idealOpener.openerWithArc[1].quenched,switchYDwithArc.idealOpener.openerWithArc[1].tSwitch,switchYDwithArc.idealOpener.openerWithArc[2].off,switchYDwithArc.idealOpener.openerWithArc[2].quenched,switchYDwithArc.idealOpener.openerWithArc[2].tSwitch,switchYDwithArc.idealOpener.openerWithArc[3].off,switchYDwithArc.idealOpener.openerWithArc[3].quenched,switchYDwithArc.idealOpener.openerWithArc[3].tSwitch,switchYDwithArc.logicalDelay[1].tSwitch,switchYDwithArc.logicalDelay[2].tSwitch,switchYDwithArc.logicalDelay[3].tSwitch) * Number of discrete states: 12 (switchYDwithArc.idealCloser.closerWithArc[3].off,switchYDwithArc.idealOpener.openerWithArc[3].off,switchYDwithArc.idealCloser.closerWithArc[2].off,switchYDwithArc.idealOpener.openerWithArc[2].off,switchYDwithArc.idealCloser.closerWithArc[1].off,switchYDwithArc.idealOpener.openerWithArc[1].off,switchYDwithArc.idealOpener.openerWithArc[2].quenched,switchYDwithArc.idealCloser.closerWithArc[2].quenched,switchYDwithArc.idealOpener.openerWithArc[1].quenched,switchYDwithArc.idealCloser.closerWithArc[1].quenched,switchYDwithArc.idealCloser.closerWithArc[3].quenched,switchYDwithArc.idealOpener.openerWithArc[3].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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,(3,77.8%) 13,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 6 {1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009731/0.7876, allocations: 241.3 kB / 490 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01273/0.8003, allocations: 4.469 MB / 494.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/0.8004, allocations: 4 kB / 494.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008926/0.8093, allocations: 3.289 MB / 497.8 MB, free: 7.227 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004941/0.8143, allocations: 0.5619 MB / 498.3 MB, free: 6.664 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02273/0.8371, allocations: 8.302 MB / 0.4947 GB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004061/0.8412, allocations: 2.452 MB / 0.4971 GB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/0.8426, allocations: 175.3 kB / 0.4973 GB, free: 11.65 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/0.8426, allocations: 0 / 0.4973 GB, free: 11.65 MB / 394.7 MB Notification: Performance of Templates: time 0.6606/1.503, allocations: 200.8 MB / 0.6934 GB, free: 19.14 MB / 442.7 MB