Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadModel(Modelica): time 1.737/1.737, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.168e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2394, allocations: 38.77 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.4142, allocations: 103 MB / 366.8 MB, free: 2.664 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.4146, allocations: 87.94 kB / 366.9 MB, free: 2.578 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4292/0.8438, allocations: 56.32 MB / 423.2 MB, free: 52.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.941e-06/0.8438, allocations: 0 / 423.2 MB, free: 52.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002636/0.8441, allocations: 79.88 kB / 423.3 MB, free: 52 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 744 * Number of variables: 744 Notification: Performance of Generate backend data structure: time 0.007087/0.8512, allocations: 2.842 MB / 426.1 MB, free: 49.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.8513, allocations: 8.031 kB / 426.1 MB, free: 49.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.853, allocations: 403.6 kB / 426.5 MB, free: 48.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004615/0.8577, allocations: 1.914 MB / 428.4 MB, free: 46.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.8579, allocations: 217.7 kB / 428.6 MB, free: 46.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005864/0.8585, allocations: 279.9 kB / 428.9 MB, free: 46.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007421/0.8659, allocations: 3.563 MB / 432.5 MB, free: 42.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.577e-05/0.8661, allocations: 11.98 kB / 432.5 MB, free: 42.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003615/0.8664, allocations: 123.9 kB / 432.6 MB, free: 42.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/0.8666, allocations: 129.5 kB / 432.7 MB, free: 42.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006797/0.8734, allocations: 2.826 MB / 435.6 MB, free: 39.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02163/0.8951, allocations: 11.52 MB / 447.1 MB, free: 27.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/0.8979, allocations: 1.891 MB / 449 MB, free: 25.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.8995, allocations: 0.9168 MB / 449.9 MB, free: 24.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000308/0.8999, allocations: 150 kB / 450 MB, free: 24.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.8999, allocations: 47.56 kB / 450.1 MB, free: 24.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=126): time 4.787e-06/0.8999, allocations: 0 / 450.1 MB, free: 24.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=147): time 0.01522/0.9152, allocations: 6.322 MB / 456.4 MB, free: 18.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.9152, allocations: 68.72 kB / 456.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/0.9179, allocations: 1.541 MB / 458 MB, free: 16.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.9181, allocations: 53.7 kB / 458.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.9194, allocations: 1.373 MB / 459.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000673/0.9201, allocations: 0.5007 MB / 459.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.9203, allocations: 36 kB / 460 MB, free: 14.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.9205, allocations: 385.8 kB / 460.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/0.923, allocations: 0.8513 MB / 461.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.9249, allocations: 1.373 MB / 462.6 MB, free: 11.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/0.9269, allocations: 1.094 MB / 463.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.9269, allocations: 4 kB / 463.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.005802/0.9327, allocations: 2.918 MB / 466.6 MB, free: 7.523 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.9328, allocations: 12 kB / 466.6 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.9328, allocations: 20 kB / 466.6 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/0.9345, allocations: 0.5374 MB / 467.2 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/0.9365, allocations: 443.3 kB / 467.6 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008116/0.9446, allocations: 6.257 MB / 473.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.9467, allocations: 131.8 kB / 474 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002949/0.947, allocations: 79.98 kB / 474.1 MB, free: 15.77 MB / 330.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 (207): * Single equations (assignments): 204 * 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.0004692/0.9475, allocations: 220.3 kB / 474.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004644/0.948, allocations: 205.5 kB / 474.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006291/0.9543, allocations: 2.609 MB / 477.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.9543, allocations: 16 kB / 477.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.9544, allocations: 11.98 kB / 477.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.271e-05/0.9544, allocations: 7.969 kB / 477.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/0.9682, allocations: 5.589 MB / 482.7 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.9683, allocations: 3.938 kB / 482.7 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/0.9698, allocations: 247.6 kB / 483 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/0.9721, allocations: 0.5887 MB / 483.5 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002446/0.9724, allocations: 35.98 kB / 483.6 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/0.9854, allocations: 7.965 MB / 491.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.828e-06/0.9855, allocations: 7.938 kB / 491.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/0.9957, allocations: 3.984 MB / 495.5 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002432/0.9982, allocations: 466.4 kB / 496 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006221/0.9989, allocations: 39.94 kB / 496 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/1.001, allocations: 99.88 kB / 496.1 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004859/1.002, allocations: 105.1 kB / 496.2 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002567/1.002, allocations: 43.98 kB / 496.3 MB, free: 8.812 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004165/1.006, allocations: 1.177 MB / 497.4 MB, free: 7.605 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.468e-06/1.006, allocations: 4 kB / 497.5 MB, free: 7.602 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004967/1.011, allocations: 0.6016 MB / 498.1 MB, free: 7 MB / 346.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 (122): * Single equations (assignments): 119 * 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.001278/1.013, allocations: 421.4 kB / 498.5 MB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009521/1.022, allocations: 2.505 MB / 0.4892 GB, free: 4.051 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.022, allocations: 0 / 0.4892 GB, free: 4.051 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005537/1.028, allocations: 1.506 MB / 0.4907 GB, free: 2.512 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005147/1.033, allocations: 470.5 kB / 0.4911 GB, free: 2.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2362/1.269, allocations: 4.451 MB / 0.4955 GB, free: 83.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002446/1.272, allocations: 2.245 MB / 0.4977 GB, free: 82.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002319/1.274, allocations: 485.1 kB / 0.4982 GB, free: 82.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006122/1.275, allocations: 132.3 kB / 0.4983 GB, free: 82.27 MB / 346.7 MB Notification: Performance of SimCode: time 1.863e-06/1.275, allocations: 2.281 kB / 0.4983 GB, free: 82.27 MB / 346.7 MB Notification: Performance of Templates: time 0.08043/1.355, allocations: 30.98 MB / 0.5285 GB, free: 80.32 MB / 346.7 MB