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 1.975/1.975, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.864e-05, allocations: 4 kB / 292.1 MB, free: 8.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08954/0.08959, allocations: 50.42 MB / 342.6 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.443/0.5326, allocations: 108.5 MB / 451.1 MB, free: 1.977 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.5329, allocations: 87.88 kB / 451.2 MB, free: 1.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2583/0.7912, allocations: 65.59 MB / 0.5046 GB, free: 4.375 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.281e-06/0.7913, allocations: 0 / 0.5046 GB, free: 4.375 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003242/0.7916, allocations: 75.94 kB / 0.5047 GB, free: 4.301 MB / 426.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.009887/0.8015, allocations: 3.211 MB / 0.5078 GB, free: 1.012 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.8016, allocations: 8.875 kB / 0.5078 GB, free: 1.004 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.8035, allocations: 415.4 kB / 0.5082 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006269/0.8097, allocations: 2.191 MB / 0.5104 GB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006123/0.8104, allocations: 0.5451 MB / 0.5109 GB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/0.8114, allocations: 295.9 kB / 0.5112 GB, free: 13.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/0.822, allocations: 3.972 MB / 0.5151 GB, free: 9.316 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.8221, allocations: 11.84 kB / 0.5151 GB, free: 9.305 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004634/0.8226, allocations: 124 kB / 0.5152 GB, free: 9.184 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001594/0.8228, allocations: 117.6 kB / 0.5153 GB, free: 9.066 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009486/0.8323, allocations: 3.287 MB / 0.5185 GB, free: 5.773 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2814/1.114, allocations: 12.7 MB / 0.5309 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008612/1.122, allocations: 3.934 MB / 0.5348 GB, free: 99.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003243/1.126, allocations: 1.582 MB / 0.5363 GB, free: 99.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003912/1.126, allocations: 141.5 kB / 0.5364 GB, free: 99.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003118/1.129, allocations: 1.539 MB / 0.5379 GB, free: 99.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=195): time 6.504e-06/1.129, allocations: 0 / 0.5379 GB, free: 99.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.02814/1.157, allocations: 9.617 MB / 0.5473 GB, free: 98.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/1.158, allocations: 270.6 kB / 0.5476 GB, free: 98.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/1.161, allocations: 1.892 MB / 0.5494 GB, free: 98.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004868/1.162, allocations: 87.58 kB / 0.5495 GB, free: 98.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/1.163, allocations: 1.239 MB / 0.5507 GB, free: 97.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008981/1.164, allocations: 0.7202 MB / 0.5514 GB, free: 97.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/1.164, allocations: 48.03 kB / 0.5515 GB, free: 97.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/1.164, allocations: 410.3 kB / 0.5519 GB, free: 97.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/1.167, allocations: 1.339 MB / 0.5532 GB, free: 97.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003067/1.17, allocations: 1.761 MB / 0.5549 GB, free: 96.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002898/1.173, allocations: 1.489 MB / 0.5564 GB, free: 96.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/1.173, allocations: 7.375 kB / 0.5564 GB, free: 96.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.009154/1.182, allocations: 4.21 MB / 0.5605 GB, free: 95.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/1.182, allocations: 16.8 kB / 0.5605 GB, free: 95.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/1.182, allocations: 9.688 kB / 0.5605 GB, free: 95.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004867/1.187, allocations: 1.672 MB / 0.5621 GB, free: 94.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/1.19, allocations: 395.2 kB / 0.5625 GB, free: 94.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02312/1.213, allocations: 19.29 MB / 0.5813 GB, free: 80.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/1.216, allocations: 202.5 kB / 0.5815 GB, free: 80.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003764/1.216, allocations: 86.56 kB / 0.5816 GB, free: 80.47 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: 60 ($whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,$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 (240): * Single equations (assignments): 230 * 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: 8 * 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 {(6,61.1%) 46,(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.0006306/1.217, allocations: 296.8 kB / 0.5819 GB, free: 80.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006334/1.217, allocations: 244.2 kB / 0.5821 GB, free: 80.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008679/1.226, allocations: 4.129 MB / 0.5862 GB, free: 78.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/1.226, allocations: 26.16 kB / 0.5862 GB, free: 78.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/1.226, allocations: 7.906 kB / 0.5862 GB, free: 78.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-05/1.226, allocations: 9.844 kB / 0.5862 GB, free: 78.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0206/1.247, allocations: 8.386 MB / 0.5944 GB, free: 75.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/1.247, allocations: 0 / 0.5944 GB, free: 75.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/1.249, allocations: 259.3 kB / 0.5946 GB, free: 75.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005497/1.254, allocations: 1.709 MB / 0.5963 GB, free: 75.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000409/1.255, allocations: 60.69 kB / 0.5964 GB, free: 75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0245/1.279, allocations: 20.01 MB / 0.6159 GB, free: 59.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.471e-06/1.279, allocations: 3.625 kB / 0.6159 GB, free: 59.83 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/1.292, allocations: 6.295 MB / 0.6221 GB, free: 55.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/1.294, allocations: 0.606 MB / 0.6227 GB, free: 54.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008243/1.295, allocations: 83.23 kB / 0.6227 GB, free: 54.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/1.297, allocations: 160 kB / 0.6229 GB, free: 54.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00104/1.298, allocations: 408.3 kB / 0.6233 GB, free: 54.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002439/1.299, allocations: 66.22 kB / 0.6233 GB, free: 54.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002902/1.301, allocations: 1.45 MB / 0.6248 GB, free: 52.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.018e-06/1.301, allocations: 0 / 0.6248 GB, free: 52.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004171/1.306, allocations: 0.8169 MB / 0.6256 GB, free: 52.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,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,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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[3].quenched,switchYDwithArc.idealOpener.openerWithArc[2].quenched,switchYDwithArc.idealOpener.openerWithArc[1].quenched,switchYDwithArc.idealCloser.closerWithArc[3].quenched,switchYDwithArc.idealCloser.closerWithArc[2].quenched,switchYDwithArc.idealCloser.closerWithArc[1].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 145 * 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: 9 * 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 {(9,46.9%) 43,(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.0008443/1.307, allocations: 401.9 kB / 0.6259 GB, free: 51.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008151/1.315, allocations: 4.485 MB / 0.6303 GB, free: 47.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.522e-06/1.315, allocations: 0 / 0.6303 GB, free: 47.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006306/1.321, allocations: 3.362 MB / 0.6336 GB, free: 44.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003642/1.325, allocations: 0.5797 MB / 0.6342 GB, free: 44.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/1.339, allocations: 6.203 MB / 0.6402 GB, free: 38.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002658/1.341, allocations: 2.493 MB / 0.6427 GB, free: 36.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009588/1.342, allocations: 167.2 kB / 0.6428 GB, free: 36.62 MB / 442.7 MB Notification: Performance of SimCode: time 1.816e-06/1.342, allocations: 0 / 0.6428 GB, free: 36.62 MB / 442.7 MB Notification: Performance of Templates: time 0.4566/1.799, allocations: 188.4 MB / 0.8268 GB, free: 30.27 MB / 458.7 MB