Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 1.626/1.626, allocations: 171.1 MB / 186.3 MB, free: 1.328 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.418e-05/4.375e-05, allocations: 4 kB / 228.1 MB, free: 7.969 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08571/0.08579, allocations: 38.77 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump): time 0.01724/0.1031, allocations: 9.702 MB / 276.6 MB, free: 7.367 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.1133, allocations: 3.607 MB / 280.2 MB, free: 3.754 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.1158, allocations: 91.69 kB / 280.3 MB, free: 3.664 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.1186, allocations: 0.606 MB / 280.9 MB, free: 3.055 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004156/0.1228, allocations: 0.8176 MB / 281.7 MB, free: 2.234 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.1253, allocations: 475.2 kB / 282.2 MB, free: 1.77 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.005294/0.1306, allocations: 1.845 MB / 284 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003276/0.134, allocations: 1.436 MB / 285.5 MB, free: 14.47 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.1365, allocations: 1.028 MB / 286.5 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003045/0.1396, allocations: 1.261 MB / 287.8 MB, free: 12.17 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.1413, allocations: 195.9 kB / 287.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009787/0.1424, allocations: 124 kB / 288.1 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001822/0.1442, allocations: 0.8021 MB / 288.9 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.1456, allocations: 288 kB / 289.2 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007171/0.1528, allocations: 4.32 MB / 293.5 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1528, allocations: 0 / 293.5 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1528, allocations: 0 / 293.5 MB, free: 6.441 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001986/0.153, allocations: 0 / 293.5 MB, free: 6.441 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 727 * Number of variables: 727 Notification: Performance of Generate backend data structure: time 0.0105/0.1636, allocations: 2.975 MB / 296.4 MB, free: 3.402 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.1636, allocations: 8.031 kB / 296.5 MB, free: 3.395 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/0.1669, allocations: 475.5 kB / 296.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006089/0.173, allocations: 1.83 MB / 298.7 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005308/0.1736, allocations: 387.8 kB / 299.1 MB, free: 0.625 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/0.1747, allocations: 283.9 kB / 299.4 MB, free: 356 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.247/0.4217, allocations: 3.639 MB / 303 MB, free: 25.86 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001426/0.4219, allocations: 7.25 kB / 303.1 MB, free: 25.85 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005913/0.4225, allocations: 116.3 kB / 303.2 MB, free: 25.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002017/0.4227, allocations: 118.9 kB / 303.3 MB, free: 25.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/0.4341, allocations: 3.062 MB / 306.3 MB, free: 24.67 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03343/0.4676, allocations: 11.76 MB / 318.1 MB, free: 17.03 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005329/0.473, allocations: 2.829 MB / 320.9 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004741/0.4735, allocations: 129.8 kB / 321.1 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003051/0.4766, allocations: 1.149 MB / 322.2 MB, free: 14.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=152): time 6.231e-06/0.4767, allocations: 3.938 kB / 322.2 MB, free: 14.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=172): time 0.03612/0.5128, allocations: 9.284 MB / 331.5 MB, free: 5.312 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.513, allocations: 308.7 kB / 331.8 MB, free: 4.941 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004177/0.5172, allocations: 1.771 MB / 333.6 MB, free: 3.137 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004217/0.5176, allocations: 61.7 kB / 333.6 MB, free: 3.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.5189, allocations: 1.285 MB / 334.9 MB, free: 1.781 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008045/0.5197, allocations: 0.5675 MB / 335.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.5199, allocations: 40 kB / 335.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5201, allocations: 394.7 kB / 335.9 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002754/0.5228, allocations: 1.031 MB / 336.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003926/0.5268, allocations: 1.573 MB / 338.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003801/0.5307, allocations: 1.24 MB / 339.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/0.5307, allocations: 4 kB / 339.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01161/0.5424, allocations: 3.489 MB / 343.2 MB, free: 9.195 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.5425, allocations: 19.92 kB / 343.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-05/0.5425, allocations: 12 kB / 343.3 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004992/0.5475, allocations: 1.151 MB / 344.4 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/0.5506, allocations: 383.3 kB / 344.8 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02756/0.5782, allocations: 14.33 MB / 359.1 MB, free: 8.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003496/0.5818, allocations: 169.2 kB / 359.3 MB, free: 8.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003953/0.5822, allocations: 84.08 kB / 359.4 MB, free: 8.25 MB / 282.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].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched) * 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.002676/0.5849, allocations: 0.8948 MB / 360.3 MB, free: 7.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008651/0.5858, allocations: 229.2 kB / 360.5 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.5972, allocations: 3.382 MB / 363.9 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/0.5973, allocations: 16 kB / 363.9 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.5973, allocations: 3.984 kB / 363.9 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-05/0.5974, allocations: 7.969 kB / 363.9 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02105/0.6184, allocations: 6.569 MB / 370.5 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.298e-05/0.6185, allocations: 4 kB / 370.5 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/0.6204, allocations: 203.9 kB / 370.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006335/0.6268, allocations: 1.359 MB / 372 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003844/0.6272, allocations: 47.97 kB / 372.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03102/0.6582, allocations: 14.65 MB / 386.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.6583, allocations: 0 / 386.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/0.6744, allocations: 4.816 MB / 391.5 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002628/0.677, allocations: 0.5216 MB / 392.1 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001166/0.6783, allocations: 43.98 kB / 392.1 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003913/0.6822, allocations: 131.9 kB / 392.2 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001149/0.6834, allocations: 220.9 kB / 392.5 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002647/0.6837, allocations: 51.91 kB / 392.5 MB, free: 6.203 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.004732/0.6884, allocations: 1.362 MB / 393.9 MB, free: 4.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.202e-06/0.6885, allocations: 0 / 393.9 MB, free: 4.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.005387/0.6939, allocations: 0.6875 MB / 394.6 MB, free: 4.133 MB / 314.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].tSwitch,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched) * 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.0008274/0.6948, allocations: 183.4 kB / 394.7 MB, free: 3.949 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01372/0.7085, allocations: 3.568 MB / 398.3 MB, free: 292 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/0.7086, allocations: 3.938 kB / 398.3 MB, free: 288 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009312/0.7179, allocations: 2.263 MB / 400.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005315/0.7233, allocations: 0.4993 MB / 401.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02728/0.7506, allocations: 7.213 MB / 408.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003431/0.7541, allocations: 2.237 MB / 410.5 MB, free: 3.934 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/0.7552, allocations: 143.4 kB / 410.7 MB, free: 3.793 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/0.7553, allocations: 0 / 410.7 MB, free: 3.793 MB / 330.7 MB Notification: Performance of Templates: time 0.4449/1.2, allocations: 114.3 MB / 0.5126 GB, free: 27.11 MB / 346.7 MB