Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.769/1.769, allocations: 171.1 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.997e-05, allocations: 4 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08103/0.08109, allocations: 38.77 MB / 266.9 MB, free: 1.129 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.0106/0.09175, allocations: 6.243 MB / 273.1 MB, free: 10.85 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005617/0.09742, allocations: 2.293 MB / 275.4 MB, free: 8.547 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.09856, allocations: 35.88 kB / 275.5 MB, free: 8.512 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.1, allocations: 385.9 kB / 275.8 MB, free: 8.133 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.1025, allocations: 430.6 kB / 276.3 MB, free: 7.711 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1036, allocations: 143.8 kB / 276.4 MB, free: 7.57 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003619/0.1073, allocations: 0.7843 MB / 277.2 MB, free: 6.785 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.1087, allocations: 308.3 kB / 277.5 MB, free: 6.48 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.11, allocations: 358.9 kB / 277.8 MB, free: 6.129 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.1115, allocations: 410.5 kB / 278.2 MB, free: 5.727 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00092/0.1125, allocations: 83.97 kB / 278.3 MB, free: 5.645 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003951/0.1129, allocations: 44 kB / 278.4 MB, free: 5.602 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.1132, allocations: 159.2 kB / 278.5 MB, free: 5.445 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005875/0.1138, allocations: 108 kB / 278.6 MB, free: 5.34 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003102/0.117, allocations: 1.285 MB / 279.9 MB, free: 4.051 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.117, allocations: 0 / 279.9 MB, free: 4.051 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1171, allocations: 0 / 279.9 MB, free: 4.051 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.597e-05/0.1171, allocations: 0 / 279.9 MB, free: 4.051 MB / 234.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.004257/0.1214, allocations: 1.123 MB / 281 MB, free: 2.879 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.676e-05/0.1215, allocations: 8.031 kB / 281 MB, free: 2.871 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.1228, allocations: 154.5 kB / 281.2 MB, free: 2.719 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.1254, allocations: 0.6873 MB / 281.9 MB, free: 1.984 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.1256, allocations: 70 kB / 282 MB, free: 1.918 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003216/0.1259, allocations: 103.8 kB / 282.1 MB, free: 1.816 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00393/0.1298, allocations: 0.9074 MB / 283 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.356e-05/0.13, allocations: 7.938 kB / 283 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/0.1302, allocations: 40 kB / 283 MB, free: 0.832 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.75e-05/0.1302, allocations: 24 kB / 283 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003272/0.1335, allocations: 0.6324 MB / 283.7 MB, free: 184 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.1457, allocations: 3.882 MB / 287.5 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.1472, allocations: 368.4 kB / 287.9 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.729e-05/0.1472, allocations: 4 kB / 287.9 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.1473, allocations: 38.55 kB / 287.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 4.649e-06/0.1473, allocations: 0 / 287.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.005587/0.1529, allocations: 1.217 MB / 289.2 MB, free: 10.33 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.1531, allocations: 81.11 kB / 289.2 MB, free: 10.23 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.1552, allocations: 0.6721 MB / 289.9 MB, free: 9.555 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.1553, allocations: 33.7 kB / 289.9 MB, free: 9.516 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008101/0.1562, allocations: 0.5782 MB / 290.5 MB, free: 8.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.1565, allocations: 134.2 kB / 290.7 MB, free: 8.797 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.1566, allocations: 12 kB / 290.7 MB, free: 8.785 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.1568, allocations: 338.8 kB / 291 MB, free: 8.445 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008987/0.1577, allocations: 145.9 kB / 291.1 MB, free: 8.301 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.1591, allocations: 464 kB / 291.6 MB, free: 7.703 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.1603, allocations: 235.3 kB / 291.8 MB, free: 7.473 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/0.1604, allocations: 4 kB / 291.8 MB, free: 7.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003175/0.1636, allocations: 0.6345 MB / 292.5 MB, free: 6.824 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.1637, allocations: 8 kB / 292.5 MB, free: 6.816 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.739e-05/0.1638, allocations: 12.5 kB / 292.5 MB, free: 6.805 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003024/0.1641, allocations: 40.84 kB / 292.5 MB, free: 6.762 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.1656, allocations: 155.8 kB / 292.7 MB, free: 6.609 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.1678, allocations: 1.299 MB / 294 MB, free: 5.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.1693, allocations: 39.98 kB / 294 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.1695, allocations: 32 kB / 294 MB, free: 5.109 MB / 250.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.00106/0.1706, allocations: 261.7 kB / 294.3 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003678/0.171, allocations: 90.91 kB / 294.4 MB, free: 4.754 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.1731, allocations: 386.4 kB / 294.8 MB, free: 4.367 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.1732, allocations: 4 kB / 294.8 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.1732, allocations: 0 / 294.8 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.1732, allocations: 4 kB / 294.8 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003853/0.1771, allocations: 1.246 MB / 296 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.1772, allocations: 0 / 296 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008366/0.178, allocations: 79.84 kB / 296.1 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002155/0.1783, allocations: 28.8 kB / 296.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.517e-05/0.1783, allocations: 11.94 kB / 296.1 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.1802, allocations: 1.28 MB / 297.4 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.1802, allocations: 4.031 kB / 297.4 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.1828, allocations: 0.7172 MB / 298.1 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006502/0.1835, allocations: 180.1 kB / 298.3 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/0.1838, allocations: 11.98 kB / 298.3 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008485/0.1846, allocations: 35.92 kB / 298.4 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.1848, allocations: 27.92 kB / 298.4 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.1848, allocations: 12 kB / 298.4 MB, free: 416 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.2471/0.4319, allocations: 0.5037 MB / 298.9 MB, free: 29.01 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.432, allocations: 1.188 kB / 298.9 MB, free: 29.01 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001229/0.4332, allocations: 188.7 kB / 299.1 MB, free: 29.01 MB / 250.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.0002895/0.4335, allocations: 119.7 kB / 299.2 MB, free: 28.92 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.4352, allocations: 0.5236 MB / 299.7 MB, free: 28.79 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.4352, allocations: 3.938 kB / 299.7 MB, free: 28.79 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007169/0.436, allocations: 272.2 kB / 300 MB, free: 28.67 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.4377, allocations: 187.3 kB / 300.2 MB, free: 28.67 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.4423, allocations: 2.112 MB / 302.3 MB, free: 27.48 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007913/0.4432, allocations: 1.016 MB / 303.3 MB, free: 26.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.4435, allocations: 56.66 kB / 303.4 MB, free: 26.76 MB / 250.7 MB Notification: Performance of SimCode: time 2.094e-06/0.4436, allocations: 1.375 kB / 303.4 MB, free: 26.76 MB / 250.7 MB Notification: Performance of Templates: time 0.0318/0.4754, allocations: 14.84 MB / 318.2 MB, free: 20.28 MB / 250.7 MB