Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadModel(Modelica): time 2.544/2.544, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.347e-05, allocations: 7.984 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.01952/0.1305, allocations: 11.1 MB / 356.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.1417, allocations: 4.013 MB / 360.1 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00287/0.1447, allocations: 99.69 kB / 360.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003441/0.1482, allocations: 0.7419 MB / 360.9 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005959/0.1542, allocations: 1.137 MB / 362.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.1576, allocations: 0.5924 MB / 362.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007519/0.1652, allocations: 2.614 MB / 365.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005161/0.1704, allocations: 2.051 MB / 367.3 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.1736, allocations: 1.239 MB / 368.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003862/0.1775, allocations: 1.573 MB / 370.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.1798, allocations: 319.8 kB / 370.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.1811, allocations: 156 kB / 370.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001805/0.183, allocations: 0.829 MB / 371.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001792/0.1848, allocations: 375.9 kB / 371.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.1964, allocations: 6.689 MB / 378.5 MB, free: 7.312 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1965, allocations: 0 / 378.5 MB, free: 7.312 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.1965, allocations: 0 / 378.5 MB, free: 7.312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003204/0.1968, allocations: 4 kB / 378.5 MB, free: 7.309 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: 1011 * Number of variables: 1011 Notification: Performance of Generate backend data structure: time 0.0168/0.2137, allocations: 4.197 MB / 382.7 MB, free: 3.043 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.2137, allocations: 12.03 kB / 382.7 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007664/0.2214, allocations: 0.9042 MB / 383.6 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009786/0.2312, allocations: 2.824 MB / 386.4 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005844/0.2319, allocations: 295.8 kB / 386.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001946/0.2339, allocations: 387.8 kB / 387.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.2521, allocations: 5.333 MB / 392.4 MB, free: 9.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001399/0.2523, allocations: 3.984 kB / 392.4 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000817/0.2531, allocations: 160 kB / 392.6 MB, free: 9.031 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000253/0.2534, allocations: 171.7 kB / 392.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02027/0.2737, allocations: 4.73 MB / 397.5 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4637/0.7375, allocations: 16.92 MB / 414.4 MB, free: 37.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01886/0.7564, allocations: 8.744 MB / 423.2 MB, free: 29.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01858/0.775, allocations: 4.22 MB / 427.4 MB, free: 26.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005291/0.7804, allocations: 1.339 MB / 428.7 MB, free: 25.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=189): time 9.518e-06/0.7805, allocations: 0 / 428.7 MB, free: 25.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=192): time 0.04511/0.8256, allocations: 8.759 MB / 437.5 MB, free: 20.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.8258, allocations: 239.3 kB / 437.7 MB, free: 20.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006726/0.8326, allocations: 2.007 MB / 439.7 MB, free: 18.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005167/0.8332, allocations: 65.7 kB / 439.8 MB, free: 18.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002317/0.8355, allocations: 1.613 MB / 441.4 MB, free: 16.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001232/0.8368, allocations: 0.636 MB / 442 MB, free: 16.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.8371, allocations: 44 kB / 442.1 MB, free: 16.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002475/0.8374, allocations: 395.1 kB / 442.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004109/0.8415, allocations: 1.035 MB / 443.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004877/0.8464, allocations: 1.629 MB / 445.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004792/0.8513, allocations: 1.255 MB / 446.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.569e-05/0.8514, allocations: 11.94 kB / 446.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.01344/0.8648, allocations: 3.44 MB / 449.8 MB, free: 8.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/0.8649, allocations: 16.09 kB / 449.8 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.286e-05/0.865, allocations: 16 kB / 449.9 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004439/0.8694, allocations: 0.7659 MB / 450.6 MB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004886/0.8744, allocations: 395.3 kB / 451 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02282/0.8973, allocations: 11.09 MB / 462.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003095/0.9004, allocations: 148 kB / 462.2 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005665/0.901, allocations: 91.98 kB / 462.3 MB, free: 10.97 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (221): * Single equations (assignments): 216 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,100.0%) 8,(9,33.3%) 25,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003861/0.9049, allocations: 1.312 MB / 463.6 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007764/0.9057, allocations: 249 kB / 463.9 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.9165, allocations: 3.418 MB / 467.3 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.445e-05/0.9166, allocations: 20 kB / 467.3 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-05/0.9167, allocations: 12 kB / 467.3 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.556e-05/0.9167, allocations: 11.97 kB / 467.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/0.9382, allocations: 7.069 MB / 474.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.931e-05/0.9383, allocations: 4.172 kB / 474.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/0.9402, allocations: 203.7 kB / 474.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004184/0.9444, allocations: 0.9416 MB / 475.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003919/0.9448, allocations: 43.98 kB / 475.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02825/0.9731, allocations: 15.52 MB / 491.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.9732, allocations: 0 / 491.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/0.9877, allocations: 4.971 MB / 496.1 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002078/0.9898, allocations: 0.5526 MB / 496.6 MB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008225/0.9907, allocations: 44 kB / 496.7 MB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002229/0.9929, allocations: 111.9 kB / 496.8 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000756/0.9937, allocations: 209.6 kB / 497 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/0.9939, allocations: 51.98 kB / 497.1 MB, free: 7.121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003708/0.9976, allocations: 1.543 MB / 498.6 MB, free: 5.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.12e-07/0.9977, allocations: 4 kB / 498.6 MB, free: 5.559 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004/1.002, allocations: 0.7734 MB / 499.4 MB, free: 4.785 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].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 (116): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 25,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000588/1.002, allocations: 199.3 kB / 499.6 MB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008941/1.011, allocations: 3.355 MB / 0.4911 GB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.011, allocations: 0 / 0.4911 GB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006887/1.018, allocations: 2.442 MB / 0.4935 GB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005208/1.023, allocations: 0.6444 MB / 0.4941 GB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/1.046, allocations: 8.707 MB / 0.5027 GB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005406/1.052, allocations: 2.863 MB / 0.5054 GB, free: 2.371 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001153/1.053, allocations: 159.4 kB / 0.5056 GB, free: 2.219 MB / 394.7 MB Notification: Performance of SimCode: time 1.423e-06/1.053, allocations: 0 / 0.5056 GB, free: 2.219 MB / 394.7 MB Notification: Performance of Templates: time 0.6015/1.654, allocations: 152.2 MB / 0.6543 GB, free: 57.22 MB / 442.7 MB