Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smee.is.1.|smee.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.537e-05, allocations: 0 / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0843/0.08435, allocations: 47.57 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.4622, allocations: 113.2 MB / 430.1 MB, free: 7.398 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.4625, allocations: 85.33 kB / 430.2 MB, free: 7.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2427/0.7052, allocations: 58.39 MB / 488.6 MB, free: 3.574 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.718e-06/0.7052, allocations: 0 / 488.6 MB, free: 3.574 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003217/0.7056, allocations: 83.88 kB / 488.7 MB, free: 3.492 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: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.008829/0.7144, allocations: 2.888 MB / 491.6 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.7145, allocations: 8.031 kB / 491.6 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.7165, allocations: 399.5 kB / 492 MB, free: 140 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006613/0.7231, allocations: 2.164 MB / 494.1 MB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003009/0.7235, allocations: 210 kB / 494.4 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009459/0.7244, allocations: 283.9 kB / 494.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.7346, allocations: 3.579 MB / 498.2 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/0.7347, allocations: 3.984 kB / 498.2 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005366/0.7353, allocations: 120 kB / 498.3 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002076/0.7355, allocations: 137.5 kB / 498.5 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008465/0.744, allocations: 2.834 MB / 0.4896 GB, free: 6.613 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02995/0.774, allocations: 11.68 MB / 0.501 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004253/0.7783, allocations: 1.934 MB / 0.5028 GB, free: 8.547 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00235/0.7807, allocations: 0.9295 MB / 0.5038 GB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005188/0.7813, allocations: 219.5 kB / 0.504 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.7813, allocations: 49.62 kB / 0.504 GB, free: 7.301 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 5.419e-06/0.7814, allocations: 0 / 0.504 GB, free: 7.301 MB / 426.7 MB Notification: Performance of matching and sorting (n=149): time 0.02138/0.8028, allocations: 6.363 MB / 0.5102 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.8029, allocations: 68.67 kB / 0.5103 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2834/1.086, allocations: 1.71 MB / 0.512 GB, free: 104.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002934/1.087, allocations: 50.77 kB / 0.512 GB, free: 104.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001204/1.088, allocations: 1.409 MB / 0.5134 GB, free: 104.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005735/1.088, allocations: 0.5075 MB / 0.5139 GB, free: 104.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/1.089, allocations: 38.22 kB / 0.5139 GB, free: 104.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/1.089, allocations: 379 kB / 0.5143 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/1.091, allocations: 0.8533 MB / 0.5151 GB, free: 104.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/1.093, allocations: 1.384 MB / 0.5165 GB, free: 103.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/1.095, allocations: 1.098 MB / 0.5175 GB, free: 103.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.575e-05/1.095, allocations: 4.281 kB / 0.5175 GB, free: 103.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.007342/1.103, allocations: 2.937 MB / 0.5204 GB, free: 103.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/1.103, allocations: 13 kB / 0.5204 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.101e-05/1.103, allocations: 20.3 kB / 0.5204 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/1.105, allocations: 0.5381 MB / 0.521 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002434/1.107, allocations: 448.1 kB / 0.5214 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009442/1.117, allocations: 6.281 MB / 0.5275 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/1.119, allocations: 137.1 kB / 0.5277 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004525/1.12, allocations: 78.5 kB / 0.5277 GB, free: 100.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * Single equations (assignments): 206 * 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: 2 * 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 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004963/1.12, allocations: 212.9 kB / 0.5279 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006144/1.121, allocations: 211.9 kB / 0.5281 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005986/1.127, allocations: 2.624 MB / 0.5307 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/1.127, allocations: 19.98 kB / 0.5307 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.127, allocations: 3.938 kB / 0.5307 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.901e-05/1.127, allocations: 10.62 kB / 0.5307 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/1.14, allocations: 5.706 MB / 0.5363 GB, free: 99.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/1.14, allocations: 3.656 kB / 0.5363 GB, free: 99.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/1.142, allocations: 253 kB / 0.5365 GB, free: 99.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002079/1.144, allocations: 0.5971 MB / 0.5371 GB, free: 99.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002665/1.144, allocations: 37.44 kB / 0.5372 GB, free: 99.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/1.155, allocations: 7.976 MB / 0.545 GB, free: 95.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.204e-06/1.155, allocations: 3.906 kB / 0.545 GB, free: 95.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007639/1.163, allocations: 4.025 MB / 0.5489 GB, free: 93.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/1.164, allocations: 487 kB / 0.5494 GB, free: 92.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004223/1.165, allocations: 38.84 kB / 0.5494 GB, free: 92.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/1.166, allocations: 98.52 kB / 0.5495 GB, free: 92.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002822/1.166, allocations: 115 kB / 0.5496 GB, free: 92.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.167, allocations: 43.28 kB / 0.5496 GB, free: 92.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002532/1.169, allocations: 1.309 MB / 0.5509 GB, free: 92.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.088e-06/1.169, allocations: 0 / 0.5509 GB, free: 92.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002807/1.172, allocations: 0.6193 MB / 0.5515 GB, free: 92.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],quadraticSpeedDependentTorque.phi,voltageController.PI_d.x,voltageController.PI_q.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 121 * 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 {(5,76.0%) 20,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007316/1.173, allocations: 415.6 kB / 0.5519 GB, free: 92.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004726/1.177, allocations: 2.521 MB / 0.5544 GB, free: 91.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.177, allocations: 3.906 kB / 0.5544 GB, free: 91.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003065/1.181, allocations: 1.538 MB / 0.5559 GB, free: 90.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/1.183, allocations: 498.9 kB / 0.5564 GB, free: 90.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009447/1.193, allocations: 4.615 MB / 0.5609 GB, free: 88.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/1.195, allocations: 2.271 MB / 0.5631 GB, free: 87.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002376/1.198, allocations: 0.4917 MB / 0.5636 GB, free: 87.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006764/1.198, allocations: 154.4 kB / 0.5637 GB, free: 87.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.555e-06/1.198, allocations: 0 / 0.5637 GB, free: 87.23 MB / 426.7 MB Notification: Performance of Templates: time 0.07692/1.275, allocations: 33.06 MB / 0.596 GB, free: 74.17 MB / 426.7 MB