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_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 194.9 MB / 210.6 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.094e-05, allocations: 7.906 kB / 258.8 MB, free: 7.852 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2975, allocations: 44.5 MB / 303.3 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01088/0.3085, allocations: 6.326 MB / 309.6 MB, free: 7.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005867/0.3144, allocations: 2.337 MB / 312 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.3155, allocations: 35.94 kB / 312 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.3171, allocations: 393.7 kB / 312.4 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.3191, allocations: 446.6 kB / 312.8 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.3198, allocations: 155.7 kB / 313 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002382/0.3222, allocations: 0.8115 MB / 313.8 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007471/0.323, allocations: 296.2 kB / 314.1 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007884/0.3238, allocations: 386.8 kB / 314.5 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008043/0.3246, allocations: 418.5 kB / 314.9 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004904/0.3251, allocations: 83.97 kB / 315 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.3254, allocations: 44 kB / 315 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.3256, allocations: 159.2 kB / 315.2 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.326, allocations: 112 kB / 315.3 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.3283, allocations: 1.312 MB / 316.6 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3283, allocations: 0 / 316.6 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3284, allocations: 0 / 316.6 MB, free: 280 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.87e-05/0.3284, allocations: 0 / 316.6 MB, free: 280 kB / 250.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.002996/0.3314, allocations: 1.138 MB / 317.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.3315, allocations: 12.03 kB / 317.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009447/0.3324, allocations: 174.4 kB / 317.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.3343, allocations: 0.6912 MB / 318.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.175e-05/0.3345, allocations: 74 kB / 318.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/0.3347, allocations: 103.9 kB / 318.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/0.3374, allocations: 0.919 MB / 319.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.991e-05/0.3375, allocations: 8 kB / 319.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.3377, allocations: 40 kB / 319.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/0.3377, allocations: 24 kB / 319.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.34, allocations: 0.6364 MB / 320.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008821/0.3489, allocations: 3.895 MB / 324.3 MB, free: 8.215 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.3501, allocations: 441.4 kB / 324.7 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.3501, allocations: 4.328 kB / 324.7 MB, free: 7.754 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.3502, allocations: 42.83 kB / 324.8 MB, free: 7.703 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 3.256e-06/0.3502, allocations: 0 / 324.8 MB, free: 7.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.004215/0.3544, allocations: 1.383 MB / 326.1 MB, free: 6.246 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.3545, allocations: 85.09 kB / 326.2 MB, free: 6.145 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.356, allocations: 0.6682 MB / 326.9 MB, free: 5.469 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.278e-05/0.3561, allocations: 33.7 kB / 326.9 MB, free: 5.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006136/0.3567, allocations: 0.5643 MB / 327.5 MB, free: 4.855 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.3569, allocations: 157.8 kB / 327.7 MB, free: 4.699 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.357, allocations: 8 kB / 327.7 MB, free: 4.691 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3572, allocations: 341.9 kB / 328 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005988/0.3578, allocations: 161.9 kB / 328.2 MB, free: 4.195 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007962/0.3586, allocations: 456 kB / 328.6 MB, free: 3.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007156/0.3593, allocations: 245.4 kB / 328.8 MB, free: 3.375 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.3593, allocations: 0 / 328.8 MB, free: 3.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002175/0.3615, allocations: 0.7479 MB / 329.6 MB, free: 2.613 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.3616, allocations: 12.12 kB / 329.6 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/0.3617, allocations: 12 kB / 329.6 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004826/0.3622, allocations: 69.69 kB / 329.7 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.3637, allocations: 163.7 kB / 329.8 MB, free: 2.355 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004425/0.3681, allocations: 2.81 MB / 332.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.3695, allocations: 39.95 kB / 332.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.3697, allocations: 35.95 kB / 332.7 MB, free: 15.21 MB / 282.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.0008762/0.3706, allocations: 257.6 kB / 333 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/0.371, allocations: 82.97 kB / 333.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.3732, allocations: 479.4 kB / 333.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.3733, allocations: 4 kB / 333.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.3733, allocations: 4 kB / 333.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.3733, allocations: 0 / 333.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005204/0.3785, allocations: 1.38 MB / 334.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.3786, allocations: 4 kB / 334.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008515/0.3795, allocations: 75.89 kB / 335 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004273/0.3799, allocations: 61.91 kB / 335 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.469e-05/0.38, allocations: 8 kB / 335.1 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004296/0.3843, allocations: 2.798 MB / 337.9 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.451e-05/0.3844, allocations: 11.92 kB / 337.9 MB, free: 9.676 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/0.3875, allocations: 0.8318 MB / 338.7 MB, free: 8.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000685/0.3882, allocations: 188 kB / 338.9 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/0.3886, allocations: 20 kB / 338.9 MB, free: 8.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.3896, allocations: 23.98 kB / 338.9 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.3898, allocations: 39.84 kB / 339 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/0.3899, allocations: 12 kB / 339 MB, free: 8.453 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001647/0.3916, allocations: 0.5186 MB / 339.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.3916, allocations: 0 / 339.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001995/0.3937, allocations: 200 kB / 339.7 MB, free: 7.742 MB / 282.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.0003561/0.3941, allocations: 123.2 kB / 339.8 MB, free: 7.613 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002607/0.3967, allocations: 0.6814 MB / 340.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/0.3968, allocations: 4 kB / 340.5 MB, free: 6.902 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.3982, allocations: 438.9 kB / 340.9 MB, free: 6.449 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.4008, allocations: 205.6 kB / 341.1 MB, free: 6.254 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006797/0.4076, allocations: 2.091 MB / 343.2 MB, free: 4.113 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.4088, allocations: 1.02 MB / 344.2 MB, free: 3.066 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001193/0.41, allocations: 107.1 kB / 344.3 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.4103, allocations: 55.44 kB / 344.4 MB, free: 2.902 MB / 282.7 MB Notification: Performance of SimCode: time 1.383e-06/0.4104, allocations: 0 / 344.4 MB, free: 2.902 MB / 282.7 MB Notification: Performance of Templates: time 0.04053/0.4509, allocations: 8.979 MB / 353.4 MB, free: 9.949 MB / 298.7 MB