Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.872e-05, allocations: 4 kB / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08276/0.08281, allocations: 47.57 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4479/0.5308, allocations: 119.4 MB / 436.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.5311, allocations: 81.77 kB / 436.4 MB, free: 1.375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7931/1.324, allocations: 160.5 MB / 0.5829 GB, free: 80.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.43e-06/1.324, allocations: 3.938 kB / 0.5829 GB, free: 80.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000378/1.325, allocations: 104 kB / 0.583 GB, free: 80 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01359/1.338, allocations: 3.914 MB / 0.5868 GB, free: 78.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.338, allocations: 7.25 kB / 0.5869 GB, free: 78.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007186/1.345, allocations: 0.9189 MB / 0.5877 GB, free: 77.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01208/1.358, allocations: 3.802 MB / 0.5915 GB, free: 75.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003703/1.358, allocations: 307.9 kB / 0.5918 GB, free: 75.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001334/1.359, allocations: 395.2 kB / 0.5921 GB, free: 75.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/1.373, allocations: 4.973 MB / 0.597 GB, free: 73.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000141/1.373, allocations: 7.938 kB / 0.597 GB, free: 73.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009244/1.374, allocations: 174.6 kB / 0.5972 GB, free: 73.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/1.374, allocations: 174.8 kB / 0.5973 GB, free: 73.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/1.386, allocations: 3.979 MB / 0.6012 GB, free: 70.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03564/1.421, allocations: 16.93 MB / 0.6177 GB, free: 54.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007226/1.429, allocations: 8.24 MB / 0.6258 GB, free: 45.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/1.432, allocations: 1.617 MB / 0.6274 GB, free: 43.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/1.442, allocations: 4.839 MB / 0.6321 GB, free: 38.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/1.443, allocations: 51.88 kB / 0.6322 GB, free: 38.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 5.082e-06/1.443, allocations: 0 / 0.6322 GB, free: 38.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=153): time 0.0101/1.453, allocations: 4.491 MB / 0.6365 GB, free: 34.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/1.453, allocations: 68.72 kB / 0.6366 GB, free: 34.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003969/1.457, allocations: 1.977 MB / 0.6385 GB, free: 32.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002831/1.457, allocations: 49.7 kB / 0.6386 GB, free: 32.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/1.458, allocations: 1.851 MB / 0.6404 GB, free: 30.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006149/1.459, allocations: 0.529 MB / 0.6409 GB, free: 29.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/1.459, allocations: 48 kB / 0.6409 GB, free: 29.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/1.459, allocations: 386 kB / 0.6413 GB, free: 29.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/1.461, allocations: 0.746 MB / 0.642 GB, free: 28.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002033/1.463, allocations: 1.426 MB / 0.6434 GB, free: 26.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/1.465, allocations: 1.004 MB / 0.6444 GB, free: 25.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/1.465, allocations: 11.95 kB / 0.6444 GB, free: 25.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.005752/1.471, allocations: 2.587 MB / 0.647 GB, free: 23.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/1.471, allocations: 15.95 kB / 0.647 GB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/1.471, allocations: 24 kB / 0.647 GB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000383/1.471, allocations: 118.1 kB / 0.6471 GB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002663/1.474, allocations: 0.5383 MB / 0.6476 GB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/1.476, allocations: 1.807 MB / 0.6494 GB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/1.478, allocations: 119.9 kB / 0.6495 GB, free: 20.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004503/1.479, allocations: 96 kB / 0.6496 GB, free: 20.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 257 * 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: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004671/1.479, allocations: 232.2 kB / 0.6498 GB, free: 20 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006046/1.48, allocations: 241.1 kB / 0.6501 GB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004725/1.485, allocations: 2.265 MB / 0.6523 GB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/1.485, allocations: 16 kB / 0.6523 GB, free: 17.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.485, allocations: 4 kB / 0.6523 GB, free: 17.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/1.485, allocations: 11.92 kB / 0.6523 GB, free: 17.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/1.497, allocations: 5.544 MB / 0.6577 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/1.497, allocations: 0 / 0.6577 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.498, allocations: 291.8 kB / 0.658 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/1.5, allocations: 309.6 kB / 0.6583 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/1.5, allocations: 39.98 kB / 0.6583 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006795/1.507, allocations: 6.292 MB / 0.6645 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.052e-06/1.507, allocations: 4.031 kB / 0.6645 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006236/1.513, allocations: 3.403 MB / 0.6678 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002348/1.515, allocations: 497.9 kB / 0.6683 GB, free: 396 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001171/1.517, allocations: 35.94 kB / 0.6683 GB, free: 360 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002527/1.519, allocations: 95.92 kB / 0.6684 GB, free: 264 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004975/1.52, allocations: 109.2 kB / 0.6685 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/1.52, allocations: 43.97 kB / 0.6685 GB, free: 108 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.2713/1.791, allocations: 1.495 MB / 0.67 GB, free: 83.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.285e-06/1.791, allocations: 0 / 0.67 GB, free: 83.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00409/1.795, allocations: 0.7215 MB / 0.6707 GB, free: 83.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001011/1.796, allocations: 468.9 kB / 0.6712 GB, free: 83.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004748/1.801, allocations: 2.016 MB / 0.6731 GB, free: 83.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.497e-06/1.801, allocations: 0 / 0.6731 GB, free: 83.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00308/1.804, allocations: 1.321 MB / 0.6744 GB, free: 82.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/1.808, allocations: 0.5584 MB / 0.675 GB, free: 82.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/1.824, allocations: 5.529 MB / 0.6804 GB, free: 81.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00422/1.828, allocations: 2.739 MB / 0.683 GB, free: 80.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003277/1.832, allocations: 0.546 MB / 0.6836 GB, free: 80.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008228/1.833, allocations: 162.6 kB / 0.6837 GB, free: 80.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.734e-06/1.833, allocations: 1.781 kB / 0.6837 GB, free: 80.8 MB / 426.7 MB Notification: Performance of Templates: time 0.0892/1.922, allocations: 33.5 MB / 0.7164 GB, free: 78.87 MB / 426.7 MB