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.952/1.952, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.424e-05/2.438e-05, allocations: 7.938 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2488, allocations: 44.49 MB / 294.1 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.4225, allocations: 114.3 MB / 408.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.4228, allocations: 83.95 kB / 408.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5848/1.008, allocations: 100.2 MB / 0.4968 GB, free: 42.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.967e-06/1.008, allocations: 0 / 0.4968 GB, free: 42.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003596/1.008, allocations: 107.2 kB / 0.4969 GB, free: 41.96 MB / 362.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.01345/1.022, allocations: 4.142 MB / 0.5009 GB, free: 37.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/1.022, allocations: 8.031 kB / 0.5009 GB, free: 37.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006795/1.028, allocations: 0.9507 MB / 0.5018 GB, free: 36.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/1.04, allocations: 3.921 MB / 0.5057 GB, free: 32.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003535/1.041, allocations: 342.4 kB / 0.506 GB, free: 32.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001238/1.042, allocations: 251.8 kB / 0.5062 GB, free: 32.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01023/1.052, allocations: 3.898 MB / 0.51 GB, free: 28.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/1.065, allocations: 4.559 MB / 0.5145 GB, free: 23.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/1.065, allocations: 11.94 kB / 0.5145 GB, free: 23.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005326/1.066, allocations: 4 kB / 0.5145 GB, free: 23.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001519/1.066, allocations: 168.1 kB / 0.5147 GB, free: 23.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03454/1.101, allocations: 16.92 MB / 0.5312 GB, free: 5.988 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008607/1.109, allocations: 8 MB / 0.539 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004135/1.113, allocations: 1.732 MB / 0.5407 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0142/1.128, allocations: 5.244 MB / 0.5458 GB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002463/1.13, allocations: 1.128 MB / 0.5469 GB, free: 4.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=173): time 6.696e-06/1.13, allocations: 0 / 0.5469 GB, free: 4.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=205): time 0.02254/1.153, allocations: 7.044 MB / 0.5538 GB, free: 13.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002407/1.153, allocations: 338.4 kB / 0.5541 GB, free: 13.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004298/1.157, allocations: 1.772 MB / 0.5558 GB, free: 11.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003856/1.158, allocations: 41.69 kB / 0.5559 GB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002294/1.16, allocations: 1.815 MB / 0.5577 GB, free: 9.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/1.161, allocations: 0.6621 MB / 0.5583 GB, free: 8.879 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/1.161, allocations: 0 / 0.5583 GB, free: 8.879 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000311/1.162, allocations: 411.8 kB / 0.5587 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002324/1.164, allocations: 0.985 MB / 0.5597 GB, free: 7.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/1.167, allocations: 1.704 MB / 0.5613 GB, free: 5.461 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003775/1.171, allocations: 1.395 MB / 0.5627 GB, free: 4.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.054e-05/1.171, allocations: 8 kB / 0.5627 GB, free: 4.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.009554/1.181, allocations: 3.557 MB / 0.5662 GB, free: 460 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2368/1.418, allocations: 7.756 MB / 0.5737 GB, free: 68.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.752e-05/1.418, allocations: 19.84 kB / 0.5738 GB, free: 68.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003834/1.421, allocations: 0.9996 MB / 0.5747 GB, free: 68.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002497/1.424, allocations: 472.7 kB / 0.5752 GB, free: 68.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/1.442, allocations: 13.65 MB / 0.5885 GB, free: 60.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/1.445, allocations: 119.4 kB / 0.5886 GB, free: 60.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005654/1.446, allocations: 104.4 kB / 0.5887 GB, free: 60.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.446, allocations: 4.5 kB / 0.5887 GB, free: 60.53 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008237/1.454, allocations: 3.413 MB / 0.5921 GB, free: 60.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.001e-05/1.454, allocations: 18.75 kB / 0.5921 GB, free: 60.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002783/1.457, allocations: 0.9777 MB / 0.593 GB, free: 60.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/1.459, allocations: 465.9 kB / 0.5935 GB, free: 60.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/1.476, allocations: 13.67 MB / 0.6068 GB, free: 52.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/1.479, allocations: 106.7 kB / 0.6069 GB, free: 52.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004701/1.479, allocations: 102.8 kB / 0.607 GB, free: 52.66 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.v[3]:VARIABLE(unit = "V" ) "Voltage drops between the two plugs" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.v[1]:VARIABLE(unit = "V" ) "Voltage drops between the two plugs" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.v[2]:VARIABLE(unit = "V" ) "Voltage drops between the two plugs" type: Real [3] 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.0007689/1.48, allocations: 206.4 kB / 0.6072 GB, free: 52.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007439/1.481, allocations: 251.6 kB / 0.6075 GB, free: 52.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007984/1.489, allocations: 3.116 MB / 0.6105 GB, free: 52.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.441e-05/1.489, allocations: 21.36 kB / 0.6105 GB, free: 52.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.123e-06/1.489, allocations: 5.453 kB / 0.6105 GB, free: 52.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.404e-05/1.489, allocations: 10.73 kB / 0.6106 GB, free: 52.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/1.504, allocations: 6.349 MB / 0.6168 GB, free: 51.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.851e-05/1.504, allocations: 3.797 kB / 0.6168 GB, free: 51.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/1.506, allocations: 277.7 kB / 0.617 GB, free: 51.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003455/1.51, allocations: 1.007 MB / 0.618 GB, free: 51.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003456/1.51, allocations: 32.88 kB / 0.618 GB, free: 51.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/1.527, allocations: 11.16 MB / 0.6289 GB, free: 46.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.563e-06/1.527, allocations: 3 kB / 0.6289 GB, free: 46.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/1.537, allocations: 4.53 MB / 0.6334 GB, free: 44.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0019/1.539, allocations: 0.5517 MB / 0.6339 GB, free: 44.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008933/1.54, allocations: 22.47 kB / 0.6339 GB, free: 44.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002412/1.542, allocations: 94.09 kB / 0.634 GB, free: 44.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007886/1.543, allocations: 240.2 kB / 0.6342 GB, free: 43.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002474/1.543, allocations: 59.77 kB / 0.6343 GB, free: 43.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00307/1.546, allocations: 1.322 MB / 0.6356 GB, free: 43.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.383e-06/1.546, allocations: 3.094 kB / 0.6356 GB, free: 43.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008274/1.555, allocations: 1.311 MB / 0.6369 GB, free: 43.39 MB / 394.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.0009676/1.556, allocations: 402.8 kB / 0.6373 GB, free: 43.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01213/1.568, allocations: 6.008 MB / 0.6431 GB, free: 40.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/1.568, allocations: 4 kB / 0.6431 GB, free: 40.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004273/1.572, allocations: 1.938 MB / 0.645 GB, free: 39.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/1.576, allocations: 482 kB / 0.6455 GB, free: 38.92 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/1.593, allocations: 6.191 MB / 0.6515 GB, free: 36.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004186/1.597, allocations: 2.848 MB / 0.6543 GB, free: 35.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009973/1.598, allocations: 179.3 kB / 0.6545 GB, free: 35.22 MB / 394.7 MB Notification: Performance of SimCode: time 2.07e-06/1.598, allocations: 0 / 0.6545 GB, free: 35.22 MB / 394.7 MB Notification: Performance of Templates: time 0.435/2.033, allocations: 155.9 MB / 0.8067 GB, free: 45.12 MB / 410.7 MB