Running command: translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") Notification: Performance of loadModel(Modelica): time 1.833/1.833, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.47e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08175/0.0818, allocations: 47.57 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.4596, allocations: 115.3 MB / 432.2 MB, free: 5.188 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.4599, allocations: 88.02 kB / 432.3 MB, free: 5.141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1443/0.6043, allocations: 39.45 MB / 471.8 MB, free: 3.746 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.77e-06/0.6043, allocations: 4 kB / 471.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001173/0.6044, allocations: 36 kB / 471.8 MB, free: 3.707 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.00342/0.6079, allocations: 1.524 MB / 473.3 MB, free: 2.234 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.6079, allocations: 8.031 kB / 473.4 MB, free: 2.227 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009723/0.6089, allocations: 245.6 kB / 473.6 MB, free: 1.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.6115, allocations: 1.065 MB / 474.7 MB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.6116, allocations: 110.2 kB / 474.8 MB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002794/0.6119, allocations: 157.2 kB / 474.9 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.615, allocations: 1.337 MB / 476.3 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.148e-05/0.6151, allocations: 11.86 kB / 476.3 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.6153, allocations: 63.94 kB / 476.3 MB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/0.6154, allocations: 40 kB / 476.4 MB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.6177, allocations: 0.8569 MB / 477.2 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.6294, allocations: 6.225 MB / 483.5 MB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.6308, allocations: 0.6274 MB / 484.1 MB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.6313, allocations: 206.2 kB / 484.3 MB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.6314, allocations: 8.438 kB / 484.3 MB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.6314, allocations: 39 kB / 484.3 MB, free: 7.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 3.689e-06/0.6315, allocations: 0 / 484.3 MB, free: 7.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.003084/0.6345, allocations: 1.352 MB / 485.7 MB, free: 6.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.6346, allocations: 89.53 kB / 485.8 MB, free: 5.996 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.6366, allocations: 0.9432 MB / 486.7 MB, free: 5.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.386e-05/0.6367, allocations: 37.7 kB / 486.7 MB, free: 4.996 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008131/0.6375, allocations: 0.8132 MB / 487.6 MB, free: 4.172 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.6377, allocations: 201.2 kB / 487.8 MB, free: 3.973 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.6378, allocations: 23.94 kB / 487.8 MB, free: 3.949 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.638, allocations: 341.9 kB / 488.1 MB, free: 3.609 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/0.6386, allocations: 210 kB / 488.3 MB, free: 3.402 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009113/0.6395, allocations: 0.5764 MB / 488.9 MB, free: 2.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007416/0.6403, allocations: 319 kB / 489.2 MB, free: 2.332 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.6403, allocations: 4 kB / 489.2 MB, free: 2.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002155/0.6425, allocations: 0.9008 MB / 490.1 MB, free: 1.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002817/0.6453, allocations: 5.14 MB / 495.3 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.6454, allocations: 12 kB / 495.3 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/0.6456, allocations: 36.86 kB / 495.3 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.6466, allocations: 235.6 kB / 495.5 MB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.648, allocations: 1.292 MB / 496.8 MB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.6491, allocations: 59.83 kB / 496.9 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.6492, allocations: 44 kB / 496.9 MB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.6493, allocations: 10.3 kB / 496.9 MB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001796/0.6511, allocations: 0.7604 MB / 497.7 MB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.6511, allocations: 12 kB / 497.7 MB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001386/0.6513, allocations: 36.84 kB / 497.7 MB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009232/0.6522, allocations: 215.7 kB / 498 MB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.6535, allocations: 1.292 MB / 499.2 MB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00089/0.6544, allocations: 43.89 kB / 499.3 MB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.266e-05/0.6545, allocations: 44 kB / 499.3 MB, free: 7.527 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 2 (currentController.integrator.local_reset,armatureInverter.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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.0002533/0.6548, allocations: 188.6 kB / 499.5 MB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.6551, allocations: 114.6 kB / 499.6 MB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.6564, allocations: 0.5009 MB / 0.4884 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.6564, allocations: 4 kB / 0.4884 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.738e-06/0.6564, allocations: 3.984 kB / 0.4884 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.466e-06/0.6564, allocations: 0 / 0.4884 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003794/0.6602, allocations: 1.785 MB / 0.4902 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.604e-06/0.6602, allocations: 0 / 0.4902 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006795/0.6609, allocations: 111.9 kB / 0.4903 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001232/0.6611, allocations: 20.91 kB / 0.4903 GB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-05/0.6611, allocations: 15.98 kB / 0.4903 GB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.6624, allocations: 1.276 MB / 0.4915 GB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/0.6624, allocations: 11.92 kB / 0.4916 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.6642, allocations: 0.9164 MB / 0.4925 GB, free: 2.273 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004898/0.6647, allocations: 239.6 kB / 0.4927 GB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.6649, allocations: 12 kB / 0.4927 GB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/0.6656, allocations: 43.97 kB / 0.4927 GB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.6657, allocations: 44.38 kB / 0.4928 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.6657, allocations: 20 kB / 0.4928 GB, free: 1.902 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001408/0.6671, allocations: 0.7062 MB / 0.4935 GB, free: 1.188 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.6672, allocations: 4 kB / 0.4935 GB, free: 1.184 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002106/0.6693, allocations: 0.5077 MB / 0.494 GB, free: 0.6758 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 10 (loadInertia.w,dcpm.la.i,armatureInverter.vDCFilter.y,armatureInverter.iMotFilter.y,armatureInverter.vMotFilter.y,armatureInverter.iDCFilter.y,armatureInverter.idealDcDc.deadTime.y,armatureInverter.idealDcDc.powerController.y,currentController.integrator.y,loadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * 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.0006437/0.6699, allocations: 394 kB / 0.4944 GB, free: 296 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0024/0.6724, allocations: 1.153 MB / 0.4955 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.195e-06/0.6724, allocations: 4.938 kB / 0.4955 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006012/0.673, allocations: 315.6 kB / 0.4958 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.6743, allocations: 244.7 kB / 0.496 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/0.6787, allocations: 1.867 MB / 0.4978 GB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.6799, allocations: 1.206 MB / 0.499 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001349/0.6813, allocations: 197.1 kB / 0.4992 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.6815, allocations: 63.42 kB / 0.4993 GB, free: 11.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.531e-06/0.6815, allocations: 3.938 kB / 0.4993 GB, free: 11.14 MB / 426.7 MB Notification: Performance of Templates: time 0.2634/0.9449, allocations: 16.86 MB / 0.5157 GB, free: 117.4 MB / 426.7 MB