Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|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|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.721e-05, allocations: 4 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.08818, allocations: 50.41 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4124/0.5006, allocations: 126.3 MB / 469.4 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.501, allocations: 97.23 kB / 469.5 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6966/1.198, allocations: 116.3 MB / 0.5721 GB, free: 96.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.653e-06/1.198, allocations: 0 / 0.5721 GB, free: 96.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003824/1.198, allocations: 135.8 kB / 0.5722 GB, free: 96.91 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: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.01422/1.212, allocations: 4.898 MB / 0.577 GB, free: 95.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.212, allocations: 10.59 kB / 0.577 GB, free: 95.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006186/1.219, allocations: 0.9509 MB / 0.5779 GB, free: 94.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/1.231, allocations: 4.406 MB / 0.5822 GB, free: 93.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005262/1.232, allocations: 391.2 kB / 0.5826 GB, free: 93.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002479/1.235, allocations: 0.5036 MB / 0.5831 GB, free: 93.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01976/1.254, allocations: 6.494 MB / 0.5895 GB, free: 90.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001608/1.255, allocations: 11.42 kB / 0.5895 GB, free: 90.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007244/1.255, allocations: 219.1 kB / 0.5897 GB, free: 90.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002288/1.256, allocations: 232.4 kB / 0.5899 GB, free: 90.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/1.268, allocations: 5.173 MB / 0.5949 GB, free: 88.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03822/1.306, allocations: 21.13 MB / 0.6156 GB, free: 74.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007796/1.314, allocations: 8.447 MB / 0.6238 GB, free: 65.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00433/1.318, allocations: 2.006 MB / 0.6258 GB, free: 63.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0125/1.331, allocations: 6.012 MB / 0.6317 GB, free: 57.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/1.331, allocations: 52.56 kB / 0.6317 GB, free: 57.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=208): time 5.818e-06/1.331, allocations: 0 / 0.6317 GB, free: 57.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=232): time 0.02251/1.353, allocations: 9.3 MB / 0.6408 GB, free: 47.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/1.353, allocations: 77.41 kB / 0.6409 GB, free: 47.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00448/1.358, allocations: 2.5 MB / 0.6433 GB, free: 45.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002452/1.358, allocations: 65.7 kB / 0.6434 GB, free: 45.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/1.36, allocations: 2.353 MB / 0.6457 GB, free: 42.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00065/1.36, allocations: 0.7911 MB / 0.6464 GB, free: 42.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/1.361, allocations: 60 kB / 0.6465 GB, free: 41.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/1.361, allocations: 424.1 kB / 0.6469 GB, free: 41.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002345/1.363, allocations: 1.244 MB / 0.6481 GB, free: 40.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002768/1.366, allocations: 2.107 MB / 0.6502 GB, free: 37.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002943/1.369, allocations: 1.634 MB / 0.6518 GB, free: 36.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-05/1.369, allocations: 8 kB / 0.6518 GB, free: 36.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.008699/1.378, allocations: 4.402 MB / 0.6561 GB, free: 31.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/1.378, allocations: 16 kB / 0.6561 GB, free: 31.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/1.378, allocations: 31.95 kB / 0.6561 GB, free: 31.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002168/1.38, allocations: 0.7262 MB / 0.6568 GB, free: 30.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003151/1.383, allocations: 0.6825 MB / 0.6575 GB, free: 30.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/1.394, allocations: 9.379 MB / 0.6667 GB, free: 20.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003196/1.397, allocations: 195.7 kB / 0.6668 GB, free: 20.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003406/1.397, allocations: 132.1 kB / 0.667 GB, free: 19.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (343): * Single equations (assignments): 337 * 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 {(6,75.0%) 22,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005697/1.398, allocations: 284 kB / 0.6672 GB, free: 19.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006047/1.398, allocations: 320.2 kB / 0.6675 GB, free: 19.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008739/1.407, allocations: 4.009 MB / 0.6715 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/1.407, allocations: 24 kB / 0.6715 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/1.407, allocations: 8 kB / 0.6715 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/1.407, allocations: 11.95 kB / 0.6715 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/1.424, allocations: 8.638 MB / 0.6799 GB, free: 6.461 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.424, allocations: 4 kB / 0.6799 GB, free: 6.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/1.427, allocations: 387.8 kB / 0.6803 GB, free: 6.078 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003204/1.43, allocations: 0.9305 MB / 0.6812 GB, free: 5.129 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003357/1.43, allocations: 67.97 kB / 0.6813 GB, free: 5.062 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2799/1.71, allocations: 15.47 MB / 0.6964 GB, free: 82.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.585e-06/1.71, allocations: 5.281 kB / 0.6964 GB, free: 82.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/1.722, allocations: 5.908 MB / 0.7022 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/1.724, allocations: 0.6688 MB / 0.7028 GB, free: 81.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005938/1.725, allocations: 55.83 kB / 0.7029 GB, free: 81.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/1.727, allocations: 149.1 kB / 0.703 GB, free: 81.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005242/1.728, allocations: 186.2 kB / 0.7032 GB, free: 81.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00024/1.728, allocations: 64.25 kB / 0.7033 GB, free: 81.06 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004134/1.732, allocations: 1.89 MB / 0.7051 GB, free: 80.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.058e-06/1.732, allocations: 1.094 kB / 0.7051 GB, free: 80.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004562/1.737, allocations: 1.016 MB / 0.7061 GB, free: 80.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 13 (vfController.x,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,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],loadInertiaM.phi,loadInertiaE.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * 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 {(6,72.2%) 22,(1,100.0%) 5,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/1.738, allocations: 0.5497 MB / 0.7066 GB, free: 80.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007147/1.745, allocations: 3.856 MB / 0.7104 GB, free: 80.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.754e-06/1.745, allocations: 0 / 0.7104 GB, free: 80.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005109/1.75, allocations: 2.61 MB / 0.7129 GB, free: 79.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004356/1.754, allocations: 0.7735 MB / 0.7137 GB, free: 79.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/1.772, allocations: 7.828 MB / 0.7213 GB, free: 77.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004277/1.776, allocations: 3.409 MB / 0.7247 GB, free: 76.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003763/1.78, allocations: 0.7497 MB / 0.7254 GB, free: 76.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009074/1.781, allocations: 218.7 kB / 0.7256 GB, free: 76.43 MB / 442.7 MB Notification: Performance of SimCode: time 1.839e-06/1.781, allocations: 0 / 0.7256 GB, free: 76.43 MB / 442.7 MB Notification: Performance of Templates: time 0.1205/1.901, allocations: 49.49 MB / 0.7739 GB, free: 60.66 MB / 442.7 MB