Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.is.1.|smee.is.2.|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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.713e-05, allocations: 0 / 292.7 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09325/0.0933, allocations: 50.43 MB / 343.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.454/0.5474, allocations: 116.1 MB / 459.2 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.5477, allocations: 83.89 kB / 459.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3003/0.848, allocations: 62.74 MB / 0.5098 GB, free: 15.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.8481, allocations: 3.938 kB / 0.5098 GB, free: 15.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004791/0.8486, allocations: 83.88 kB / 0.5099 GB, free: 15.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.01514/0.8638, allocations: 3.018 MB / 0.5128 GB, free: 12.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.41e-05/0.8639, allocations: 12.03 kB / 0.5128 GB, free: 12.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004368/0.8683, allocations: 487.4 kB / 0.5133 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/0.8786, allocations: 2.061 MB / 0.5153 GB, free: 9.613 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00072/0.8793, allocations: 387.8 kB / 0.5157 GB, free: 9.195 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/0.8806, allocations: 287.9 kB / 0.516 GB, free: 8.914 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01728/0.8979, allocations: 3.551 MB / 0.5194 GB, free: 5.215 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001662/0.8982, allocations: 0 / 0.5194 GB, free: 5.215 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008684/0.8991, allocations: 124 kB / 0.5195 GB, free: 5.094 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002938/0.8994, allocations: 117.5 kB / 0.5197 GB, free: 4.977 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0136/0.913, allocations: 2.775 MB / 0.5224 GB, free: 2.195 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2964/1.21, allocations: 11.97 MB / 0.5341 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005899/1.215, allocations: 2.765 MB / 0.5368 GB, free: 100.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003838/1.219, allocations: 1.103 MB / 0.5378 GB, free: 100.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005065/1.22, allocations: 134.9 kB / 0.538 GB, free: 100.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003828/1.224, allocations: 1.121 MB / 0.5391 GB, free: 100.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=156): time 9.225e-06/1.224, allocations: 1.438 kB / 0.5391 GB, free: 100.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=180): time 0.04146/1.265, allocations: 8.013 MB / 0.5469 GB, free: 99.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/1.265, allocations: 313.7 kB / 0.5472 GB, free: 99.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005715/1.271, allocations: 1.832 MB / 0.549 GB, free: 99.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004442/1.272, allocations: 68.16 kB / 0.549 GB, free: 99.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001807/1.274, allocations: 1.374 MB / 0.5504 GB, free: 98.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009453/1.274, allocations: 0.5938 MB / 0.551 GB, free: 98.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/1.275, allocations: 41.47 kB / 0.551 GB, free: 98.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002117/1.275, allocations: 392.8 kB / 0.5514 GB, free: 98.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003313/1.278, allocations: 1.003 MB / 0.5524 GB, free: 98.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003768/1.282, allocations: 1.531 MB / 0.5538 GB, free: 97.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003802/1.286, allocations: 1.223 MB / 0.555 GB, free: 97.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-05/1.286, allocations: 3.656 kB / 0.555 GB, free: 97.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.03505/1.321, allocations: 3.549 MB / 0.5585 GB, free: 96.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001301/1.322, allocations: 5.401 MB / 0.5638 GB, free: 91.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.861e-05/1.323, allocations: 14.69 kB / 0.5638 GB, free: 91.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006701/1.329, allocations: 1.192 MB / 0.565 GB, free: 90.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01758/1.347, allocations: 380.5 kB / 0.5653 GB, free: 90.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01766/1.365, allocations: 14.56 MB / 0.5795 GB, free: 80.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/1.367, allocations: 173.5 kB / 0.5797 GB, free: 80.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003393/1.368, allocations: 82.78 kB / 0.5798 GB, free: 80.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/1.368, allocations: 8.469 kB / 0.5798 GB, free: 80.2 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006889/1.375, allocations: 3.31 MB / 0.583 GB, free: 79.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/1.375, allocations: 10.12 kB / 0.583 GB, free: 79.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003749/1.378, allocations: 1.191 MB / 0.5842 GB, free: 78.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/1.38, allocations: 379 kB / 0.5846 GB, free: 78.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/1.398, allocations: 14.53 MB / 0.5988 GB, free: 68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/1.401, allocations: 161.8 kB / 0.5989 GB, free: 67.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/1.401, allocations: 87.33 kB / 0.599 GB, free: 67.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$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,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 205 * 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.0005347/1.401, allocations: 252.8 kB / 0.5992 GB, free: 67.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004759/1.402, allocations: 235.3 kB / 0.5995 GB, free: 67.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007576/1.409, allocations: 3.407 MB / 0.6028 GB, free: 66.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/1.41, allocations: 15.94 kB / 0.6028 GB, free: 66.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.719e-06/1.41, allocations: 3.781 kB / 0.6028 GB, free: 66.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/1.41, allocations: 7.125 kB / 0.6028 GB, free: 66.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/1.424, allocations: 6.672 MB / 0.6093 GB, free: 63.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/1.424, allocations: 3.438 kB / 0.6093 GB, free: 63.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/1.425, allocations: 207.9 kB / 0.6095 GB, free: 63.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00448/1.429, allocations: 1.402 MB / 0.6109 GB, free: 63.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/1.43, allocations: 45.73 kB / 0.6109 GB, free: 63.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02106/1.451, allocations: 14.7 MB / 0.6253 GB, free: 51.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.144e-06/1.451, allocations: 0 / 0.6253 GB, free: 51.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00912/1.46, allocations: 4.876 MB / 0.6301 GB, free: 47.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/1.462, allocations: 0.5396 MB / 0.6306 GB, free: 46.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004908/1.462, allocations: 54.8 kB / 0.6306 GB, free: 46.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/1.464, allocations: 134.6 kB / 0.6308 GB, free: 46.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005788/1.464, allocations: 227.7 kB / 0.631 GB, free: 46.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/1.465, allocations: 54.89 kB / 0.631 GB, free: 46.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00247/1.467, allocations: 1.402 MB / 0.6324 GB, free: 45 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.14e-07/1.467, allocations: 7.391 kB / 0.6324 GB, free: 44.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004713/1.472, allocations: 1.264 MB / 0.6336 GB, free: 43.74 MB / 442.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.pulseStart,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[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 52,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000629/1.472, allocations: 344.1 kB / 0.634 GB, free: 43.47 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01149/1.484, allocations: 6.131 MB / 0.64 GB, free: 37.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.368e-06/1.484, allocations: 4 kB / 0.64 GB, free: 37.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004381/1.488, allocations: 2.356 MB / 0.6423 GB, free: 35.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/1.491, allocations: 0.5099 MB / 0.6428 GB, free: 35.24 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/1.502, allocations: 5.17 MB / 0.6478 GB, free: 30.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002291/1.505, allocations: 2.325 MB / 0.6501 GB, free: 28.87 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003608/1.508, allocations: 0.9023 MB / 0.651 GB, free: 28.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/1.509, allocations: 107 kB / 0.6511 GB, free: 28.19 MB / 442.7 MB Notification: Performance of SimCode: time 1.933e-06/1.509, allocations: 0 / 0.6511 GB, free: 28.19 MB / 442.7 MB Notification: Performance of Templates: time 0.3584/1.867, allocations: 50.76 MB / 0.7006 GB, free: 110.1 MB / 458.7 MB