Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.645e-05, allocations: 7.984 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 50.4 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01009/0.1162, allocations: 6.208 MB / 351.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005364/0.1216, allocations: 2.289 MB / 353.5 MB, free: 424 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008672/0.1225, allocations: 35.88 kB / 353.5 MB, free: 388 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.1239, allocations: 389.9 kB / 353.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.1256, allocations: 422.6 kB / 354.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005814/0.1262, allocations: 151.8 kB / 354.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002059/0.1283, allocations: 0.7804 MB / 355.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006685/0.129, allocations: 308.2 kB / 355.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006522/0.1297, allocations: 358.9 kB / 355.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007061/0.1304, allocations: 410.4 kB / 356.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.1308, allocations: 87.91 kB / 356.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.131, allocations: 40 kB / 356.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.1312, allocations: 151.3 kB / 356.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.1315, allocations: 112 kB / 356.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.1334, allocations: 1.285 MB / 358 MB, free: 11.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1334, allocations: 0 / 358 MB, free: 11.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.709e-06/0.1334, allocations: 4 kB / 358 MB, free: 11.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.992e-05/0.1335, allocations: 3.938 kB / 358 MB, free: 11.91 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002637/0.1361, allocations: 1.115 MB / 359.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1362, allocations: 11.97 kB / 359.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006431/0.1368, allocations: 158.5 kB / 359.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.1385, allocations: 0.6873 MB / 359.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.188e-05/0.1386, allocations: 74 kB / 360 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/0.1388, allocations: 92 kB / 360.1 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.1413, allocations: 0.9151 MB / 361 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.791e-05/0.1414, allocations: 7.906 kB / 361 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.1416, allocations: 47.89 kB / 361.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.1416, allocations: 24 kB / 361.1 MB, free: 8.664 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.1436, allocations: 0.6246 MB / 361.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00737/0.151, allocations: 3.889 MB / 365.6 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009017/0.1519, allocations: 355.7 kB / 365.9 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.557e-05/0.152, allocations: 4 kB / 366 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.1521, allocations: 30.56 kB / 366 MB, free: 3.488 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 7.635e-06/0.1521, allocations: 3.984 kB / 366 MB, free: 3.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.00365/0.1557, allocations: 1.223 MB / 367.2 MB, free: 2.184 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.1559, allocations: 89.09 kB / 367.3 MB, free: 2.078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.1572, allocations: 0.6644 MB / 368 MB, free: 1.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.1573, allocations: 33.7 kB / 368 MB, free: 1.371 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005231/0.1578, allocations: 0.582 MB / 368.6 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.158, allocations: 130.2 kB / 368.7 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.158, allocations: 12 kB / 368.7 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1582, allocations: 342.8 kB / 369 MB, free: 304 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000524/0.1588, allocations: 153.9 kB / 369.2 MB, free: 152 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008214/0.1596, allocations: 460 kB / 369.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.1603, allocations: 223.9 kB / 369.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.1603, allocations: 4 kB / 369.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001776/0.1621, allocations: 0.6465 MB / 370.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.1622, allocations: 8 kB / 370.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.1622, allocations: 8 kB / 370.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/0.1624, allocations: 36.84 kB / 370.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009504/0.1634, allocations: 159.8 kB / 370.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.1647, allocations: 1.296 MB / 372 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007842/0.1655, allocations: 48.23 kB / 372.1 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/0.1656, allocations: 32 kB / 372.1 MB, free: 12.96 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005414/0.1662, allocations: 249.5 kB / 372.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.1663, allocations: 90.91 kB / 372.4 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.1675, allocations: 386.3 kB / 372.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.1675, allocations: 7.953 kB / 372.8 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1676, allocations: 0 / 372.8 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1676, allocations: 0 / 372.8 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/0.1704, allocations: 1.251 MB / 374.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1704, allocations: 3.938 kB / 374.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/0.171, allocations: 79.89 kB / 374.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001354/0.1712, allocations: 29.06 kB / 374.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.1712, allocations: 8 kB / 374.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.1724, allocations: 1.272 MB / 375.5 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.1725, allocations: 4 kB / 375.5 MB, free: 9.363 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.1742, allocations: 0.7362 MB / 376.2 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.1746, allocations: 180.1 kB / 376.4 MB, free: 8.348 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.1748, allocations: 11.95 kB / 376.4 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005843/0.1753, allocations: 31.97 kB / 376.4 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/0.1755, allocations: 27.91 kB / 376.4 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.1755, allocations: 12 kB / 376.5 MB, free: 8.266 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001042/0.1766, allocations: 0.5107 MB / 377 MB, free: 7.758 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1766, allocations: 0 / 377 MB, free: 7.758 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009977/0.1776, allocations: 184 kB / 377.1 MB, free: 7.578 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002578/0.1778, allocations: 135.1 kB / 377.3 MB, free: 7.438 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.1793, allocations: 0.5082 MB / 377.8 MB, free: 6.918 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1793, allocations: 0 / 377.8 MB, free: 6.918 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006772/0.18, allocations: 279.2 kB / 378.1 MB, free: 6.633 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.1815, allocations: 202.2 kB / 378.3 MB, free: 6.441 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/0.1857, allocations: 2.112 MB / 380.4 MB, free: 4.273 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007993/0.1866, allocations: 1.012 MB / 381.4 MB, free: 3.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.1868, allocations: 55.44 kB / 381.4 MB, free: 3.18 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1868, allocations: 0 / 381.4 MB, free: 3.18 MB / 314.7 MB Notification: Performance of Templates: time 0.03023/0.217, allocations: 14.83 MB / 396.3 MB, free: 4.406 MB / 330.7 MB