Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YDarc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.359e-05, allocations: 4.703 kB / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 50.4 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4698/0.5778, allocations: 108.5 MB / 451.2 MB, free: 1.547 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.5781, allocations: 81.77 kB / 451.2 MB, free: 1.508 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.279/0.8571, allocations: 65.59 MB / 0.5047 GB, free: 4.215 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.8572, allocations: 0 / 0.5047 GB, free: 4.215 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004019/0.8576, allocations: 83.94 kB / 0.5048 GB, free: 4.133 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.01311/0.8707, allocations: 3.215 MB / 0.5079 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.8708, allocations: 12.03 kB / 0.508 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001643/0.8724, allocations: 417 kB / 0.5084 GB, free: 420 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.8746, allocations: 415.4 kB / 0.5087 GB, free: 0 / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007721/0.8823, allocations: 2.191 MB / 0.5109 GB, free: 13.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006684/0.883, allocations: 0.5529 MB / 0.5114 GB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001584/0.8846, allocations: 288 kB / 0.5117 GB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/0.8978, allocations: 3.972 MB / 0.5156 GB, free: 8.723 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.8979, allocations: 11.91 kB / 0.5156 GB, free: 8.711 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005013/0.8985, allocations: 124 kB / 0.5157 GB, free: 8.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/0.8987, allocations: 117.6 kB / 0.5158 GB, free: 8.473 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.9092, allocations: 3.287 MB / 0.519 GB, free: 5.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.327/1.236, allocations: 12.7 MB / 0.5314 GB, free: 101.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007159/1.243, allocations: 3.933 MB / 0.5353 GB, free: 99.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004222/1.248, allocations: 1.574 MB / 0.5368 GB, free: 99.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005458/1.248, allocations: 149.8 kB / 0.537 GB, free: 99.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004235/1.253, allocations: 1.533 MB / 0.5385 GB, free: 99.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=195): time 5.982e-06/1.253, allocations: 0.9062 kB / 0.5385 GB, free: 99.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.03553/1.288, allocations: 9.623 MB / 0.5479 GB, free: 98.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/1.288, allocations: 270.6 kB / 0.5481 GB, free: 98.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004299/1.293, allocations: 1.894 MB / 0.55 GB, free: 97.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006053/1.293, allocations: 83.3 kB / 0.55 GB, free: 97.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/1.295, allocations: 1.243 MB / 0.5513 GB, free: 97.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001223/1.296, allocations: 0.7158 MB / 0.552 GB, free: 97.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/1.296, allocations: 51.66 kB / 0.552 GB, free: 97.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/1.296, allocations: 404.2 kB / 0.5524 GB, free: 96.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003209/1.3, allocations: 1.335 MB / 0.5537 GB, free: 96.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003645/1.303, allocations: 1.761 MB / 0.5554 GB, free: 96.42 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00348/1.307, allocations: 1.496 MB / 0.5569 GB, free: 96.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.769e-05/1.307, allocations: 3.844 kB / 0.5569 GB, free: 96.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01088/1.318, allocations: 4.214 MB / 0.561 GB, free: 95.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/1.318, allocations: 10.53 kB / 0.561 GB, free: 95.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/1.318, allocations: 7.062 kB / 0.561 GB, free: 95.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006024/1.324, allocations: 1.67 MB / 0.5626 GB, free: 94.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003038/1.327, allocations: 395.7 kB / 0.563 GB, free: 94.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02678/1.354, allocations: 19.3 MB / 0.5819 GB, free: 80.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003702/1.358, allocations: 192.1 kB / 0.582 GB, free: 80.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005126/1.358, allocations: 89.33 kB / 0.5821 GB, free: 80.32 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.0007425/1.359, allocations: 292.9 kB / 0.5824 GB, free: 80.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007996/1.36, allocations: 243.8 kB / 0.5826 GB, free: 80 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/1.37, allocations: 4.128 MB / 0.5867 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/1.37, allocations: 21.56 kB / 0.5867 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/1.37, allocations: 8.656 kB / 0.5867 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.883e-05/1.37, allocations: 13 kB / 0.5867 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02492/1.395, allocations: 8.383 MB / 0.5949 GB, free: 75.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.331e-05/1.395, allocations: 8.438 kB / 0.5949 GB, free: 75.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/1.398, allocations: 250.8 kB / 0.5952 GB, free: 75.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006433/1.404, allocations: 1.717 MB / 0.5968 GB, free: 74.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005169/1.405, allocations: 64.75 kB / 0.5969 GB, free: 74.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02782/1.432, allocations: 20 MB / 0.6164 GB, free: 59.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.433, allocations: 7.703 kB / 0.6164 GB, free: 59.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0157/1.448, allocations: 6.305 MB / 0.6226 GB, free: 54.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00227/1.451, allocations: 0.602 MB / 0.6232 GB, free: 54.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008984/1.452, allocations: 75.41 kB / 0.6232 GB, free: 54.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003189/1.455, allocations: 169.3 kB / 0.6234 GB, free: 53.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001491/1.456, allocations: 398.7 kB / 0.6238 GB, free: 53.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002902/1.457, allocations: 69.41 kB / 0.6239 GB, free: 53.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003191/1.46, allocations: 1.452 MB / 0.6253 GB, free: 52.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.46, allocations: 0 / 0.6253 GB, free: 52.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004557/1.464, allocations: 0.8159 MB / 0.6261 GB, free: 51.52 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.01675/1.481, allocations: 7.85 MB / 0.6337 GB, free: 44.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01057/1.492, allocations: 4.491 MB / 0.6381 GB, free: 40.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.492, allocations: 4 kB / 0.6381 GB, free: 40.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008178/1.5, allocations: 3.357 MB / 0.6414 GB, free: 37.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004929/1.505, allocations: 0.5775 MB / 0.642 GB, free: 36.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02097/1.526, allocations: 7.058 MB / 0.6489 GB, free: 30.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003056/1.529, allocations: 2.494 MB / 0.6513 GB, free: 28.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002657/1.532, allocations: 1.206 MB / 0.6525 GB, free: 27.73 MB / 442.7 MB Notification: Performance of SimCode: time 1.764e-06/1.532, allocations: 0 / 0.6525 GB, free: 27.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.911/6.443, allocations: 205.5 MB / 0.8532 GB, free: 2.406 MB / 458.7 MB