Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YDarc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.079/2.079, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.823e-05/4.843e-05, allocations: 4 kB / 292.8 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1154, allocations: 50.41 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5336/0.6491, allocations: 108.5 MB / 451.6 MB, free: 1.715 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004194/0.6496, allocations: 88.75 kB / 451.7 MB, free: 1.668 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4178/1.067, allocations: 65.59 MB / 0.5052 GB, free: 3.957 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.067, allocations: 0 / 0.5052 GB, free: 3.957 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005738/1.068, allocations: 79.94 kB / 0.5053 GB, free: 3.879 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.01866/1.087, allocations: 3.211 MB / 0.5084 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.481e-05/1.087, allocations: 8.031 kB / 0.5084 GB, free: 0.582 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002557/1.089, allocations: 421 kB / 0.5088 GB, free: 164 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003791/1.093, allocations: 415.4 kB / 0.5092 GB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/1.105, allocations: 2.191 MB / 0.5113 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009763/1.106, allocations: 0.549 MB / 0.5119 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001996/1.108, allocations: 288 kB / 0.5122 GB, free: 12.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02048/1.129, allocations: 3.98 MB / 0.516 GB, free: 8.469 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002669/1.129, allocations: 7.906 kB / 0.516 GB, free: 8.461 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001592/1.131, allocations: 124 kB / 0.5162 GB, free: 8.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002968/1.131, allocations: 113.6 kB / 0.5163 GB, free: 8.227 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/1.148, allocations: 3.287 MB / 0.5195 GB, free: 4.934 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3549/1.503, allocations: 12.7 MB / 0.5319 GB, free: 101.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007603/1.511, allocations: 3.935 MB / 0.5357 GB, free: 99.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004635/1.516, allocations: 1.574 MB / 0.5373 GB, free: 99.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006176/1.516, allocations: 153.4 kB / 0.5374 GB, free: 99.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004869/1.521, allocations: 1.539 MB / 0.5389 GB, free: 99.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=195): time 8.856e-06/1.521, allocations: 0 / 0.5389 GB, free: 99.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.03744/1.559, allocations: 9.615 MB / 0.5483 GB, free: 98.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/1.559, allocations: 272.3 kB / 0.5486 GB, free: 98.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004868/1.564, allocations: 1.893 MB / 0.5504 GB, free: 98.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000659/1.565, allocations: 88.97 kB / 0.5505 GB, free: 98.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/1.566, allocations: 1.343 MB / 0.5518 GB, free: 97.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001298/1.568, allocations: 0.718 MB / 0.5525 GB, free: 97.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002938/1.568, allocations: 45.19 kB / 0.5526 GB, free: 97.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/1.568, allocations: 402.2 kB / 0.5529 GB, free: 97.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003554/1.572, allocations: 1.343 MB / 0.5542 GB, free: 97.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004151/1.576, allocations: 1.758 MB / 0.556 GB, free: 96.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003882/1.58, allocations: 1.493 MB / 0.5574 GB, free: 96.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.389e-05/1.58, allocations: 7.062 kB / 0.5574 GB, free: 96.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01309/1.593, allocations: 4.363 MB / 0.5617 GB, free: 95.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/1.593, allocations: 9.594 kB / 0.5617 GB, free: 95.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/1.593, allocations: 9 kB / 0.5617 GB, free: 95.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006299/1.6, allocations: 1.672 MB / 0.5633 GB, free: 94.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003114/1.603, allocations: 396.7 kB / 0.5637 GB, free: 94.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02908/1.632, allocations: 19.29 MB / 0.5826 GB, free: 80.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004146/1.636, allocations: 198.1 kB / 0.5827 GB, free: 80.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007398/1.637, allocations: 90.77 kB / 0.5828 GB, free: 80.46 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.0009376/1.638, allocations: 289.3 kB / 0.5831 GB, free: 80.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.639, allocations: 243.9 kB / 0.5833 GB, free: 80.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/1.652, allocations: 4.125 MB / 0.5874 GB, free: 78.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/1.652, allocations: 24.89 kB / 0.5874 GB, free: 78.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.838e-05/1.652, allocations: 9.25 kB / 0.5874 GB, free: 78.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.874e-05/1.652, allocations: 10.12 kB / 0.5874 GB, free: 78.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02856/1.68, allocations: 8.39 MB / 0.5956 GB, free: 75.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.24e-05/1.681, allocations: 3.906 kB / 0.5956 GB, free: 75.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/1.683, allocations: 260.9 kB / 0.5959 GB, free: 75.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00667/1.69, allocations: 1.708 MB / 0.5975 GB, free: 75.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006106/1.69, allocations: 54.59 kB / 0.5976 GB, free: 74.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02982/1.72, allocations: 20.02 MB / 0.6171 GB, free: 59.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.72, allocations: 4.438 kB / 0.6171 GB, free: 59.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/1.737, allocations: 6.288 MB / 0.6233 GB, free: 54.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002516/1.739, allocations: 0.6202 MB / 0.6239 GB, free: 53.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001255/1.741, allocations: 74.56 kB / 0.6239 GB, free: 53.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003648/1.744, allocations: 160.3 kB / 0.6241 GB, free: 53.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001615/1.746, allocations: 398.2 kB / 0.6245 GB, free: 53.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006229/1.747, allocations: 66.97 kB / 0.6245 GB, free: 53.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004182/1.751, allocations: 1.457 MB / 0.626 GB, free: 52.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.751, allocations: 0 / 0.626 GB, free: 52.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005442/1.756, allocations: 0.8231 MB / 0.6268 GB, free: 51.38 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.01801/1.775, allocations: 7.846 MB / 0.6344 GB, free: 44.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01116/1.786, allocations: 4.492 MB / 0.6388 GB, free: 40.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/1.786, allocations: 0 / 0.6388 GB, free: 40.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009025/1.795, allocations: 3.715 MB / 0.6424 GB, free: 36.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005219/1.8, allocations: 0.5861 MB / 0.643 GB, free: 36.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02353/1.824, allocations: 7.093 MB / 0.6499 GB, free: 30.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004066/1.828, allocations: 2.537 MB / 0.6524 GB, free: 28.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003036/1.831, allocations: 0.5309 MB / 0.6529 GB, free: 28.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002949/1.834, allocations: 1.202 MB / 0.6541 GB, free: 26.89 MB / 442.7 MB Notification: Performance of SimCode: time 2.575e-06/1.834, allocations: 0 / 0.6541 GB, free: 26.89 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5296/2.364, allocations: 71.89 MB / 0.7243 GB, free: 108.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/2.364, allocations: 199.5 kB / 0.7245 GB, free: 108.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.647/8.011, allocations: 0 / 0.7245 GB, free: 108.1 MB / 458.7 MB