Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadModel(Modelica): time 2.161/2.161, allocations: 224.7 MB / 241.1 MB, free: 1.652 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.409e-05, allocations: 4 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 50.41 MB / 345 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01035/0.1218, allocations: 6.282 MB / 351.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00568/0.1276, allocations: 2.324 MB / 353.6 MB, free: 288 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.1288, allocations: 39.88 kB / 353.6 MB, free: 248 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.1304, allocations: 385.9 kB / 354 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.1325, allocations: 446.5 kB / 354.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008119/0.1334, allocations: 151.8 kB / 354.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0025/0.1359, allocations: 0.8116 MB / 355.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007479/0.1367, allocations: 300.2 kB / 355.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000767/0.1375, allocations: 374.9 kB / 356.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008296/0.1383, allocations: 426.5 kB / 356.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004439/0.1388, allocations: 83.91 kB / 356.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.139, allocations: 48 kB / 356.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.1392, allocations: 155.2 kB / 356.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003317/0.1396, allocations: 112 kB / 356.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.1417, allocations: 1.305 MB / 358.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.1417, allocations: 0 / 358.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1417, allocations: 0 / 358.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.973e-05/0.1418, allocations: 0 / 358.2 MB, free: 11.68 MB / 298.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.002904/0.1447, allocations: 1.133 MB / 359.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.1448, allocations: 8.031 kB / 359.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009463/0.1457, allocations: 170.5 kB / 359.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.1476, allocations: 0.7029 MB / 360.2 MB, free: 9.578 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.408e-05/0.1478, allocations: 74 kB / 360.2 MB, free: 9.508 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.148, allocations: 99.91 kB / 360.3 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.1507, allocations: 0.9229 MB / 361.3 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.167e-05/0.1508, allocations: 7.938 kB / 361.3 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.151, allocations: 43.95 kB / 361.3 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.151, allocations: 24 kB / 361.3 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.1532, allocations: 0.6364 MB / 362 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008474/0.1617, allocations: 3.891 MB / 365.9 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.1629, allocations: 429.5 kB / 366.3 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-05/0.163, allocations: 16.27 kB / 366.3 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.163, allocations: 34.89 kB / 366.3 MB, free: 3.121 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 3.516e-06/0.163, allocations: 0 / 366.3 MB, free: 3.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.004204/0.1673, allocations: 1.391 MB / 367.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.1674, allocations: 81.11 kB / 367.8 MB, free: 1.559 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.1688, allocations: 0.6761 MB / 368.5 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.1689, allocations: 33.7 kB / 368.5 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005177/0.1695, allocations: 0.5744 MB / 369.1 MB, free: 264 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.1697, allocations: 157.8 kB / 369.2 MB, free: 104 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.1697, allocations: 16 kB / 369.3 MB, free: 88 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1699, allocations: 342.8 kB / 369.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.1705, allocations: 157.9 kB / 369.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007912/0.1713, allocations: 464 kB / 370.2 MB, free: 15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/0.1721, allocations: 237.5 kB / 370.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.1721, allocations: 0 / 370.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002007/0.1741, allocations: 0.6978 MB / 371.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.1742, allocations: 8.062 kB / 371.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.1742, allocations: 20 kB / 371.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.1746, allocations: 69.69 kB / 371.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/0.1756, allocations: 155.7 kB / 371.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/0.1789, allocations: 2.806 MB / 374.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.18, allocations: 43.95 kB / 374.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.934e-05/0.1801, allocations: 44.06 kB / 374.3 MB, free: 10.65 MB / 314.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%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006318/0.1807, allocations: 253.5 kB / 374.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.181, allocations: 82.97 kB / 374.6 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.1825, allocations: 479.4 kB / 375.1 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.1826, allocations: 4 kB / 375.1 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.1826, allocations: 4 kB / 375.1 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.1826, allocations: 3.984 kB / 375.1 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003404/0.186, allocations: 1.376 MB / 376.5 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.1861, allocations: 4 kB / 376.5 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.1867, allocations: 71.89 kB / 376.5 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002901/0.187, allocations: 61.91 kB / 376.6 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.187, allocations: 12 kB / 376.6 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002912/0.1899, allocations: 2.799 MB / 379.4 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.19, allocations: 4.031 kB / 379.4 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.1921, allocations: 0.832 MB / 380.2 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000448/0.1926, allocations: 188.1 kB / 380.4 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.1928, allocations: 12 kB / 380.4 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006737/0.1935, allocations: 31.98 kB / 380.5 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.1937, allocations: 39.84 kB / 380.5 MB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.1937, allocations: 12 kB / 380.5 MB, free: 3.918 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001077/0.1948, allocations: 0.5146 MB / 381 MB, free: 3.406 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1948, allocations: 0 / 381 MB, free: 3.406 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001184/0.196, allocations: 204 kB / 381.2 MB, free: 3.207 MB / 314.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%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003049/0.1963, allocations: 131.1 kB / 381.4 MB, free: 3.066 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.1982, allocations: 0.6775 MB / 382 MB, free: 2.363 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.1982, allocations: 0 / 382 MB, free: 2.363 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.1993, allocations: 450.8 kB / 382.5 MB, free: 1.898 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.2011, allocations: 206.5 kB / 382.7 MB, free: 1.703 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004766/0.2059, allocations: 2.124 MB / 384.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007993/0.2067, allocations: 1.02 MB / 385.8 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.2071, allocations: 59.42 kB / 385.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of SimCode: time 1.253e-06/0.2071, allocations: 0 / 385.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of Templates: time 0.3102/0.5173, allocations: 19.58 MB / 405.5 MB, free: 49.72 MB / 330.7 MB