Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|dcpm.ia|dcpm.tauElectrical|dcee.ia|dcee.tauElectrical|dcse.ia|dcse.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w|loadInertia3.phi|loadInertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics") Notification: Performance of loadModel(Modelica): time 1.877/1.877, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.884e-05/2.899e-05, allocations: 4 kB / 292.7 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.08893, allocations: 50.42 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3961/0.4851, allocations: 111.9 MB / 455 MB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.4854, allocations: 79.02 kB / 455.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2763/0.7618, allocations: 70.73 MB / 0.5135 GB, free: 11.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.872e-06/0.7618, allocations: 0 / 0.5135 GB, free: 11.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002324/0.7621, allocations: 63.98 kB / 0.5135 GB, free: 11.53 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 666 * Number of variables: 666 Notification: Performance of Generate backend data structure: time 0.006449/0.7685, allocations: 2.415 MB / 0.5159 GB, free: 9.055 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.7686, allocations: 8.031 kB / 0.5159 GB, free: 9.047 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.7712, allocations: 479.7 kB / 0.5163 GB, free: 8.574 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005962/0.7772, allocations: 1.88 MB / 0.5182 GB, free: 6.641 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.7774, allocations: 193.2 kB / 0.5184 GB, free: 6.449 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005887/0.778, allocations: 259.9 kB / 0.5186 GB, free: 6.195 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006285/0.7843, allocations: 2.331 MB / 0.5209 GB, free: 3.742 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/0.7845, allocations: 19.83 kB / 0.5209 GB, free: 3.723 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003061/0.7848, allocations: 108 kB / 0.521 GB, free: 3.617 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.089e-05/0.7849, allocations: 68 kB / 0.5211 GB, free: 3.551 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004425/0.7893, allocations: 1.509 MB / 0.5225 GB, free: 2.035 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2642/1.054, allocations: 10.72 MB / 0.533 GB, free: 97.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/1.055, allocations: 0.9228 MB / 0.5339 GB, free: 96.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/1.056, allocations: 348.4 kB / 0.5343 GB, free: 96.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.591e-05/1.056, allocations: 13.25 kB / 0.5343 GB, free: 96.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/1.056, allocations: 46.36 kB / 0.5343 GB, free: 96.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 4.453e-06/1.056, allocations: 0 / 0.5343 GB, free: 96.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.00488/1.061, allocations: 2.242 MB / 0.5365 GB, free: 96.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/1.061, allocations: 169.2 kB / 0.5367 GB, free: 95.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003677/1.064, allocations: 1.814 MB / 0.5384 GB, free: 95.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/1.065, allocations: 40.33 kB / 0.5385 GB, free: 95.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/1.066, allocations: 1.471 MB / 0.5399 GB, free: 95.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/1.066, allocations: 341.7 kB / 0.5402 GB, free: 95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/1.066, allocations: 39.47 kB / 0.5403 GB, free: 95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/1.066, allocations: 373.2 kB / 0.5406 GB, free: 94.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008697/1.067, allocations: 333.2 kB / 0.5409 GB, free: 94.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/1.068, allocations: 1.197 MB / 0.5421 GB, free: 93.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/1.07, allocations: 0.5539 MB / 0.5427 GB, free: 93.56 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.724e-05/1.07, allocations: 10.48 kB / 0.5427 GB, free: 93.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004159/1.074, allocations: 1.707 MB / 0.5443 GB, free: 93.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002369/1.076, allocations: 12.47 MB / 0.5565 GB, free: 79.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.224e-05/1.076, allocations: 37.64 kB / 0.5565 GB, free: 79.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008387/1.077, allocations: 169.6 kB / 0.5567 GB, free: 79.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/1.079, allocations: 424 kB / 0.5571 GB, free: 79.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004124/1.083, allocations: 5.529 MB / 0.5625 GB, free: 74.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/1.086, allocations: 102.4 kB / 0.5626 GB, free: 74.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/1.086, allocations: 94.64 kB / 0.5627 GB, free: 74.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/1.086, allocations: 9.984 kB / 0.5627 GB, free: 74.84 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003201/1.089, allocations: 1.472 MB / 0.5641 GB, free: 74.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.388e-05/1.089, allocations: 33.61 kB / 0.5642 GB, free: 74.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/1.09, allocations: 166.9 kB / 0.5643 GB, free: 74.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/1.092, allocations: 412.6 kB / 0.5647 GB, free: 74.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003933/1.096, allocations: 5.538 MB / 0.5701 GB, free: 69.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/1.098, allocations: 90.83 kB / 0.5702 GB, free: 69.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/1.098, allocations: 92.91 kB / 0.5703 GB, free: 69.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 222 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 7,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004551/1.098, allocations: 236.7 kB / 0.5705 GB, free: 69.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/1.099, allocations: 229.8 kB / 0.5708 GB, free: 69.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/1.101, allocations: 0.8806 MB / 0.5716 GB, free: 69.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.101, allocations: 11.75 kB / 0.5716 GB, free: 69.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.687e-06/1.101, allocations: 0 / 0.5716 GB, free: 69.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/1.101, allocations: 7.453 kB / 0.5716 GB, free: 69.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005929/1.107, allocations: 3.03 MB / 0.5746 GB, free: 68.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.107, allocations: 3.906 kB / 0.5746 GB, free: 68.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008727/1.108, allocations: 169 kB / 0.5748 GB, free: 68.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005772/1.108, allocations: 133.9 kB / 0.5749 GB, free: 68.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.25e-05/1.108, allocations: 23.66 kB / 0.5749 GB, free: 68.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/1.112, allocations: 5.365 MB / 0.5802 GB, free: 63.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.087e-06/1.112, allocations: 11.69 kB / 0.5802 GB, free: 63.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/1.115, allocations: 1.875 MB / 0.582 GB, free: 62.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009014/1.116, allocations: 383.7 kB / 0.5824 GB, free: 62.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003771/1.116, allocations: 26.69 kB / 0.5824 GB, free: 62.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/1.117, allocations: 59.19 kB / 0.5824 GB, free: 62.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.118, allocations: 81.89 kB / 0.5825 GB, free: 62.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/1.118, allocations: 28.97 kB / 0.5825 GB, free: 62.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002542/1.12, allocations: 1.34 MB / 0.5839 GB, free: 61.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.249e-06/1.12, allocations: 0 / 0.5839 GB, free: 61.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004346/1.125, allocations: 1.005 MB / 0.5848 GB, free: 61.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcse.inertiaRotor.phi,dcse.inertiaRotor.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000734/1.125, allocations: 0.5238 MB / 0.5853 GB, free: 61.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00416/1.129, allocations: 2.572 MB / 0.5879 GB, free: 60.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.091e-06/1.129, allocations: 0 / 0.5879 GB, free: 60.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.131, allocations: 0.7655 MB / 0.5886 GB, free: 60.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00292/1.134, allocations: 0.5556 MB / 0.5892 GB, free: 60.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006242/1.14, allocations: 3.187 MB / 0.5923 GB, free: 58.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/1.141, allocations: 1.625 MB / 0.5939 GB, free: 58.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002889/1.144, allocations: 405.5 kB / 0.5942 GB, free: 58.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/1.144, allocations: 112.5 kB / 0.5943 GB, free: 58.07 MB / 442.7 MB Notification: Performance of SimCode: time 1.595e-06/1.144, allocations: 0 / 0.5943 GB, free: 58.07 MB / 442.7 MB Notification: Performance of Templates: time 0.07686/1.221, allocations: 33.57 MB / 0.6271 GB, free: 53.01 MB / 442.7 MB