Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,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.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource") Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.157e-05/4.165e-05, allocations: 3.906 kB / 258.8 MB, free: 8.043 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3764, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_VoltageSource): time 0.0152/0.3916, allocations: 9.258 MB / 312.6 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009018/0.4007, allocations: 3.442 MB / 316 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.4027, allocations: 91.69 kB / 316.1 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.405, allocations: 0.6369 MB / 316.8 MB, free: 148 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003875/0.4089, allocations: 0.767 MB / 317.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.4105, allocations: 339.6 kB / 317.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004417/0.415, allocations: 1.592 MB / 319.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003272/0.4183, allocations: 1.655 MB / 321.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.4201, allocations: 0.8336 MB / 321.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.4227, allocations: 1.223 MB / 323.2 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.4238, allocations: 187.9 kB / 323.3 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005485/0.4244, allocations: 112 kB / 323.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001264/0.4257, allocations: 0.7943 MB / 324.2 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008941/0.4266, allocations: 252 kB / 324.5 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006513/0.4331, allocations: 4.359 MB / 328.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4332, allocations: 4 kB / 328.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.477e-06/0.4332, allocations: 0 / 328.9 MB, free: 4.004 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001502/0.4333, allocations: 0 / 328.9 MB, free: 4.004 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 742 * Number of variables: 742 Notification: Performance of Generate backend data structure: time 0.008901/0.4422, allocations: 2.881 MB / 331.7 MB, free: 1.062 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.4423, allocations: 12.02 kB / 331.7 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.4442, allocations: 391.6 kB / 332.1 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005392/0.4496, allocations: 1.884 MB / 334 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.4499, allocations: 213.7 kB / 334.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007914/0.4507, allocations: 287.9 kB / 334.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.4613, allocations: 3.63 MB / 338.1 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/0.4615, allocations: 11.88 kB / 338.1 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004407/0.462, allocations: 116 kB / 338.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002396/0.4622, allocations: 141.5 kB / 338.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.4723, allocations: 3.066 MB / 341.5 MB, free: 7.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03034/0.5027, allocations: 11.59 MB / 353 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004178/0.5069, allocations: 1.876 MB / 354.9 MB, free: 9.273 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004849/0.5074, allocations: 211.2 kB / 355.1 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.5075, allocations: 51.56 kB / 355.2 MB, free: 8.973 MB / 298.7 MB Notification: Performance of pre-optimization done (n=124): time 4.048e-06/0.5075, allocations: 0 / 355.2 MB, free: 8.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=139): time 0.02207/0.5296, allocations: 6.575 MB / 361.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.5297, allocations: 64.72 kB / 361.8 MB, free: 2.168 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004099/0.5338, allocations: 1.699 MB / 363.5 MB, free: 444 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000308/0.5342, allocations: 53.7 kB / 363.6 MB, free: 384 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001537/0.5357, allocations: 1.412 MB / 365 MB, free: 14.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007117/0.5365, allocations: 485 kB / 365.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.5366, allocations: 36 kB / 365.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002411/0.5369, allocations: 377.9 kB / 365.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.5391, allocations: 0.812 MB / 366.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002712/0.5419, allocations: 1.355 MB / 368 MB, free: 11.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002975/0.5449, allocations: 1.045 MB / 369.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.232e-05/0.545, allocations: 4 kB / 369.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.008578/0.5536, allocations: 2.815 MB / 371.9 MB, free: 7.734 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.5536, allocations: 15.94 kB / 371.9 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.064e-05/0.5537, allocations: 16 kB / 371.9 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.5552, allocations: 363.3 kB / 372.3 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00333/0.5585, allocations: 447.3 kB / 372.7 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009373/0.568, allocations: 6.041 MB / 378.8 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/0.5706, allocations: 123.8 kB / 378.9 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003113/0.5709, allocations: 76 kB / 378.9 MB, free: 260 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 208 * 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: 3 {(2,100.0%) 9,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002544/0.5735, allocations: 0.8993 MB / 379.8 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006819/0.5742, allocations: 213.7 kB / 380.1 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00682/0.581, allocations: 2.385 MB / 382.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.052e-05/0.5811, allocations: 20 kB / 382.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.5811, allocations: 4 kB / 382.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.421e-05/0.5811, allocations: 11.91 kB / 382.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.5967, allocations: 5.423 MB / 387.9 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/0.5968, allocations: 4 kB / 387.9 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/0.5991, allocations: 259.6 kB / 388.2 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/0.6009, allocations: 391.1 kB / 388.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002357/0.6012, allocations: 35.98 kB / 388.6 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/0.6122, allocations: 7.525 MB / 396.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/0.6123, allocations: 7.953 kB / 396.1 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009474/0.6218, allocations: 3.822 MB / 399.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/0.6234, allocations: 462.4 kB / 400.4 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006359/0.6241, allocations: 35.98 kB / 400.4 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/0.626, allocations: 91.89 kB / 400.5 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003383/0.6264, allocations: 105.1 kB / 400.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.6266, allocations: 40.12 kB / 400.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003231/0.6298, allocations: 1.302 MB / 402 MB, free: 8.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.6298, allocations: 0 / 402 MB, free: 8.234 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003034/0.6329, allocations: 0.5354 MB / 402.5 MB, free: 7.699 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (130): * Single equations (assignments): 126 * 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: 4 {(2,100.0%) 9,(1,100.0%) 1,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005736/0.6335, allocations: 162.9 kB / 402.6 MB, free: 7.531 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006153/0.6397, allocations: 2.449 MB / 405.1 MB, free: 5.023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.689e-06/0.6397, allocations: 4.5 kB / 405.1 MB, free: 5.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003542/0.6433, allocations: 1.475 MB / 406.6 MB, free: 3.496 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/0.6474, allocations: 489.2 kB / 407.1 MB, free: 3.016 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/0.6635, allocations: 6.69 MB / 413.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003564/0.6671, allocations: 2.247 MB / 416 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002847/0.67, allocations: 0.5015 MB / 416.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008209/0.6708, allocations: 151.3 kB / 416.6 MB, free: 9.316 MB / 362.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6709, allocations: 0 / 416.6 MB, free: 9.316 MB / 362.7 MB Notification: Performance of Templates: time 0.3235/0.9944, allocations: 26.57 MB / 443.2 MB, free: 96.09 MB / 362.7 MB