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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 1.736/1.736, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.302e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2076, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.3756, allocations: 105 MB / 368.8 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.3759, allocations: 83.95 kB / 368.9 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3925/0.7685, allocations: 61.6 MB / 430.5 MB, free: 45.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.053e-06/0.7685, allocations: 4 kB / 430.5 MB, free: 45.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002577/0.7688, allocations: 75.94 kB / 430.6 MB, free: 45.02 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: 727 * Number of variables: 727 Notification: Performance of Generate backend data structure: time 0.007746/0.7766, allocations: 2.995 MB / 433.6 MB, free: 41.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.7766, allocations: 8.031 kB / 433.6 MB, free: 41.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/0.7789, allocations: 487.4 kB / 434.1 MB, free: 41.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005129/0.7841, allocations: 1.982 MB / 436 MB, free: 39.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.7844, allocations: 375.8 kB / 436.4 MB, free: 39.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006793/0.7851, allocations: 287.9 kB / 436.7 MB, free: 38.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.7972, allocations: 3.551 MB / 440.2 MB, free: 35.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001521/0.7974, allocations: 4 kB / 440.3 MB, free: 35.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006958/0.7981, allocations: 116 kB / 440.4 MB, free: 34.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000185/0.7983, allocations: 117.5 kB / 440.5 MB, free: 34.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008256/0.8066, allocations: 2.783 MB / 443.3 MB, free: 32.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02197/0.8286, allocations: 11.78 MB / 455 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/0.832, allocations: 2.76 MB / 457.8 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.8339, allocations: 1.098 MB / 458.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003107/0.8342, allocations: 138.3 kB / 459 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001856/0.8361, allocations: 1.118 MB / 460.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=155): time 5.74e-06/0.8361, allocations: 0 / 460.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=179): time 0.03394/0.8701, allocations: 7.965 MB / 468.1 MB, free: 6.512 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/0.8703, allocations: 334.4 kB / 468.4 MB, free: 6.113 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006397/0.8767, allocations: 1.752 MB / 470.2 MB, free: 4.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005488/0.8773, allocations: 65.69 kB / 470.3 MB, free: 4.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002122/0.8795, allocations: 1.344 MB / 471.6 MB, free: 2.891 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001063/0.8805, allocations: 0.6008 MB / 472.2 MB, free: 2.281 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.8809, allocations: 44 kB / 472.3 MB, free: 2.238 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002427/0.8812, allocations: 386 kB / 472.6 MB, free: 1.855 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003872/0.885, allocations: 0.9958 MB / 473.6 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004984/0.8901, allocations: 1.525 MB / 475.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005128/0.8952, allocations: 1.204 MB / 476.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.341e-05/0.8953, allocations: 4 kB / 476.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01795/0.9132, allocations: 3.578 MB / 479.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/0.9134, allocations: 12 kB / 479.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.402e-05/0.9134, allocations: 15.98 kB / 480 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007708/0.9212, allocations: 1.19 MB / 481.2 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/0.9233, allocations: 375.4 kB / 481.5 MB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02309/0.9464, allocations: 14.54 MB / 496.1 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.9491, allocations: 171.8 kB / 496.2 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002813/0.9494, allocations: 91.92 kB / 496.3 MB, free: 9.078 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (209): * Single equations (assignments): 202 * 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%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005699/0.95, allocations: 247.7 kB / 496.6 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005256/0.9506, allocations: 229.2 kB / 496.8 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008756/0.9593, allocations: 3.384 MB / 0.4884 GB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/0.9594, allocations: 16 kB / 0.4885 GB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.9594, allocations: 0 / 0.4885 GB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.724e-05/0.9594, allocations: 7.969 kB / 0.4885 GB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2316/1.191, allocations: 6.642 MB / 0.495 GB, free: 77.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.191, allocations: 7.188 kB / 0.495 GB, free: 77.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/1.192, allocations: 203.6 kB / 0.4952 GB, free: 77.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004886/1.197, allocations: 1.388 MB / 0.4965 GB, free: 77.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002338/1.198, allocations: 49.42 kB / 0.4966 GB, free: 77.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0208/1.218, allocations: 14.56 MB / 0.5108 GB, free: 70.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.301e-06/1.218, allocations: 6.875 kB / 0.5108 GB, free: 70.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009582/1.228, allocations: 4.88 MB / 0.5155 GB, free: 70.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/1.23, allocations: 0.5178 MB / 0.5161 GB, free: 70 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004708/1.23, allocations: 57.36 kB / 0.5161 GB, free: 70 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/1.232, allocations: 135.9 kB / 0.5162 GB, free: 70 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005888/1.232, allocations: 240 kB / 0.5165 GB, free: 69.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/1.233, allocations: 49.73 kB / 0.5165 GB, free: 69.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002466/1.235, allocations: 1.345 MB / 0.5178 GB, free: 69.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.75e-07/1.235, allocations: 0 / 0.5178 GB, free: 69.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003199/1.238, allocations: 0.7548 MB / 0.5186 GB, free: 69.83 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 107 * 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%) 4} * Non-linear torn systems: 4 {7 51,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006362/1.239, allocations: 353.4 kB / 0.5189 GB, free: 69.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006713/1.246, allocations: 3.475 MB / 0.5223 GB, free: 68.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.487e-06/1.246, allocations: 6.344 kB / 0.5223 GB, free: 68.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004909/1.251, allocations: 2.35 MB / 0.5246 GB, free: 68.26 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/1.254, allocations: 0.5039 MB / 0.5251 GB, free: 68.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/1.266, allocations: 5.036 MB / 0.53 GB, free: 66.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002395/1.269, allocations: 2.277 MB / 0.5322 GB, free: 65.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002072/1.271, allocations: 430.9 kB / 0.5326 GB, free: 65.31 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005786/1.271, allocations: 134.5 kB / 0.5328 GB, free: 65.3 MB / 346.7 MB Notification: Performance of SimCode: time 2.97e-06/1.271, allocations: 0 / 0.5328 GB, free: 65.3 MB / 346.7 MB Notification: Performance of Templates: time 0.1267/1.398, allocations: 41.46 MB / 0.5733 GB, free: 39.23 MB / 346.7 MB