Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.is.1.|smrM.is.2.|smrM.is.3.|smrM.is.4.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.428e-05/2.437e-05, allocations: 0 / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09038/0.09043, allocations: 50.41 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3926/0.4831, allocations: 115.8 MB / 458.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.4835, allocations: 101 kB / 459 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7997/1.283, allocations: 159.9 MB / 0.6045 GB, free: 82.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.177e-06/1.283, allocations: 0 / 0.6045 GB, free: 82.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004522/1.284, allocations: 174.5 kB / 0.6046 GB, free: 82.83 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.01918/1.303, allocations: 6.449 MB / 0.6109 GB, free: 78.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.303, allocations: 10.19 kB / 0.6109 GB, free: 78.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/1.313, allocations: 1.523 MB / 0.6124 GB, free: 78.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/1.328, allocations: 5.745 MB / 0.618 GB, free: 72.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003744/1.328, allocations: 0.5183 MB / 0.6185 GB, free: 72.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001293/1.329, allocations: 0.6859 MB / 0.6192 GB, free: 71.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02146/1.351, allocations: 8.948 MB / 0.6279 GB, free: 62.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002087/1.351, allocations: 7.906 kB / 0.628 GB, free: 62.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00121/1.352, allocations: 294.5 kB / 0.6282 GB, free: 62.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003135/1.353, allocations: 318.2 kB / 0.6285 GB, free: 61.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/1.372, allocations: 7.245 MB / 0.6356 GB, free: 54.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0564/1.429, allocations: 28.85 MB / 0.6638 GB, free: 25.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/1.443, allocations: 16.4 MB / 0.6798 GB, free: 7.215 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005466/1.449, allocations: 2.886 MB / 0.6826 GB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2842/1.733, allocations: 7.77 MB / 0.6902 GB, free: 76.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/1.733, allocations: 62.2 kB / 0.6903 GB, free: 75.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=256): time 7.183e-06/1.733, allocations: 3.531 kB / 0.6903 GB, free: 75.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=262): time 0.01891/1.752, allocations: 7.803 MB / 0.6979 GB, free: 74.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/1.752, allocations: 81.91 kB / 0.698 GB, free: 74.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/1.764, allocations: 2.916 MB / 0.7008 GB, free: 74.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000724/1.765, allocations: 68.42 kB / 0.7009 GB, free: 74.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004175/1.769, allocations: 3.036 MB / 0.7038 GB, free: 73.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001686/1.771, allocations: 0.9052 MB / 0.7047 GB, free: 72.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004788/1.771, allocations: 68 kB / 0.7048 GB, free: 72.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003795/1.772, allocations: 446.4 kB / 0.7052 GB, free: 72.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005622/1.777, allocations: 1.306 MB / 0.7065 GB, free: 72.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006158/1.783, allocations: 2.298 MB / 0.7087 GB, free: 70.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00633/1.79, allocations: 1.761 MB / 0.7105 GB, free: 70.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-05/1.79, allocations: 7.344 kB / 0.7105 GB, free: 70.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01731/1.807, allocations: 4.418 MB / 0.7148 GB, free: 70.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.933e-05/1.807, allocations: 19.78 kB / 0.7148 GB, free: 70.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-05/1.807, allocations: 36.48 kB / 0.7148 GB, free: 70.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/1.81, allocations: 400.1 kB / 0.7152 GB, free: 70.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007834/1.818, allocations: 0.787 MB / 0.716 GB, free: 70.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/1.83, allocations: 7.313 MB / 0.7231 GB, free: 65.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006911/1.837, allocations: 165.8 kB / 0.7233 GB, free: 65.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003498/1.837, allocations: 147.3 kB / 0.7234 GB, free: 65.24 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (406): * Single equations (assignments): 400 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006749/1.838, allocations: 308.2 kB / 0.7237 GB, free: 65.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006069/1.839, allocations: 369.9 kB / 0.7241 GB, free: 64.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009004/1.848, allocations: 4.086 MB / 0.7281 GB, free: 64.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/1.848, allocations: 24.5 kB / 0.7281 GB, free: 64.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/1.848, allocations: 13.34 kB / 0.7281 GB, free: 64.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.027e-05/1.848, allocations: 11.11 kB / 0.7281 GB, free: 64.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/1.868, allocations: 9.686 MB / 0.7376 GB, free: 62.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/1.868, allocations: 3.75 kB / 0.7376 GB, free: 62.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002706/1.871, allocations: 406 kB / 0.738 GB, free: 62.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003388/1.874, allocations: 0.8515 MB / 0.7388 GB, free: 62.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003824/1.875, allocations: 66.95 kB / 0.7389 GB, free: 62.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01851/1.893, allocations: 16.02 MB / 0.7545 GB, free: 49.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.956e-06/1.893, allocations: 5.656 kB / 0.7545 GB, free: 49.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/1.904, allocations: 6.082 MB / 0.7604 GB, free: 46.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/1.907, allocations: 0.7448 MB / 0.7612 GB, free: 45.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007314/1.907, allocations: 61.12 kB / 0.7612 GB, free: 45.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/1.909, allocations: 151.4 kB / 0.7614 GB, free: 45.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005193/1.91, allocations: 195.7 kB / 0.7616 GB, free: 45.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/1.91, allocations: 80.09 kB / 0.7616 GB, free: 45.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00405/1.914, allocations: 2.208 MB / 0.7638 GB, free: 44.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.96e-07/1.914, allocations: 0 / 0.7638 GB, free: 44.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005396/1.92, allocations: 1.194 MB / 0.765 GB, free: 44.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (194): * Single equations (assignments): 187 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/1.921, allocations: 0.6523 MB / 0.7656 GB, free: 44.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006693/1.928, allocations: 3.841 MB / 0.7693 GB, free: 42.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.335e-06/1.928, allocations: 0 / 0.7693 GB, free: 42.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005132/1.933, allocations: 2.704 MB / 0.772 GB, free: 41.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005566/1.938, allocations: 0.9215 MB / 0.7729 GB, free: 41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02246/1.961, allocations: 9.827 MB / 0.7825 GB, free: 36.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005725/1.967, allocations: 4.341 MB / 0.7867 GB, free: 32.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004175/1.971, allocations: 0.8292 MB / 0.7875 GB, free: 32.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009607/1.972, allocations: 250.1 kB / 0.7878 GB, free: 32.18 MB / 442.7 MB Notification: Performance of SimCode: time 2.426e-06/1.972, allocations: 0 / 0.7878 GB, free: 32.18 MB / 442.7 MB Notification: Performance of Templates: time 0.1363/2.108, allocations: 55.27 MB / 0.8417 GB, free: 7.375 MB / 458.7 MB