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.66/1.66, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.078e-05, allocations: 4 kB / 225 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2096, allocations: 38.77 MB / 263.8 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.3652, allocations: 105 MB / 368.8 MB, free: 0.668 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.3656, allocations: 87.94 kB / 368.9 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3981/0.7637, allocations: 61.59 MB / 430.5 MB, free: 45.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.189e-06/0.7637, allocations: 0 / 430.5 MB, free: 45.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002548/0.764, allocations: 79.88 kB / 430.6 MB, free: 45.07 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.007674/0.7717, allocations: 2.991 MB / 433.6 MB, free: 42.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7717, allocations: 12.03 kB / 433.6 MB, free: 42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/0.7742, allocations: 483.4 kB / 434 MB, free: 41.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005088/0.7793, allocations: 1.982 MB / 436 MB, free: 39.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003111/0.7797, allocations: 379.8 kB / 436.4 MB, free: 39.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008683/0.7805, allocations: 283.9 kB / 436.7 MB, free: 38.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008326/0.7889, allocations: 3.547 MB / 440.2 MB, free: 35.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.789, allocations: 4 kB / 440.2 MB, free: 35.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/0.7895, allocations: 128 kB / 440.3 MB, free: 34.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.7896, allocations: 109.5 kB / 440.4 MB, free: 34.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006806/0.7964, allocations: 2.787 MB / 443.2 MB, free: 32.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02507/0.8215, allocations: 11.78 MB / 455 MB, free: 19.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003786/0.8254, allocations: 2.761 MB / 457.8 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/0.8276, allocations: 1.097 MB / 458.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003604/0.828, allocations: 146.3 kB / 459 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002123/0.8301, allocations: 1.114 MB / 460.1 MB, free: 14.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=155): time 5.962e-06/0.8302, allocations: 0 / 460.1 MB, free: 14.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=179): time 0.02254/0.8527, allocations: 7.961 MB / 468.1 MB, free: 6.566 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.8528, allocations: 330.4 kB / 468.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003476/0.8563, allocations: 1.752 MB / 470.2 MB, free: 4.379 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003619/0.8567, allocations: 69.69 kB / 470.2 MB, free: 4.305 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.8579, allocations: 1.257 MB / 471.5 MB, free: 3.035 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007395/0.8587, allocations: 0.6086 MB / 472.1 MB, free: 2.418 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.8589, allocations: 40 kB / 472.1 MB, free: 2.379 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.859, allocations: 390.8 kB / 472.5 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/0.8611, allocations: 0.9958 MB / 473.5 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002853/0.864, allocations: 1.521 MB / 475 MB, free: 15.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.8669, allocations: 1.204 MB / 476.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/0.867, allocations: 4 kB / 476.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.009244/0.8763, allocations: 3.435 MB / 479.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.8763, allocations: 8 kB / 479.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/0.8764, allocations: 12 kB / 479.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004382/0.8808, allocations: 1.192 MB / 480.9 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/0.883, allocations: 379.3 kB / 481.3 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02409/0.9071, allocations: 14.54 MB / 495.8 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/0.91, allocations: 179.8 kB / 496 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004937/0.9106, allocations: 83.98 kB / 496.1 MB, free: 9.355 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.0006549/0.9112, allocations: 239.7 kB / 496.3 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007729/0.912, allocations: 233.2 kB / 496.5 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009391/0.9214, allocations: 3.388 MB / 499.9 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-05/0.9215, allocations: 16 kB / 499.9 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.9215, allocations: 0 / 499.9 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.044e-05/0.9216, allocations: 7.969 kB / 499.9 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2262/1.148, allocations: 6.644 MB / 0.4947 GB, free: 76.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.642e-05/1.148, allocations: 3.781 kB / 0.4947 GB, free: 76.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/1.149, allocations: 201.7 kB / 0.4949 GB, free: 76.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004767/1.154, allocations: 1.393 MB / 0.4963 GB, free: 76.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003353/1.154, allocations: 48.16 kB / 0.4963 GB, free: 76.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02122/1.176, allocations: 14.57 MB / 0.5105 GB, free: 69.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.827e-06/1.176, allocations: 5.5 kB / 0.5105 GB, free: 69.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009793/1.186, allocations: 4.877 MB / 0.5153 GB, free: 69.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/1.187, allocations: 0.5206 MB / 0.5158 GB, free: 69.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007191/1.188, allocations: 54.42 kB / 0.5159 GB, free: 69.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/1.19, allocations: 141.5 kB / 0.516 GB, free: 69.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006673/1.191, allocations: 235.8 kB / 0.5162 GB, free: 69.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/1.191, allocations: 48.55 kB / 0.5163 GB, free: 69.28 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002922/1.194, allocations: 1.347 MB / 0.5176 GB, free: 69.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.252e-06/1.194, allocations: 2.375 kB / 0.5176 GB, free: 69.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003763/1.198, allocations: 0.7523 MB / 0.5183 GB, free: 69.12 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.0007404/1.198, allocations: 345 kB / 0.5187 GB, free: 69.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006916/1.205, allocations: 3.476 MB / 0.522 GB, free: 68.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.347e-06/1.205, allocations: 7.562 kB / 0.5221 GB, free: 68.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004636/1.21, allocations: 2.258 MB / 0.5243 GB, free: 67.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/1.213, allocations: 0.4977 MB / 0.5247 GB, free: 67.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/1.228, allocations: 5.065 MB / 0.5297 GB, free: 65.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006341/1.234, allocations: 2.256 MB / 0.5319 GB, free: 64.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001805/1.236, allocations: 140.4 kB / 0.532 GB, free: 64.77 MB / 346.7 MB Notification: Performance of SimCode: time 3.34e-06/1.236, allocations: 0 / 0.532 GB, free: 64.77 MB / 346.7 MB Notification: Performance of Templates: time 0.449/1.685, allocations: 115.6 MB / 0.6449 GB, free: 93.46 MB / 362.7 MB