Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 2.096/2.096, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.857e-05/2.846e-05, allocations: 4 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3071, allocations: 44.5 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump): time 0.01696/0.3241, allocations: 9.743 MB / 313 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009991/0.3342, allocations: 3.674 MB / 316.7 MB, free: 256 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.3364, allocations: 87.69 kB / 316.8 MB, free: 168 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002737/0.3392, allocations: 0.6098 MB / 317.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00445/0.3437, allocations: 0.841 MB / 318.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.346, allocations: 419.2 kB / 318.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005426/0.3514, allocations: 1.83 MB / 320.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003135/0.3546, allocations: 1.436 MB / 321.9 MB, free: 11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.3571, allocations: 0.9973 MB / 322.9 MB, free: 10 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003079/0.3602, allocations: 1.285 MB / 324.2 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.3618, allocations: 195.9 kB / 324.4 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007775/0.3626, allocations: 124 kB / 324.5 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.3641, allocations: 0.7982 MB / 325.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.3653, allocations: 288 kB / 325.6 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00727/0.3725, allocations: 4.355 MB / 330 MB, free: 2.953 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3726, allocations: 0 / 330 MB, free: 2.953 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3726, allocations: 0 / 330 MB, free: 2.953 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001522/0.3728, allocations: 4 kB / 330 MB, free: 2.949 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: 724 * Number of variables: 724 Notification: Performance of Generate backend data structure: time 0.01077/0.3836, allocations: 2.975 MB / 332.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.388e-05/0.3837, allocations: 12.03 kB / 332.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/0.3868, allocations: 479.4 kB / 333.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005844/0.3927, allocations: 1.874 MB / 335.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004435/0.3932, allocations: 383.8 kB / 335.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008862/0.3941, allocations: 283.9 kB / 335.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.4054, allocations: 3.638 MB / 339.6 MB, free: 9.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.4055, allocations: 11.91 kB / 339.6 MB, free: 9.078 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004305/0.406, allocations: 112 kB / 339.7 MB, free: 8.969 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002041/0.4062, allocations: 121.4 kB / 339.8 MB, free: 8.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009981/0.4162, allocations: 3.058 MB / 342.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03221/0.4485, allocations: 11.72 MB / 354.6 MB, free: 9.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005813/0.4543, allocations: 2.826 MB / 357.4 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004676/0.4549, allocations: 131.8 kB / 357.5 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003261/0.4581, allocations: 1.155 MB / 358.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=152): time 5.24e-06/0.4582, allocations: 0 / 358.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=172): time 0.03879/0.497, allocations: 9.285 MB / 368 MB, free: 11.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002132/0.4972, allocations: 308.7 kB / 368.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005414/0.5027, allocations: 1.822 MB / 370.1 MB, free: 9.723 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000455/0.5032, allocations: 73.69 kB / 370.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.5051, allocations: 1.284 MB / 371.5 MB, free: 8.348 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001091/0.5062, allocations: 0.5778 MB / 372 MB, free: 7.762 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.5065, allocations: 40 kB / 372.1 MB, free: 7.723 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002977/0.5068, allocations: 390.8 kB / 372.5 MB, free: 7.332 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003383/0.5102, allocations: 1.031 MB / 373.5 MB, free: 6.297 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004012/0.5143, allocations: 1.577 MB / 375.1 MB, free: 4.496 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003713/0.518, allocations: 1.24 MB / 376.3 MB, free: 3.262 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-05/0.5181, allocations: 4 kB / 376.3 MB, free: 3.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01108/0.5292, allocations: 3.438 MB / 379.8 MB, free: 15.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002504/0.5317, allocations: 5.234 MB / 385 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.01e-05/0.5319, allocations: 12 kB / 385 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005072/0.537, allocations: 1.139 MB / 386.1 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002996/0.54, allocations: 383.4 kB / 386.5 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02593/0.566, allocations: 14.32 MB / 400.8 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003462/0.5695, allocations: 164 kB / 401 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004483/0.57, allocations: 83.92 kB / 401.1 MB, free: 9.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.57, allocations: 4.781 kB / 401.1 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01127/0.5813, allocations: 3.328 MB / 404.4 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.081e-05/0.5814, allocations: 12 kB / 404.4 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004603/0.5861, allocations: 1.097 MB / 405.5 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/0.589, allocations: 371.4 kB / 405.9 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02981/0.6188, allocations: 14.41 MB / 420.3 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/0.6221, allocations: 159.9 kB / 420.4 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004072/0.6225, allocations: 79.98 kB / 420.5 MB, free: 4.926 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * 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: 6 * 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 {(4,100.0%) 14,(3,100.0%) 21,(2,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003636/0.6262, allocations: 0.8916 MB / 421.4 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/0.6273, allocations: 229.3 kB / 421.6 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/0.643, allocations: 3.392 MB / 425 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.835e-05/0.6431, allocations: 16 kB / 425 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.6431, allocations: 4 kB / 425.1 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.044e-05/0.6432, allocations: 7.969 kB / 425.1 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3274/0.9706, allocations: 6.554 MB / 431.6 MB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/0.9707, allocations: 3.938 kB / 431.6 MB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/0.9724, allocations: 204.5 kB / 431.8 MB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005482/0.9779, allocations: 1.359 MB / 433.2 MB, free: 102.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002571/0.9782, allocations: 46.16 kB / 433.2 MB, free: 102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02507/1.003, allocations: 14.68 MB / 447.9 MB, free: 91.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.003, allocations: 7 kB / 447.9 MB, free: 91.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/1.015, allocations: 4.811 MB / 452.7 MB, free: 86.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/1.017, allocations: 0.5223 MB / 453.2 MB, free: 86.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008433/1.018, allocations: 51.98 kB / 453.3 MB, free: 86.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002718/1.021, allocations: 126.9 kB / 453.4 MB, free: 86.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007817/1.022, allocations: 216 kB / 453.6 MB, free: 85.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/1.022, allocations: 47.98 kB / 453.7 MB, free: 85.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003329/1.025, allocations: 1.409 MB / 455.1 MB, free: 84.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.413e-06/1.025, allocations: 0 / 455.1 MB, free: 84.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006051/1.031, allocations: 1.177 MB / 456.3 MB, free: 83.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulsStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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: 1 {(2,100.0%) 1} * Non-linear torn systems: 4 {7 48,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006697/1.032, allocations: 174.8 kB / 456.4 MB, free: 83.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01522/1.047, allocations: 6.202 MB / 462.6 MB, free: 76.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/1.047, allocations: 1.75 kB / 462.6 MB, free: 76.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006108/1.054, allocations: 2.278 MB / 464.9 MB, free: 74.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003965/1.058, allocations: 0.4911 MB / 465.4 MB, free: 73.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/1.075, allocations: 7.275 MB / 472.7 MB, free: 66.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002555/1.077, allocations: 2.267 MB / 474.9 MB, free: 64.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.078, allocations: 151 kB / 475.1 MB, free: 64.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/1.078, allocations: 0 / 475.1 MB, free: 64.23 MB / 362.7 MB Notification: Performance of Templates: time 0.5092/1.587, allocations: 115.4 MB / 0.5767 GB, free: 138 MB / 410.7 MB