Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadModel(Modelica): time 1.927/1.927, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.706e-05/3.714e-05, allocations: 3.984 kB / 292.1 MB, free: 8.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08992/0.08998, allocations: 50.42 MB / 342.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3886/0.4786, allocations: 98.86 MB / 441.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.4789, allocations: 86.31 kB / 441.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1081/0.5871, allocations: 28.21 MB / 469.7 MB, free: 3.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5871, allocations: 0 / 469.7 MB, free: 3.797 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.384e-05/0.5872, allocations: 24 kB / 469.7 MB, free: 3.773 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002189/0.5894, allocations: 1.1 MB / 470.8 MB, free: 2.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.5895, allocations: 12.03 kB / 470.8 MB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008736/0.5904, allocations: 190.3 kB / 471 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.5923, allocations: 0.7886 MB / 471.8 MB, free: 1.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.702e-05/0.5924, allocations: 73.94 kB / 471.9 MB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.5926, allocations: 103.9 kB / 472 MB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.5947, allocations: 0.8763 MB / 472.9 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/0.5948, allocations: 7.938 kB / 472.9 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.5949, allocations: 40 kB / 472.9 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.595, allocations: 27.95 kB / 472.9 MB, free: 496 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.5966, allocations: 0.578 MB / 473.5 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007255/0.6038, allocations: 3.915 MB / 477.4 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008608/0.6047, allocations: 435.8 kB / 477.9 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006368/0.6054, allocations: 252.5 kB / 478.1 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.6054, allocations: 4 kB / 478.1 MB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.6055, allocations: 42.52 kB / 478.1 MB, free: 11.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.952e-06/0.6055, allocations: 0 / 478.1 MB, free: 11.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.002971/0.6085, allocations: 1.193 MB / 479.3 MB, free: 9.758 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.6086, allocations: 85.55 kB / 479.4 MB, free: 9.656 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.6099, allocations: 0.6879 MB / 480.1 MB, free: 8.965 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.61, allocations: 29.7 kB / 480.1 MB, free: 8.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005091/0.6105, allocations: 0.5629 MB / 480.7 MB, free: 8.359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.6107, allocations: 177.5 kB / 480.9 MB, free: 8.184 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.6108, allocations: 12 kB / 480.9 MB, free: 8.172 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.611, allocations: 342.8 kB / 481.2 MB, free: 7.828 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.6114, allocations: 153.6 kB / 481.4 MB, free: 7.676 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.6121, allocations: 436.4 kB / 481.8 MB, free: 7.117 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.6126, allocations: 233.5 kB / 482 MB, free: 6.895 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.6126, allocations: 4 kB / 482 MB, free: 6.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001703/0.6144, allocations: 0.6772 MB / 482.7 MB, free: 6.199 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.6144, allocations: 8 kB / 482.7 MB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.6144, allocations: 12 kB / 482.7 MB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004101/0.6149, allocations: 101.9 kB / 482.8 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/0.6156, allocations: 163.7 kB / 483 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00359/0.6192, allocations: 2.974 MB / 486 MB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008637/0.6201, allocations: 39.95 kB / 486 MB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.81e-05/0.6202, allocations: 39.95 kB / 486 MB, free: 2.598 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002087/0.6204, allocations: 156.8 kB / 486.2 MB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.6206, allocations: 86.97 kB / 486.3 MB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.6218, allocations: 494.4 kB / 486.8 MB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.6219, allocations: 7.984 kB / 486.8 MB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.517e-06/0.6219, allocations: 0 / 486.8 MB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.6219, allocations: 0 / 486.8 MB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.6249, allocations: 1.431 MB / 488.2 MB, free: 336 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.934e-06/0.625, allocations: 0 / 488.2 MB, free: 336 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004445/0.6254, allocations: 80.11 kB / 488.3 MB, free: 256 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003576/0.6258, allocations: 85.56 kB / 488.4 MB, free: 164 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.6259, allocations: 16 kB / 488.4 MB, free: 148 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003464/0.6293, allocations: 2.975 MB / 491.4 MB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.6294, allocations: 8.062 kB / 491.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.6311, allocations: 0.8401 MB / 492.2 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/0.6316, allocations: 204 kB / 492.4 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.6317, allocations: 8 kB / 492.4 MB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005558/0.6323, allocations: 27.98 kB / 492.4 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.6324, allocations: 43.84 kB / 492.5 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.6325, allocations: 19.98 kB / 492.5 MB, free: 11.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001053/0.6336, allocations: 0.5226 MB / 493 MB, free: 11.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.65e-07/0.6336, allocations: 0 / 493 MB, free: 11.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001273/0.6349, allocations: 232 kB / 493.2 MB, free: 10.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005443/0.6354, allocations: 320.1 kB / 493.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.6368, allocations: 0.6506 MB / 494.2 MB, free: 9.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.715e-06/0.6368, allocations: 64 / 494.2 MB, free: 9.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007966/0.6376, allocations: 423.3 kB / 494.6 MB, free: 9.477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.6389, allocations: 210.7 kB / 494.8 MB, free: 9.277 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.6421, allocations: 1.293 MB / 496.1 MB, free: 7.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009198/0.643, allocations: 1.028 MB / 497.2 MB, free: 6.875 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.6432, allocations: 63.44 kB / 497.2 MB, free: 6.812 MB / 410.7 MB Notification: Performance of SimCode: time 1.57e-06/0.6433, allocations: 0 / 497.2 MB, free: 6.812 MB / 410.7 MB Notification: Performance of Templates: time 0.03362/0.6769, allocations: 20.81 MB / 0.5059 GB, free: 2.062 MB / 426.7 MB