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_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.806/1.806, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.577e-05, allocations: 0 / 228.2 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0962/0.09625, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01408/0.1104, allocations: 6.249 MB / 273.2 MB, free: 10.2 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007104/0.1176, allocations: 2.293 MB / 275.5 MB, free: 7.895 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.1188, allocations: 35.94 kB / 275.5 MB, free: 7.859 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.1207, allocations: 393.8 kB / 275.9 MB, free: 7.473 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00293/0.1236, allocations: 426.6 kB / 276.3 MB, free: 7.055 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.1247, allocations: 143.8 kB / 276.4 MB, free: 6.914 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003106/0.1278, allocations: 0.7844 MB / 277.2 MB, free: 6.129 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007991/0.1287, allocations: 304.3 kB / 277.5 MB, free: 5.828 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000771/0.1295, allocations: 362.9 kB / 277.9 MB, free: 5.473 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000714/0.1302, allocations: 410.5 kB / 278.3 MB, free: 5.07 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.1306, allocations: 79.97 kB / 278.4 MB, free: 4.992 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.1308, allocations: 44 kB / 278.4 MB, free: 4.949 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.131, allocations: 163.2 kB / 278.6 MB, free: 4.789 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003021/0.1313, allocations: 108 kB / 278.7 MB, free: 4.684 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.1333, allocations: 1.281 MB / 279.9 MB, free: 3.398 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1334, allocations: 0 / 279.9 MB, free: 3.398 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1334, allocations: 0 / 279.9 MB, free: 3.398 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.095e-05/0.1334, allocations: 0 / 279.9 MB, free: 3.398 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.002769/0.1362, allocations: 1.123 MB / 281.1 MB, free: 2.227 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.1363, allocations: 8.031 kB / 281.1 MB, free: 2.219 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007479/0.1371, allocations: 154.5 kB / 281.2 MB, free: 2.066 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.1389, allocations: 0.6873 MB / 281.9 MB, free: 1.332 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.418e-05/0.1391, allocations: 70 kB / 282 MB, free: 1.266 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002435/0.1393, allocations: 103.9 kB / 282.1 MB, free: 1.164 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002682/0.142, allocations: 0.9151 MB / 283 MB, free: 224 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/0.1421, allocations: 0 / 283 MB, free: 224 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.1423, allocations: 40 kB / 283 MB, free: 184 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.1423, allocations: 24 kB / 283.1 MB, free: 160 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.1446, allocations: 0.6286 MB / 283.7 MB, free: 15.53 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009261/0.1539, allocations: 3.885 MB / 287.6 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009138/0.1548, allocations: 363.7 kB / 287.9 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.1549, allocations: 4 kB / 287.9 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.1549, allocations: 38.56 kB / 288 MB, free: 10.97 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 3.436e-06/0.155, allocations: 0 / 288 MB, free: 10.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.003601/0.1586, allocations: 1.213 MB / 289.2 MB, free: 9.684 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.1587, allocations: 81.11 kB / 289.3 MB, free: 9.586 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.1601, allocations: 0.676 MB / 289.9 MB, free: 8.902 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.1601, allocations: 37.64 kB / 290 MB, free: 8.859 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005917/0.1608, allocations: 0.564 MB / 290.5 MB, free: 8.285 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.1609, allocations: 134.2 kB / 290.7 MB, free: 8.152 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.161, allocations: 12 kB / 290.7 MB, free: 8.141 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1612, allocations: 334 kB / 291 MB, free: 7.809 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000555/0.1617, allocations: 149.9 kB / 291.2 MB, free: 7.66 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000849/0.1626, allocations: 463.9 kB / 291.6 MB, free: 7.059 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/0.1633, allocations: 235.4 kB / 291.8 MB, free: 6.828 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.1634, allocations: 4 kB / 291.8 MB, free: 6.824 MB / 250.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001967/0.1653, allocations: 0.6922 MB / 292.5 MB, free: 6.121 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.1654, allocations: 8.594 kB / 292.5 MB, free: 6.113 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.1654, allocations: 16 kB / 292.6 MB, free: 6.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.1656, allocations: 40.78 kB / 292.6 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009913/0.1666, allocations: 155.8 kB / 292.7 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.168, allocations: 1.299 MB / 294 MB, free: 4.473 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008831/0.1689, allocations: 35.89 kB / 294.1 MB, free: 4.438 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/0.169, allocations: 36 kB / 294.1 MB, free: 4.402 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.0005696/0.1696, allocations: 257.8 kB / 294.4 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.1698, allocations: 86.92 kB / 294.5 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.1711, allocations: 402.3 kB / 294.8 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.1711, allocations: 4 kB / 294.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1711, allocations: 3.938 kB / 294.9 MB, free: 3.645 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1711, allocations: 0 / 294.9 MB, free: 3.645 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.174, allocations: 1.238 MB / 296.1 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.1741, allocations: 7.938 kB / 296.1 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006412/0.1748, allocations: 67.91 kB / 296.2 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001581/0.1749, allocations: 28.8 kB / 296.2 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.175, allocations: 8 kB / 296.2 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.1763, allocations: 1.28 MB / 297.5 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1764, allocations: 0 / 297.5 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2246/0.401, allocations: 0.7216 MB / 298.2 MB, free: 29.02 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007/0.4017, allocations: 178.2 kB / 298.4 MB, free: 28.92 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/0.402, allocations: 8.922 kB / 298.4 MB, free: 28.92 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.4031, allocations: 30.22 kB / 298.4 MB, free: 28.92 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.4033, allocations: 31.61 kB / 298.4 MB, free: 28.92 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/0.4034, allocations: 11.69 kB / 298.5 MB, free: 28.92 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001823/0.4053, allocations: 0.5121 MB / 299 MB, free: 28.83 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.583e-06/0.4053, allocations: 0 / 299 MB, free: 28.83 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001883/0.4072, allocations: 185.1 kB / 299.2 MB, free: 28.83 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.0003776/0.4076, allocations: 122.7 kB / 299.3 MB, free: 28.74 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.4093, allocations: 0.5238 MB / 299.8 MB, free: 28.62 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.4094, allocations: 1.375 kB / 299.8 MB, free: 28.62 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006761/0.4101, allocations: 275.8 kB / 300.1 MB, free: 28.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.4118, allocations: 188.5 kB / 300.3 MB, free: 28.49 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/0.4161, allocations: 2.072 MB / 302.3 MB, free: 27.33 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006995/0.4169, allocations: 1.016 MB / 303.3 MB, free: 26.62 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0007821/0.4177, allocations: 106.9 kB / 303.4 MB, free: 26.58 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.4178, allocations: 51.75 kB / 303.5 MB, free: 26.58 MB / 250.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4179, allocations: 3.234 kB / 303.5 MB, free: 26.58 MB / 250.7 MB Notification: Performance of Templates: time 0.02669/0.4446, allocations: 8.113 MB / 311.6 MB, free: 24.05 MB / 250.7 MB