Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.901e-05, allocations: 8 kB / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.08969, allocations: 50.42 MB / 342.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4617/0.5514, allocations: 116.2 MB / 458.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.5517, allocations: 82.77 kB / 458.8 MB, free: 10.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2503/0.802, allocations: 62.74 MB / 0.5093 GB, free: 15.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.673e-06/0.8021, allocations: 3.938 kB / 0.5094 GB, free: 15.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002882/0.8024, allocations: 83.92 kB / 0.5094 GB, free: 15.62 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.009082/0.8115, allocations: 3.022 MB / 0.5124 GB, free: 12.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.8116, allocations: 8.031 kB / 0.5124 GB, free: 12.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.8142, allocations: 479.5 kB / 0.5128 GB, free: 12.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006604/0.8208, allocations: 2.065 MB / 0.5149 GB, free: 9.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004417/0.8213, allocations: 391.8 kB / 0.5152 GB, free: 9.508 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008276/0.8222, allocations: 283.9 kB / 0.5155 GB, free: 9.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009013/0.8312, allocations: 3.547 MB / 0.519 GB, free: 5.535 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.8313, allocations: 7.984 kB / 0.519 GB, free: 5.527 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004248/0.8318, allocations: 124 kB / 0.5191 GB, free: 5.406 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/0.832, allocations: 113.5 kB / 0.5192 GB, free: 5.293 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00755/0.8395, allocations: 2.775 MB / 0.5219 GB, free: 2.512 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.315/1.155, allocations: 11.97 MB / 0.5336 GB, free: 101.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/1.159, allocations: 2.764 MB / 0.5363 GB, free: 100.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/1.161, allocations: 1.107 MB / 0.5374 GB, free: 100.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003385/1.161, allocations: 143 kB / 0.5375 GB, free: 100.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002206/1.163, allocations: 1.117 MB / 0.5386 GB, free: 100.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=156): time 5.815e-06/1.163, allocations: 0 / 0.5386 GB, free: 100.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=180): time 0.02353/1.187, allocations: 8.015 MB / 0.5464 GB, free: 99.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.941e-05/1.187, allocations: 307.3 kB / 0.5467 GB, free: 99.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/1.191, allocations: 1.835 MB / 0.5485 GB, free: 98.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002808/1.191, allocations: 68.2 kB / 0.5486 GB, free: 98.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/1.192, allocations: 1.277 MB / 0.5498 GB, free: 98.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005486/1.193, allocations: 0.6037 MB / 0.5504 GB, free: 98.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/1.193, allocations: 40.53 kB / 0.5505 GB, free: 98.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/1.193, allocations: 395.9 kB / 0.5508 GB, free: 97.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/1.195, allocations: 1.004 MB / 0.5518 GB, free: 97.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/1.197, allocations: 1.526 MB / 0.5533 GB, free: 97.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/1.2, allocations: 1.225 MB / 0.5545 GB, free: 97.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/1.2, allocations: 5.219 kB / 0.5545 GB, free: 97.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007253/1.207, allocations: 3.393 MB / 0.5578 GB, free: 96.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000978/1.208, allocations: 5.149 MB / 0.5629 GB, free: 91.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/1.208, allocations: 13.69 kB / 0.5629 GB, free: 91.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00413/1.212, allocations: 1.184 MB / 0.564 GB, free: 91.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/1.214, allocations: 378.6 kB / 0.5644 GB, free: 91.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01838/1.233, allocations: 14.56 MB / 0.5786 GB, free: 80.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/1.236, allocations: 178.5 kB / 0.5788 GB, free: 80.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/1.236, allocations: 80.95 kB / 0.5789 GB, free: 80.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.236, allocations: 6.094 kB / 0.5789 GB, free: 80.52 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007008/1.243, allocations: 3.31 MB / 0.5821 GB, free: 79.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/1.243, allocations: 12.97 kB / 0.5821 GB, free: 79.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003518/1.247, allocations: 1.168 MB / 0.5832 GB, free: 79.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/1.249, allocations: 366.5 kB / 0.5836 GB, free: 79.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01838/1.267, allocations: 14.67 MB / 0.5979 GB, free: 68.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/1.269, allocations: 158.5 kB / 0.5981 GB, free: 68.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/1.269, allocations: 82.91 kB / 0.5982 GB, free: 68.26 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.0005515/1.27, allocations: 253.7 kB / 0.5984 GB, free: 68.06 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006974/1.27, allocations: 235.2 kB / 0.5986 GB, free: 67.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008204/1.279, allocations: 3.403 MB / 0.6019 GB, free: 66.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/1.279, allocations: 17.31 kB / 0.602 GB, free: 66.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.958e-06/1.279, allocations: 3.969 kB / 0.602 GB, free: 66.67 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/1.279, allocations: 10.69 kB / 0.602 GB, free: 66.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/1.294, allocations: 6.672 MB / 0.6085 GB, free: 64.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.294, allocations: 10.77 kB / 0.6085 GB, free: 64.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.295, allocations: 206.1 kB / 0.6087 GB, free: 64.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005088/1.3, allocations: 1.396 MB / 0.6101 GB, free: 63.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002398/1.301, allocations: 48.77 kB / 0.6101 GB, free: 63.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02153/1.322, allocations: 14.69 MB / 0.6245 GB, free: 52.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/1.322, allocations: 4 kB / 0.6245 GB, free: 52.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/1.336, allocations: 4.884 MB / 0.6292 GB, free: 47.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/1.337, allocations: 0.5335 MB / 0.6298 GB, free: 47.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005206/1.338, allocations: 51.03 kB / 0.6298 GB, free: 47.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.34, allocations: 139.1 kB / 0.6299 GB, free: 47.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005688/1.34, allocations: 221.2 kB / 0.6301 GB, free: 47.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/1.341, allocations: 58.7 kB / 0.6302 GB, free: 47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002497/1.343, allocations: 1.406 MB / 0.6316 GB, free: 45.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.73e-07/1.343, allocations: 0 / 0.6316 GB, free: 45.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004839/1.348, allocations: 1.256 MB / 0.6328 GB, free: 44.45 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.0006395/1.349, allocations: 340.3 kB / 0.6331 GB, free: 44.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01318/1.362, allocations: 6.108 MB / 0.6391 GB, free: 38.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.362, allocations: 4 kB / 0.6391 GB, free: 38.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004589/1.367, allocations: 2.263 MB / 0.6413 GB, free: 36.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/1.37, allocations: 0.5208 MB / 0.6418 GB, free: 36.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/1.382, allocations: 5.161 MB / 0.6469 GB, free: 31.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002441/1.384, allocations: 2.294 MB / 0.6491 GB, free: 29.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008436/1.385, allocations: 146.9 kB / 0.6492 GB, free: 29.57 MB / 442.7 MB Notification: Performance of SimCode: time 1.777e-06/1.385, allocations: 0 / 0.6492 GB, free: 29.57 MB / 442.7 MB Notification: Performance of Templates: time 0.3825/1.768, allocations: 117.8 MB / 0.7643 GB, free: 91.2 MB / 458.7 MB