Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking") Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.118e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08361/0.08367, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4273/0.511, allocations: 110.1 MB / 427 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.5113, allocations: 88.19 kB / 427.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2211/0.7325, allocations: 54.98 MB / 482.1 MB, free: 10.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.03e-06/0.7325, allocations: 0 / 482.1 MB, free: 10.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002434/0.7328, allocations: 75.81 kB / 482.2 MB, free: 10.02 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.007264/0.7401, allocations: 2.637 MB / 484.8 MB, free: 7.324 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.7401, allocations: 12.03 kB / 484.8 MB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.7417, allocations: 356 kB / 485.2 MB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005448/0.7472, allocations: 1.94 MB / 487.1 MB, free: 4.965 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.7474, allocations: 193.7 kB / 487.3 MB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005975/0.748, allocations: 248 kB / 487.5 MB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007801/0.7559, allocations: 3.3 MB / 490.8 MB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.821e-05/0.756, allocations: 11.89 kB / 490.8 MB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003688/0.7564, allocations: 108 kB / 490.9 MB, free: 0.9453 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.7565, allocations: 112.8 kB / 491.1 MB, free: 0.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006593/0.7631, allocations: 2.669 MB / 493.7 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02376/0.7869, allocations: 10.91 MB / 0.4928 GB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004371/0.7914, allocations: 2.395 MB / 0.4951 GB, free: 400 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002411/0.7938, allocations: 1.06 MB / 0.4962 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003865/0.7942, allocations: 138.4 kB / 0.4963 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/0.7943, allocations: 55.86 kB / 0.4964 GB, free: 15.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 5.109e-06/0.7943, allocations: 0 / 0.4964 GB, free: 15.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=150): time 0.0155/0.8098, allocations: 5.491 MB / 0.5017 GB, free: 9.574 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/0.81, allocations: 94.42 kB / 0.5018 GB, free: 9.461 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003675/0.8136, allocations: 1.576 MB / 0.5034 GB, free: 7.891 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002974/0.814, allocations: 49.7 kB / 0.5034 GB, free: 7.836 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.8154, allocations: 1.214 MB / 0.5046 GB, free: 6.605 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007518/0.8161, allocations: 0.5044 MB / 0.5051 GB, free: 6.094 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.8163, allocations: 36 kB / 0.5051 GB, free: 6.059 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002627/0.8166, allocations: 377.9 kB / 0.5055 GB, free: 5.684 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.8186, allocations: 0.82 MB / 0.5063 GB, free: 4.863 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/0.821, allocations: 1.263 MB / 0.5075 GB, free: 3.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002566/0.8236, allocations: 1.016 MB / 0.5085 GB, free: 2.391 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/0.8237, allocations: 4 kB / 0.5085 GB, free: 2.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.2382/1.062, allocations: 2.757 MB / 0.5112 GB, free: 107.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001131/1.063, allocations: 5.583 MB / 0.5167 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/1.063, allocations: 14.31 kB / 0.5167 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002232/1.065, allocations: 0.6608 MB / 0.5173 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/1.067, allocations: 374.2 kB / 0.5177 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/1.079, allocations: 8.264 MB / 0.5257 GB, free: 98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/1.081, allocations: 112.3 kB / 0.5258 GB, free: 98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000413/1.082, allocations: 73.66 kB / 0.5259 GB, free: 98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.082, allocations: 5.5 kB / 0.5259 GB, free: 98 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005807/1.088, allocations: 2.563 MB / 0.5284 GB, free: 97.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.216e-05/1.088, allocations: 17.59 kB / 0.5284 GB, free: 97.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/1.09, allocations: 0.6659 MB / 0.5291 GB, free: 97.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/1.092, allocations: 366.3 kB / 0.5294 GB, free: 97.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/1.102, allocations: 8.275 MB / 0.5375 GB, free: 93.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/1.104, allocations: 101.5 kB / 0.5376 GB, free: 93.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/1.105, allocations: 67.25 kB / 0.5377 GB, free: 93.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (183): * Single equations (assignments): 179 * 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 {(2,100.0%) 9,(1,100.0%) 1} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.0004844/1.105, allocations: 216.8 kB / 0.5379 GB, free: 93.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004721/1.106, allocations: 204.3 kB / 0.5381 GB, free: 93.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0055/1.111, allocations: 2.558 MB / 0.5406 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/1.111, allocations: 18.78 kB / 0.5406 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.111, allocations: 2.953 kB / 0.5406 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/1.111, allocations: 8.625 kB / 0.5406 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/1.123, allocations: 5.347 MB / 0.5458 GB, free: 93.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-05/1.123, allocations: 3.031 kB / 0.5458 GB, free: 93.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003022/1.126, allocations: 234.5 kB / 0.5461 GB, free: 93.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004751/1.131, allocations: 0.6963 MB / 0.5467 GB, free: 93.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004588/1.132, allocations: 34.36 kB / 0.5468 GB, free: 93.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02484/1.157, allocations: 9.761 MB / 0.5563 GB, free: 86.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.003e-06/1.157, allocations: 1.594 kB / 0.5563 GB, free: 86.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01505/1.172, allocations: 3.861 MB / 0.5601 GB, free: 84.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002692/1.175, allocations: 477.3 kB / 0.5605 GB, free: 84.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009681/1.176, allocations: 30.44 kB / 0.5606 GB, free: 84.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003203/1.179, allocations: 99.14 kB / 0.5607 GB, free: 84.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007057/1.18, allocations: 122.7 kB / 0.5608 GB, free: 84.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003174/1.18, allocations: 39.08 kB / 0.5608 GB, free: 84.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004806/1.185, allocations: 1.203 MB / 0.562 GB, free: 83.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.48e-06/1.185, allocations: 2.438 kB / 0.562 GB, free: 83.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009468/1.194, allocations: 1.044 MB / 0.563 GB, free: 83.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smpm.inertiaRotor.phi,smpm.i_0_s,smpm.idq_sr[1],smpm.idq_sr[2],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 (113): * Single equations (assignments): 109 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 9,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {6 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.00143/1.196, allocations: 439 kB / 0.5634 GB, free: 83.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01349/1.209, allocations: 4.383 MB / 0.5677 GB, free: 81.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.886e-06/1.209, allocations: 0 / 0.5677 GB, free: 81.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002643/1.212, allocations: 1.661 MB / 0.5693 GB, free: 80.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/1.215, allocations: 0.5815 MB / 0.5699 GB, free: 80.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.227, allocations: 4.875 MB / 0.5747 GB, free: 78.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002418/1.229, allocations: 2.16 MB / 0.5768 GB, free: 77.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003821/1.233, allocations: 0.8749 MB / 0.5776 GB, free: 77.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/1.234, allocations: 103.4 kB / 0.5777 GB, free: 77.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.734e-06/1.234, allocations: 0 / 0.5777 GB, free: 77.27 MB / 426.7 MB Notification: Performance of Templates: time 0.1027/1.336, allocations: 44.29 MB / 0.621 GB, free: 48.07 MB / 426.7 MB