Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadModel(Modelica): time 1.787/1.787, allocations: 171.1 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.968e-05, allocations: 4 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1022, allocations: 38.77 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01072/0.113, allocations: 6.306 MB / 273.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006027/0.1191, allocations: 2.336 MB / 275.5 MB, free: 8.445 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.1203, allocations: 39.88 kB / 275.6 MB, free: 8.406 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.1221, allocations: 393.8 kB / 276 MB, free: 8.02 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.1243, allocations: 446.5 kB / 276.4 MB, free: 7.582 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007909/0.1251, allocations: 147.8 kB / 276.5 MB, free: 7.438 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003179/0.1283, allocations: 0.8077 MB / 277.4 MB, free: 6.629 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009721/0.1294, allocations: 304.2 kB / 277.7 MB, free: 6.328 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009916/0.1304, allocations: 374.9 kB / 278 MB, free: 5.961 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.1315, allocations: 422.4 kB / 278.4 MB, free: 5.547 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005888/0.1322, allocations: 79.97 kB / 278.5 MB, free: 5.469 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002958/0.1325, allocations: 44 kB / 278.6 MB, free: 5.426 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.1328, allocations: 163.2 kB / 278.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004351/0.1332, allocations: 112 kB / 278.8 MB, free: 5.156 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002691/0.1359, allocations: 1.305 MB / 280.1 MB, free: 3.848 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.136, allocations: 0 / 280.1 MB, free: 3.848 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.136, allocations: 0 / 280.1 MB, free: 3.848 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.135e-05/0.1361, allocations: 4 kB / 280.1 MB, free: 3.844 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003335/0.1394, allocations: 1.123 MB / 281.3 MB, free: 2.672 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.1395, allocations: 12.03 kB / 281.3 MB, free: 2.66 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.1406, allocations: 170.4 kB / 281.4 MB, free: 2.492 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.1428, allocations: 0.7028 MB / 282.1 MB, free: 1.742 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.1429, allocations: 74 kB / 282.2 MB, free: 1.672 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.1432, allocations: 96 kB / 282.3 MB, free: 1.578 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/0.1465, allocations: 0.9229 MB / 283.2 MB, free: 0.625 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.456e-05/0.1466, allocations: 15.89 kB / 283.2 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.1468, allocations: 36 kB / 283.3 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.1468, allocations: 24 kB / 283.3 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/0.1496, allocations: 0.6402 MB / 283.9 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02546/0.1751, allocations: 3.887 MB / 287.8 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.1765, allocations: 454.3 kB / 288.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/0.1765, allocations: 4.328 kB / 288.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.1766, allocations: 38.89 kB / 288.3 MB, free: 11.29 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 3.957e-06/0.1766, allocations: 0 / 288.3 MB, free: 11.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=44): time 0.004922/0.1815, allocations: 1.39 MB / 289.7 MB, free: 9.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.71e-05/0.1816, allocations: 85.11 kB / 289.8 MB, free: 9.719 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/0.1922, allocations: 0.6645 MB / 290.4 MB, free: 9.047 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.1924, allocations: 37.7 kB / 290.5 MB, free: 9.004 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006492/0.193, allocations: 0.5744 MB / 291.1 MB, free: 8.422 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.1933, allocations: 161.7 kB / 291.2 MB, free: 8.262 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.1933, allocations: 16 kB / 291.2 MB, free: 8.246 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.1936, allocations: 334.8 kB / 291.6 MB, free: 7.91 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004091/0.1977, allocations: 161.9 kB / 291.7 MB, free: 7.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009982/0.1987, allocations: 463.9 kB / 292.2 MB, free: 7.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008872/0.1996, allocations: 237.5 kB / 292.4 MB, free: 6.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.1996, allocations: 7.953 kB / 292.4 MB, free: 6.922 MB / 250.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002404/0.202, allocations: 0.69 MB / 293.1 MB, free: 6.219 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.2021, allocations: 8 kB / 293.1 MB, free: 6.211 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.2021, allocations: 8.047 kB / 293.1 MB, free: 6.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004055/0.2026, allocations: 77.62 kB / 293.2 MB, free: 6.121 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.2037, allocations: 159.7 kB / 293.3 MB, free: 5.965 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.2147, allocations: 2.798 MB / 296.1 MB, free: 2.898 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.2161, allocations: 43.95 kB / 296.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.2163, allocations: 32 kB / 296.2 MB, free: 2.824 MB / 250.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.0008071/0.2171, allocations: 261.5 kB / 296.5 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.2174, allocations: 86.97 kB / 296.6 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.2191, allocations: 483.7 kB / 297 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.2192, allocations: 7.953 kB / 297 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2192, allocations: 192 / 297 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.2192, allocations: 3.984 kB / 297 MB, free: 1.973 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003988/0.2232, allocations: 1.379 MB / 298.4 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.2233, allocations: 8.125 kB / 298.4 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009712/0.2243, allocations: 71.91 kB / 298.5 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004898/0.2248, allocations: 69.8 kB / 298.6 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.673e-05/0.2249, allocations: 8 kB / 298.6 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2415/0.4664, allocations: 2.781 MB / 301.4 MB, free: 26.62 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.4665, allocations: 10.66 kB / 301.4 MB, free: 26.62 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.4685, allocations: 0.8273 MB / 302.2 MB, free: 26.3 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003731/0.4689, allocations: 188.8 kB / 302.4 MB, free: 26.21 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.4691, allocations: 11.25 kB / 302.4 MB, free: 26.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006566/0.4698, allocations: 34.67 kB / 302.4 MB, free: 26.21 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4699, allocations: 36.88 kB / 302.5 MB, free: 26.21 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.47, allocations: 14.44 kB / 302.5 MB, free: 26.21 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.00101/0.471, allocations: 0.5126 MB / 303 MB, free: 26.11 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.471, allocations: 3.812 kB / 303 MB, free: 26.11 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001121/0.4722, allocations: 204.6 kB / 303.2 MB, free: 26.11 MB / 250.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.0002552/0.4724, allocations: 125.2 kB / 303.3 MB, free: 26.03 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.4742, allocations: 0.6789 MB / 304 MB, free: 25.75 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.4742, allocations: 1.141 kB / 304 MB, free: 25.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009824/0.4752, allocations: 429.7 kB / 304.4 MB, free: 25.46 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.4769, allocations: 206.5 kB / 304.6 MB, free: 25.4 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/0.4812, allocations: 2.119 MB / 306.7 MB, free: 24.09 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006881/0.4819, allocations: 1.026 MB / 307.8 MB, free: 23.37 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.4822, allocations: 58.12 kB / 307.8 MB, free: 23.36 MB / 250.7 MB Notification: Performance of SimCode: time 1.413e-06/0.4822, allocations: 1.188 kB / 307.8 MB, free: 23.36 MB / 250.7 MB Notification: Performance of Templates: time 0.03542/0.5177, allocations: 19.59 MB / 327.4 MB, free: 10.84 MB / 250.7 MB