Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 1.915/1.915, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.568e-05/2.585e-05, allocations: 3.219 kB / 255.4 MB, free: 3.164 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07932/0.07937, allocations: 44.51 MB / 299.9 MB, free: 6.594 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3809/0.4603, allocations: 114.9 MB / 414.8 MB, free: 11.67 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.4606, allocations: 77.86 kB / 414.9 MB, free: 11.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.375/0.8355, allocations: 101.5 MB / 0.5043 GB, free: 3.605 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.153e-06/0.8356, allocations: 4 kB / 0.5043 GB, free: 3.602 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004423/0.836, allocations: 107.9 kB / 0.5044 GB, free: 3.496 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1063 * Number of variables: 1063 Notification: Performance of Generate backend data structure: time 0.2543/1.09, allocations: 4.145 MB / 0.5084 GB, free: 54.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.09, allocations: 10.97 kB / 0.5084 GB, free: 54.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007304/1.098, allocations: 0.9518 MB / 0.5094 GB, free: 54.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01478/1.113, allocations: 3.906 MB / 0.5132 GB, free: 54.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000555/1.113, allocations: 481.5 kB / 0.5136 GB, free: 54.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001679/1.115, allocations: 409.1 kB / 0.514 GB, free: 54.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/1.132, allocations: 5.105 MB / 0.519 GB, free: 53.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002019/1.132, allocations: 9.531 kB / 0.519 GB, free: 53.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001344/1.134, allocations: 173.9 kB / 0.5192 GB, free: 53.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002219/1.134, allocations: 167.1 kB / 0.5194 GB, free: 53.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/1.147, allocations: 4.097 MB / 0.5234 GB, free: 53.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04139/1.188, allocations: 17.69 MB / 0.5406 GB, free: 49.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009333/1.197, allocations: 8.088 MB / 0.5485 GB, free: 44.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004229/1.202, allocations: 1.802 MB / 0.5503 GB, free: 44.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01484/1.217, allocations: 5.384 MB / 0.5555 GB, free: 42.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002387/1.219, allocations: 1.168 MB / 0.5567 GB, free: 41.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=173): time 5.812e-06/1.219, allocations: 2.625 kB / 0.5567 GB, free: 41.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=205): time 0.0192/1.238, allocations: 6.839 MB / 0.5634 GB, free: 38.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.239, allocations: 341.6 kB / 0.5637 GB, free: 38.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005009/1.244, allocations: 2.121 MB / 0.5658 GB, free: 37.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004035/1.244, allocations: 67.45 kB / 0.5658 GB, free: 37.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001784/1.246, allocations: 1.792 MB / 0.5676 GB, free: 36.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008573/1.247, allocations: 0.689 MB / 0.5683 GB, free: 35.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/1.247, allocations: 47.91 kB / 0.5683 GB, free: 35.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/1.247, allocations: 408.3 kB / 0.5687 GB, free: 35.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/1.249, allocations: 1.019 MB / 0.5697 GB, free: 34.81 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002912/1.252, allocations: 1.764 MB / 0.5714 GB, free: 33.51 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002916/1.255, allocations: 1.304 MB / 0.5727 GB, free: 33.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.658e-05/1.255, allocations: 3.875 kB / 0.5727 GB, free: 33.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.008628/1.264, allocations: 3.62 MB / 0.5762 GB, free: 31.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001615/1.266, allocations: 7.771 MB / 0.5838 GB, free: 23.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.156e-05/1.266, allocations: 18.84 kB / 0.5838 GB, free: 23.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003393/1.269, allocations: 1 MB / 0.5848 GB, free: 23.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/1.272, allocations: 474.4 kB / 0.5853 GB, free: 23.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/1.289, allocations: 14.13 MB / 0.5991 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/1.293, allocations: 172.8 kB / 0.5992 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005496/1.293, allocations: 106.7 kB / 0.5993 GB, free: 12.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.293, allocations: 3.938 kB / 0.5993 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008453/1.302, allocations: 3.515 MB / 0.6028 GB, free: 26.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.676e-05/1.302, allocations: 25.8 kB / 0.6028 GB, free: 26.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002945/1.305, allocations: 0.9809 MB / 0.6037 GB, free: 26.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/1.308, allocations: 464.4 kB / 0.6042 GB, free: 26.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/1.327, allocations: 14.15 MB / 0.618 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/1.329, allocations: 152.5 kB / 0.6181 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004782/1.33, allocations: 106.6 kB / 0.6182 GB, free: 15.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulsStart,loadControl.pulsStart,$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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 254 * 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.0007287/1.331, allocations: 270 kB / 0.6185 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008061/1.332, allocations: 281.6 kB / 0.6188 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008587/1.34, allocations: 3.19 MB / 0.6219 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/1.34, allocations: 19.91 kB / 0.6219 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.34, allocations: 0 / 0.6219 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.525e-05/1.34, allocations: 11.11 kB / 0.6219 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/1.358, allocations: 6.957 MB / 0.6287 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-05/1.358, allocations: 3.875 kB / 0.6287 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/1.36, allocations: 273 kB / 0.629 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003406/1.363, allocations: 1.026 MB / 0.63 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003996/1.364, allocations: 63.02 kB / 0.63 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02081/1.385, allocations: 11.52 MB / 0.6413 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.167e-06/1.385, allocations: 3.844 kB / 0.6413 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/1.397, allocations: 4.604 MB / 0.6458 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002264/1.399, allocations: 0.5868 MB / 0.6464 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.4, allocations: 59.33 kB / 0.6464 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002696/1.403, allocations: 130.9 kB / 0.6465 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008809/1.404, allocations: 231.8 kB / 0.6468 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/1.404, allocations: 58.38 kB / 0.6468 GB, free: 9.945 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004538/1.409, allocations: 1.618 MB / 0.6484 GB, free: 8.469 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.134e-06/1.409, allocations: 0 / 0.6484 GB, free: 8.469 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009085/1.418, allocations: 1.5 MB / 0.6499 GB, free: 6.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.pulsStart,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 (146): * Single equations (assignments): 138 * 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 54,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/1.419, allocations: 479 kB / 0.6503 GB, free: 6.586 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01499/1.434, allocations: 6.12 MB / 0.6563 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/1.434, allocations: 4 kB / 0.6563 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2479/1.682, allocations: 2.032 MB / 0.6583 GB, free: 79.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004417/1.686, allocations: 0.6131 MB / 0.6589 GB, free: 79.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/1.707, allocations: 6.334 MB / 0.6651 GB, free: 77.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005571/1.712, allocations: 2.85 MB / 0.6679 GB, free: 77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/1.714, allocations: 185.8 kB / 0.668 GB, free: 76.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.766e-06/1.714, allocations: 0 / 0.668 GB, free: 76.99 MB / 426.7 MB Notification: Performance of Templates: time 0.4542/2.168, allocations: 158.3 MB / 0.8226 GB, free: 93.6 MB / 442.7 MB