Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.port_p.Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.742/1.742, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.677e-05, allocations: 4 kB / 225 MB, free: 2.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2449, allocations: 38.77 MB / 263.8 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4478/0.6927, allocations: 106.9 MB / 370.7 MB, free: 91.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.693, allocations: 89.41 kB / 370.8 MB, free: 91.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8256/1.519, allocations: 181.4 MB / 0.5392 GB, free: 22.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.505e-06/1.519, allocations: 0 / 0.5392 GB, free: 22.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006977/1.519, allocations: 199.5 kB / 0.5394 GB, free: 22.4 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2140 * Number of variables: 2140 Notification: Performance of Generate backend data structure: time 0.02841/1.548, allocations: 7.599 MB / 0.5468 GB, free: 19.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.548, allocations: 7.906 kB / 0.5468 GB, free: 19.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008316/1.556, allocations: 1.357 MB / 0.5482 GB, free: 19.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01752/1.574, allocations: 5.851 MB / 0.5539 GB, free: 18.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000687/1.575, allocations: 0.596 MB / 0.5545 GB, free: 18.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002885/1.577, allocations: 0.7996 MB / 0.5552 GB, free: 18.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02987/1.607, allocations: 10.07 MB / 0.5651 GB, free: 17.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003111/1.608, allocations: 6.719 kB / 0.5651 GB, free: 17.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002238/1.61, allocations: 346.7 kB / 0.5654 GB, free: 17.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003298/1.61, allocations: 334 kB / 0.5657 GB, free: 17.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0225/1.633, allocations: 7.63 MB / 0.5732 GB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07346/1.706, allocations: 33.09 MB / 0.6055 GB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009684/1.716, allocations: 5.925 MB / 0.6113 GB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006679/1.723, allocations: 2.787 MB / 0.614 GB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002948/1.723, allocations: 33.52 kB / 0.614 GB, free: 2.734 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.758e-05/1.723, allocations: 68.88 kB / 0.6141 GB, free: 2.656 MB / 362.7 MB Notification: Performance of pre-optimization done (n=295): time 7.887e-06/1.723, allocations: 0 / 0.6141 GB, free: 2.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=353): time 0.03356/1.757, allocations: 11.61 MB / 0.6254 GB, free: 8.191 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/1.757, allocations: 90.17 kB / 0.6255 GB, free: 8.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009399/1.766, allocations: 3.741 MB / 0.6292 GB, free: 4.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005936/1.767, allocations: 85.7 kB / 0.6293 GB, free: 4.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003849/1.771, allocations: 3.631 MB / 0.6328 GB, free: 1.391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001745/1.773, allocations: 1.199 MB / 0.634 GB, free: 316 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/1.773, allocations: 80 kB / 0.6341 GB, free: 236 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.2439/2.017, allocations: 474.5 kB / 0.6345 GB, free: 50.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004642/2.022, allocations: 1.718 MB / 0.6362 GB, free: 50.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004922/2.027, allocations: 2.952 MB / 0.6391 GB, free: 48.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004833/2.031, allocations: 2.282 MB / 0.6413 GB, free: 48.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.52e-05/2.032, allocations: 11.19 kB / 0.6413 GB, free: 48.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=541) (initialization): time 0.01471/2.046, allocations: 6.019 MB / 0.6472 GB, free: 48.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.1e-05/2.046, allocations: 24.03 kB / 0.6472 GB, free: 48.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-05/2.046, allocations: 40.41 kB / 0.6472 GB, free: 48.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003223/2.05, allocations: 0.9238 MB / 0.6481 GB, free: 48.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004934/2.055, allocations: 0.9479 MB / 0.6491 GB, free: 48.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/2.072, allocations: 12.26 MB / 0.661 GB, free: 42.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005027/2.077, allocations: 231.4 kB / 0.6613 GB, free: 42.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008958/2.078, allocations: 178.4 kB / 0.6614 GB, free: 42.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 179 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (469): * Single equations (assignments): 461 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * 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: 4 {(4,93.8%) 19,(1,100.0%) 5,(4,93.8%) 19,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008925/2.079, allocations: 373.8 kB / 0.6618 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001242/2.08, allocations: 480.4 kB / 0.6623 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/2.094, allocations: 5.241 MB / 0.6674 GB, free: 42.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.727e-05/2.095, allocations: 40.7 kB / 0.6674 GB, free: 42.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.32e-05/2.095, allocations: 16.22 kB / 0.6674 GB, free: 42.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001286/2.095, allocations: 15.42 kB / 0.6674 GB, free: 42.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06806/2.163, allocations: 14.28 MB / 0.6814 GB, free: 40.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001161/2.163, allocations: 13.89 kB / 0.6814 GB, free: 40.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00707/2.17, allocations: 0.5627 MB / 0.6819 GB, free: 40.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00726/2.178, allocations: 1.076 MB / 0.683 GB, free: 40.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005654/2.178, allocations: 84.77 kB / 0.6831 GB, free: 40.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02195/2.2, allocations: 15.72 MB / 0.6984 GB, free: 31.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-05/2.2, allocations: 17.19 kB / 0.6984 GB, free: 31.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/2.216, allocations: 9.307 MB / 0.7075 GB, free: 25.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003352/2.22, allocations: 0.9648 MB / 0.7085 GB, free: 24.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/2.221, allocations: 91.36 kB / 0.7086 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003998/2.225, allocations: 199.6 kB / 0.7088 GB, free: 24.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009819/2.226, allocations: 295.2 kB / 0.709 GB, free: 24.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003669/2.227, allocations: 99.39 kB / 0.7091 GB, free: 24.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006938/2.234, allocations: 2.851 MB / 0.7119 GB, free: 23.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.228e-06/2.234, allocations: 0 / 0.7119 GB, free: 23.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007511/2.241, allocations: 1.458 MB / 0.7133 GB, free: 23.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.port_n.Phi.re,smeeM.stator.port_n.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smee3.phiMechanical,smee3.stator.port_n.Phi.re,smee3.stator.port_n.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (263): * Single equations (assignments): 256 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 19,(4,93.8%) 32,(4,93.8%) 19,(1,100.0%) 4,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001404/2.243, allocations: 0.6448 MB / 0.714 GB, free: 23.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01991/2.263, allocations: 5.329 MB / 0.7192 GB, free: 20.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-05/2.263, allocations: 4.062 kB / 0.7192 GB, free: 20.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02927/2.292, allocations: 3.607 MB / 0.7227 GB, free: 18.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02502/2.317, allocations: 1.07 MB / 0.7237 GB, free: 18.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05278/2.37, allocations: 12 MB / 0.7355 GB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009579/2.38, allocations: 5.128 MB / 0.7405 GB, free: 7.406 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004921/2.385, allocations: 0.9301 MB / 0.7414 GB, free: 6.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/2.386, allocations: 286.9 kB / 0.7417 GB, free: 6.496 MB / 378.7 MB Notification: Performance of SimCode: time 1.93e-06/2.386, allocations: 3.938 kB / 0.7417 GB, free: 6.492 MB / 378.7 MB Notification: Performance of Templates: time 0.4315/2.818, allocations: 68.11 MB / 0.8082 GB, free: 48.27 MB / 394.7 MB