Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 1.984/1.984, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.122e-05/4.123e-05, allocations: 4 kB / 292.2 MB, free: 8.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1132, allocations: 50.41 MB / 342.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4295/0.5427, allocations: 122.7 MB / 465.3 MB, free: 4.191 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.5431, allocations: 94.75 kB / 465.4 MB, free: 4.141 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6228/1.166, allocations: 102.5 MB / 0.5546 GB, free: 96.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.929e-06/1.166, allocations: 4 kB / 0.5546 GB, free: 96.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004433/1.166, allocations: 103.4 kB / 0.5547 GB, free: 96.54 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.0147/1.181, allocations: 4.21 MB / 0.5588 GB, free: 94.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.181, allocations: 7.75 kB / 0.5588 GB, free: 94.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006817/1.188, allocations: 0.9559 MB / 0.5597 GB, free: 94.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/1.201, allocations: 3.948 MB / 0.5636 GB, free: 93.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004386/1.201, allocations: 482.4 kB / 0.564 GB, free: 93.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001417/1.203, allocations: 411.7 kB / 0.5644 GB, free: 93.74 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/1.217, allocations: 5.155 MB / 0.5695 GB, free: 93.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001438/1.217, allocations: 3.875 kB / 0.5695 GB, free: 93.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008685/1.218, allocations: 178.7 kB / 0.5696 GB, free: 93.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001538/1.218, allocations: 168.2 kB / 0.5698 GB, free: 93.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/1.229, allocations: 4.137 MB / 0.5738 GB, free: 92.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03671/1.266, allocations: 17.96 MB / 0.5914 GB, free: 82.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00813/1.274, allocations: 8.086 MB / 0.5993 GB, free: 75.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003819/1.278, allocations: 1.803 MB / 0.601 GB, free: 74.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/1.29, allocations: 5.454 MB / 0.6064 GB, free: 71.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002031/1.292, allocations: 1.186 MB / 0.6075 GB, free: 71.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 5.235e-06/1.292, allocations: 0 / 0.6075 GB, free: 71.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=208): time 0.01718/1.309, allocations: 6.909 MB / 0.6143 GB, free: 68.06 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.309, allocations: 347.2 kB / 0.6146 GB, free: 67.67 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004114/1.313, allocations: 2.143 MB / 0.6167 GB, free: 66.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003587/1.314, allocations: 69.59 kB / 0.6168 GB, free: 66.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001541/1.315, allocations: 1.821 MB / 0.6185 GB, free: 64.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007141/1.316, allocations: 0.69 MB / 0.6192 GB, free: 63.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/1.316, allocations: 52 kB / 0.6193 GB, free: 63.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/1.316, allocations: 406.3 kB / 0.6197 GB, free: 63.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/1.318, allocations: 1.039 MB / 0.6207 GB, free: 62.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/1.321, allocations: 1.779 MB / 0.6224 GB, free: 60.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002618/1.324, allocations: 1.318 MB / 0.6237 GB, free: 59.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/1.324, allocations: 8 kB / 0.6237 GB, free: 59.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.007509/1.331, allocations: 3.655 MB / 0.6273 GB, free: 56.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001571/1.333, allocations: 7.848 MB / 0.6349 GB, free: 47.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.812e-05/1.333, allocations: 20 kB / 0.635 GB, free: 47.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005545/1.339, allocations: 1.012 MB / 0.6359 GB, free: 46.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005162/1.344, allocations: 468.1 kB / 0.6364 GB, free: 46.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0316/1.375, allocations: 14.13 MB / 0.6502 GB, free: 32.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005783/1.381, allocations: 178.2 kB / 0.6504 GB, free: 32.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008895/1.382, allocations: 103.8 kB / 0.6505 GB, free: 32.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.382, allocations: 7.938 kB / 0.6505 GB, free: 32.25 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01452/1.397, allocations: 3.554 MB / 0.6539 GB, free: 29.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/1.397, allocations: 23.75 kB / 0.654 GB, free: 29.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005345/1.402, allocations: 0.986 MB / 0.6549 GB, free: 28.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004483/1.407, allocations: 461.5 kB / 0.6554 GB, free: 27.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02592/1.433, allocations: 14.12 MB / 0.6692 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/1.435, allocations: 157.6 kB / 0.6693 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003849/1.435, allocations: 103.7 kB / 0.6694 GB, free: 13.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 258 * 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: 6 * 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 {(2,100.0%) 22,(3,100.0%) 21,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006236/1.436, allocations: 282.7 kB / 0.6697 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007184/1.437, allocations: 276.6 kB / 0.6699 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007465/1.444, allocations: 3.239 MB / 0.6731 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/1.444, allocations: 24 kB / 0.6731 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.009e-06/1.444, allocations: 0 / 0.6731 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.216e-05/1.444, allocations: 15.95 kB / 0.6731 GB, free: 9.988 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/1.464, allocations: 7.021 MB / 0.68 GB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.438e-05/1.465, allocations: 0 / 0.68 GB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/1.467, allocations: 275.8 kB / 0.6803 GB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003239/1.47, allocations: 1.032 MB / 0.6813 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000337/1.47, allocations: 51.97 kB / 0.6813 GB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01959/1.49, allocations: 11.6 MB / 0.6926 GB, free: 5.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.49, allocations: 4 kB / 0.6926 GB, free: 5.426 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.501, allocations: 4.614 MB / 0.6972 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/1.503, allocations: 0.5952 MB / 0.6977 GB, free: 120 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007836/1.504, allocations: 63.91 kB / 0.6978 GB, free: 60 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2778/1.782, allocations: 122.9 kB / 0.6979 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000911/1.783, allocations: 232.3 kB / 0.6981 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/1.783, allocations: 57.73 kB / 0.6982 GB, free: 100.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004204/1.787, allocations: 1.635 MB / 0.6998 GB, free: 100.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.02e-06/1.787, allocations: 0.6562 kB / 0.6998 GB, free: 100.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008018/1.795, allocations: 1.511 MB / 0.7013 GB, free: 100.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {4 55,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/1.796, allocations: 0.5001 MB / 0.7017 GB, free: 100.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01318/1.809, allocations: 6.17 MB / 0.7078 GB, free: 98.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.809, allocations: 4.094 kB / 0.7078 GB, free: 98.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004442/1.814, allocations: 1.982 MB / 0.7097 GB, free: 98.47 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004143/1.818, allocations: 0.6192 MB / 0.7103 GB, free: 98.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/1.836, allocations: 6.38 MB / 0.7165 GB, free: 97.08 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004159/1.84, allocations: 2.869 MB / 0.7194 GB, free: 96.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/1.841, allocations: 188.4 kB / 0.7195 GB, free: 96.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.63e-06/1.841, allocations: 0 / 0.7195 GB, free: 96.3 MB / 458.7 MB Notification: Performance of Templates: time 0.5136/2.355, allocations: 159.8 MB / 0.8756 GB, free: 114.2 MB / 474.7 MB