Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// smpm.stator.zeroInductor.i0|smpm.is.1.|smpm.is.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking") Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.487e-05/2.472e-05, allocations: 0 / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08447/0.08452, allocations: 47.57 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4367/0.5213, allocations: 115.6 MB / 432.5 MB, free: 5.164 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.5216, allocations: 81.95 kB / 432.6 MB, free: 5.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2842/0.8058, allocations: 76.94 MB / 0.4976 GB, free: 14.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.11e-06/0.8059, allocations: 0 / 0.4976 GB, free: 14.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003403/0.8062, allocations: 87.88 kB / 0.4977 GB, free: 14.19 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: 818 * Number of variables: 818 Notification: Performance of Generate backend data structure: time 0.01136/0.8176, allocations: 3.188 MB / 0.5008 GB, free: 10.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.8177, allocations: 8.031 kB / 0.5008 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004244/0.8219, allocations: 0.6006 MB / 0.5014 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.8328, allocations: 3.128 MB / 0.5045 GB, free: 7.145 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003687/0.8332, allocations: 242.2 kB / 0.5047 GB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/0.8344, allocations: 311.9 kB / 0.505 GB, free: 6.602 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.8456, allocations: 4.022 MB / 0.5089 GB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-05/0.8458, allocations: 4 kB / 0.5089 GB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004958/0.8463, allocations: 136 kB / 0.5091 GB, free: 2.281 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000223/0.8465, allocations: 138.1 kB / 0.5092 GB, free: 2.145 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2794/1.126, allocations: 3.217 MB / 0.5123 GB, free: 91.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03108/1.157, allocations: 13.81 MB / 0.5258 GB, free: 88.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006262/1.163, allocations: 5.825 MB / 0.5315 GB, free: 84.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002979/1.166, allocations: 1.329 MB / 0.5328 GB, free: 84.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007512/1.174, allocations: 3.193 MB / 0.5359 GB, free: 83.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/1.174, allocations: 50.44 kB / 0.536 GB, free: 83.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=137): time 4.893e-06/1.174, allocations: 0 / 0.536 GB, free: 83.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=141): time 0.00938/1.183, allocations: 4.528 MB / 0.5404 GB, free: 82.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/1.184, allocations: 99.28 kB / 0.5405 GB, free: 82.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003456/1.187, allocations: 1.677 MB / 0.5421 GB, free: 82.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002538/1.187, allocations: 50.83 kB / 0.5422 GB, free: 82.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009941/1.188, allocations: 1.453 MB / 0.5436 GB, free: 81.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005142/1.189, allocations: 485.7 kB / 0.5441 GB, free: 81.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/1.189, allocations: 35.59 kB / 0.5441 GB, free: 81.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/1.189, allocations: 376.8 kB / 0.5444 GB, free: 80.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/1.191, allocations: 0.7159 MB / 0.5451 GB, free: 80.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/1.192, allocations: 1.231 MB / 0.5463 GB, free: 80.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/1.194, allocations: 0.9069 MB / 0.5472 GB, free: 80.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/1.194, allocations: 3.656 kB / 0.5472 GB, free: 80.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.005672/1.2, allocations: 2.635 MB / 0.5498 GB, free: 80.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001289/1.201, allocations: 6.607 MB / 0.5563 GB, free: 73.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.632e-05/1.201, allocations: 15.5 kB / 0.5563 GB, free: 73.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/1.203, allocations: 0.5171 MB / 0.5568 GB, free: 73.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/1.205, allocations: 370 kB / 0.5571 GB, free: 73.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008312/1.213, allocations: 7.232 MB / 0.5642 GB, free: 67.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/1.216, allocations: 97.81 kB / 0.5643 GB, free: 67.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000305/1.216, allocations: 77.58 kB / 0.5644 GB, free: 67.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.216, allocations: 3.656 kB / 0.5644 GB, free: 67.6 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004746/1.221, allocations: 2.423 MB / 0.5667 GB, free: 66.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-05/1.221, allocations: 15.75 kB / 0.5668 GB, free: 66.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/1.222, allocations: 0.5177 MB / 0.5673 GB, free: 66.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/1.224, allocations: 366 kB / 0.5676 GB, free: 66.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007951/1.232, allocations: 7.242 MB / 0.5747 GB, free: 61.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/1.234, allocations: 89.22 kB / 0.5748 GB, free: 61.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003514/1.235, allocations: 71.03 kB / 0.5748 GB, free: 61 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 (diodeBridge2mPulse.diode_p.idealDiode[1].off,diodeBridge2mPulse.diode_p.idealDiode[2].off,diodeBridge2mPulse.diode_p.idealDiode[3].off,diodeBridge2mPulse.diode_n.idealDiode[1].off,diodeBridge2mPulse.diode_n.idealDiode[2].off,diodeBridge2mPulse.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 183 * 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: 3 * 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: 2 {(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.0005027/1.235, allocations: 230.5 kB / 0.5751 GB, free: 60.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005516/1.236, allocations: 208.5 kB / 0.5752 GB, free: 60.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0049/1.241, allocations: 2.429 MB / 0.5776 GB, free: 59.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.241, allocations: 14.75 kB / 0.5776 GB, free: 59.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.241, allocations: 3.406 kB / 0.5776 GB, free: 59.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-05/1.241, allocations: 7.734 kB / 0.5776 GB, free: 59.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/1.252, allocations: 5.298 MB / 0.5828 GB, free: 57.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/1.252, allocations: 0 / 0.5828 GB, free: 57.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.253, allocations: 180 kB / 0.583 GB, free: 57.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002096/1.255, allocations: 0.6548 MB / 0.5836 GB, free: 56.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/1.255, allocations: 29.22 kB / 0.5837 GB, free: 56.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/1.268, allocations: 11.27 MB / 0.5947 GB, free: 48.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.307e-06/1.268, allocations: 3.531 kB / 0.5947 GB, free: 48.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006388/1.275, allocations: 3.655 MB / 0.5982 GB, free: 46.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.276, allocations: 467 kB / 0.5987 GB, free: 45.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003662/1.276, allocations: 34.11 kB / 0.5987 GB, free: 45.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/1.278, allocations: 74.75 kB / 0.5988 GB, free: 45.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003383/1.278, allocations: 125 kB / 0.5989 GB, free: 45.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/1.278, allocations: 40 kB / 0.5989 GB, free: 45.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002364/1.281, allocations: 1.281 MB / 0.6002 GB, free: 45.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.113e-06/1.281, allocations: 0 / 0.6002 GB, free: 45.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005183/1.286, allocations: 1.107 MB / 0.6013 GB, free: 45.06 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 5 (smpm.inertiaRotor.phi,smpm.stator.core.Phi.re,smpm.stator.core.Phi.im,smpm.stator.zeroInductor.i0,inertiaLoad.w) * Number of discrete variables: 6 (diodeBridge2mPulse.diode_p.idealDiode[1].off,diodeBridge2mPulse.diode_p.idealDiode[2].off,diodeBridge2mPulse.diode_p.idealDiode[3].off,diodeBridge2mPulse.diode_n.idealDiode[1].off,diodeBridge2mPulse.diode_n.idealDiode[2].off,diodeBridge2mPulse.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {6 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008804/1.287, allocations: 0.5004 MB / 0.6018 GB, free: 44.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007227/1.294, allocations: 4.028 MB / 0.6057 GB, free: 42.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.78e-06/1.294, allocations: 4.75 kB / 0.6057 GB, free: 42.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003223/1.297, allocations: 1.705 MB / 0.6074 GB, free: 41.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/1.301, allocations: 0.606 MB / 0.608 GB, free: 41.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/1.312, allocations: 4.742 MB / 0.6126 GB, free: 39.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002764/1.315, allocations: 2.374 MB / 0.6149 GB, free: 38.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003837/1.319, allocations: 0.7995 MB / 0.6157 GB, free: 38.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/1.32, allocations: 101.4 kB / 0.6158 GB, free: 38.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.671e-06/1.32, allocations: 0 / 0.6158 GB, free: 38.41 MB / 426.7 MB Notification: Performance of Templates: time 0.09355/1.413, allocations: 43.73 MB / 0.6585 GB, free: 6.316 MB / 426.7 MB