Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadModel(Modelica): time 1.883/1.883, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.675e-05/2.695e-05, allocations: 0 / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07706/0.0771, allocations: 44.5 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3461/0.4232, allocations: 88.59 MB / 388.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.4235, allocations: 85.39 kB / 388.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0844/0.5079, allocations: 22.94 MB / 411.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.142e-06/0.508, allocations: 0 / 411.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.782e-05/0.508, allocations: 19.62 kB / 411.5 MB, free: 14.12 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001697/0.5097, allocations: 0.9614 MB / 412.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.5098, allocations: 11.88 kB / 412.5 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00065/0.5105, allocations: 152.8 kB / 412.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.512, allocations: 0.6806 MB / 413.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.245e-05/0.5121, allocations: 59.53 kB / 413.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.5122, allocations: 78.12 kB / 413.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.5137, allocations: 0.7393 MB / 414.2 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.5138, allocations: 11.75 kB / 414.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.945e-05/0.5139, allocations: 35.31 kB / 414.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.5139, allocations: 19.53 kB / 414.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.5151, allocations: 480.8 kB / 414.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005068/0.5201, allocations: 3.458 MB / 418.1 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.5207, allocations: 204.7 kB / 418.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.5209, allocations: 103.2 kB / 418.4 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.521, allocations: 0 / 418.4 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.521, allocations: 38.41 kB / 418.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.715e-06/0.521, allocations: 0 / 418.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001662/0.5227, allocations: 0.8114 MB / 419.3 MB, free: 9.848 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.5228, allocations: 81.25 kB / 419.4 MB, free: 9.754 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.5238, allocations: 0.6195 MB / 420 MB, free: 9.566 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.5238, allocations: 33.58 kB / 420 MB, free: 9.531 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.5241, allocations: 0.514 MB / 420.5 MB, free: 9.172 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.369e-05/0.5242, allocations: 105.2 kB / 420.6 MB, free: 9.098 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.5242, allocations: 11.25 kB / 420.7 MB, free: 9.098 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.5243, allocations: 337.2 kB / 421 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.5246, allocations: 110.1 kB / 421.1 MB, free: 8.766 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.525, allocations: 392.1 kB / 421.5 MB, free: 8.387 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.5254, allocations: 183.6 kB / 421.7 MB, free: 8.344 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.599e-06/0.5254, allocations: 3.906 kB / 421.7 MB, free: 8.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001071/0.5265, allocations: 0.5326 MB / 422.2 MB, free: 8.176 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.5265, allocations: 7.812 kB / 422.2 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.5265, allocations: 7.812 kB / 422.2 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.5267, allocations: 36.25 kB / 422.2 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005737/0.5273, allocations: 143.9 kB / 422.4 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009189/0.5283, allocations: 1.3 MB / 423.7 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007776/0.5291, allocations: 38.14 kB / 423.7 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.5291, allocations: 34.56 kB / 423.8 MB, free: 6.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0001327/0.5293, allocations: 138.9 kB / 423.9 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.5294, allocations: 78.34 kB / 424 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006898/0.5301, allocations: 284.6 kB / 424.2 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.526e-06/0.5301, allocations: 7.906 kB / 424.3 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.485e-06/0.5302, allocations: 4 kB / 424.3 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.163e-06/0.5302, allocations: 0 / 424.3 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.5321, allocations: 1.05 MB / 425.3 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.5321, allocations: 7.922 kB / 425.3 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.5326, allocations: 59.03 kB / 425.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/0.5327, allocations: 19.83 kB / 425.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.5327, allocations: 11.39 kB / 425.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.5338, allocations: 1.273 MB / 426.7 MB, free: 20.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5338, allocations: 7.828 kB / 426.7 MB, free: 20.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008429/0.5347, allocations: 0.5759 MB / 427.3 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.535, allocations: 173.3 kB / 427.4 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.5351, allocations: 11.23 kB / 427.4 MB, free: 20.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.5356, allocations: 27.17 kB / 427.5 MB, free: 20.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.5357, allocations: 23.19 kB / 427.5 MB, free: 20.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.5357, allocations: 7.875 kB / 427.5 MB, free: 20.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008113/0.5365, allocations: 479.7 kB / 428 MB, free: 19.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.296e-06/0.5365, allocations: 0 / 428 MB, free: 19.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009715/0.5375, allocations: 199.1 kB / 428.2 MB, free: 19.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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.0004265/0.538, allocations: 291.8 kB / 428.4 MB, free: 19.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008105/0.5388, allocations: 421.9 kB / 428.9 MB, free: 19.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.801e-06/0.5388, allocations: 0 / 428.9 MB, free: 19.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003602/0.5392, allocations: 222.6 kB / 429.1 MB, free: 19.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.5403, allocations: 167.8 kB / 429.2 MB, free: 19.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.5425, allocations: 1.057 MB / 430.3 MB, free: 18.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006849/0.5432, allocations: 0.963 MB / 431.3 MB, free: 18.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.5434, allocations: 49.31 kB / 431.3 MB, free: 18 MB / 330.7 MB Notification: Performance of SimCode: time 1.759e-06/0.5434, allocations: 0 / 431.3 MB, free: 18 MB / 330.7 MB Notification: Performance of Templates: time 0.02199/0.5654, allocations: 13.78 MB / 445.1 MB, free: 8.062 MB / 330.7 MB