Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics") Notification: Performance of loadModel(Modelica): time 1.909/1.909, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.088e-05, allocations: 4 kB / 292.1 MB, free: 8.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08895/0.089, allocations: 50.41 MB / 342.5 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4474/0.5365, allocations: 112 MB / 454.5 MB, free: 14.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.5367, allocations: 76.77 kB / 454.6 MB, free: 14.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3705/0.9073, allocations: 70.73 MB / 0.513 GB, free: 11.78 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.057e-06/0.9073, allocations: 0 / 0.513 GB, free: 11.78 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001849/0.9075, allocations: 60 kB / 0.513 GB, free: 11.72 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.005326/0.9129, allocations: 2.411 MB / 0.5154 GB, free: 9.254 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.9129, allocations: 12.03 kB / 0.5154 GB, free: 9.242 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/0.9151, allocations: 483.7 kB / 0.5159 GB, free: 8.766 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005248/0.9204, allocations: 1.876 MB / 0.5177 GB, free: 6.836 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.9206, allocations: 197.2 kB / 0.5179 GB, free: 6.641 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005037/0.9212, allocations: 255.9 kB / 0.5181 GB, free: 6.391 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005833/0.927, allocations: 2.339 MB / 0.5204 GB, free: 3.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/0.9271, allocations: 11.89 kB / 0.5204 GB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003099/0.9275, allocations: 108 kB / 0.5205 GB, free: 3.812 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.999e-05/0.9275, allocations: 64 kB / 0.5206 GB, free: 3.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004213/0.9318, allocations: 1.509 MB / 0.5221 GB, free: 2.234 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2645/1.196, allocations: 10.72 MB / 0.5325 GB, free: 97.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/1.198, allocations: 0.9238 MB / 0.5334 GB, free: 97.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006889/1.198, allocations: 352.2 kB / 0.5338 GB, free: 97.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.826e-05/1.199, allocations: 11.39 kB / 0.5338 GB, free: 97.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/1.199, allocations: 44.38 kB / 0.5338 GB, free: 97.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 4.273e-06/1.199, allocations: 0 / 0.5338 GB, free: 97.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.005367/1.204, allocations: 2.239 MB / 0.536 GB, free: 96.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/1.204, allocations: 169.5 kB / 0.5362 GB, free: 96.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/1.208, allocations: 1.808 MB / 0.5379 GB, free: 95.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001445/1.208, allocations: 49.11 kB / 0.538 GB, free: 95.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009431/1.209, allocations: 1.381 MB / 0.5393 GB, free: 95.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/1.21, allocations: 340 kB / 0.5397 GB, free: 95.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.48e-05/1.21, allocations: 37.03 kB / 0.5397 GB, free: 95.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/1.21, allocations: 383.7 kB / 0.5401 GB, free: 94.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008139/1.211, allocations: 331.3 kB / 0.5404 GB, free: 94.87 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/1.212, allocations: 1.196 MB / 0.5416 GB, free: 93.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/1.213, allocations: 0.5509 MB / 0.5421 GB, free: 93.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.69e-05/1.213, allocations: 8.188 kB / 0.5421 GB, free: 93.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.003763/1.217, allocations: 1.568 MB / 0.5436 GB, free: 93.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002351/1.219, allocations: 11.83 MB / 0.5552 GB, free: 81.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.111e-05/1.219, allocations: 32.92 kB / 0.5552 GB, free: 81.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008547/1.22, allocations: 171.6 kB / 0.5554 GB, free: 81.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/1.222, allocations: 426.4 kB / 0.5558 GB, free: 81.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004187/1.226, allocations: 5.527 MB / 0.5612 GB, free: 76.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/1.229, allocations: 96.73 kB / 0.5613 GB, free: 76.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/1.229, allocations: 95.52 kB / 0.5614 GB, free: 76.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/1.229, allocations: 12.67 kB / 0.5614 GB, free: 76.16 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003451/1.233, allocations: 1.479 MB / 0.5628 GB, free: 76.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-05/1.233, allocations: 29.75 kB / 0.5629 GB, free: 76.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004697/1.233, allocations: 153.5 kB / 0.563 GB, free: 76.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/1.235, allocations: 413.8 kB / 0.5634 GB, free: 76.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/1.239, allocations: 5.52 MB / 0.5688 GB, free: 70.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/1.241, allocations: 86.61 kB / 0.5689 GB, free: 70.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/1.241, allocations: 92.59 kB / 0.569 GB, free: 70.91 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.0004634/1.241, allocations: 228.8 kB / 0.5692 GB, free: 70.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005451/1.242, allocations: 232.8 kB / 0.5694 GB, free: 70.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/1.244, allocations: 0.8871 MB / 0.5703 GB, free: 70.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.88e-06/1.244, allocations: 7.938 kB / 0.5703 GB, free: 70.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.968e-06/1.244, allocations: 3.906 kB / 0.5703 GB, free: 70.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/1.244, allocations: 7.031 kB / 0.5703 GB, free: 70.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00652/1.25, allocations: 3.038 MB / 0.5732 GB, free: 69.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/1.25, allocations: 7.609 kB / 0.5733 GB, free: 69.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009302/1.251, allocations: 166.7 kB / 0.5734 GB, free: 69.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006159/1.252, allocations: 135.1 kB / 0.5735 GB, free: 69.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.417e-05/1.252, allocations: 18.31 kB / 0.5736 GB, free: 69.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003679/1.256, allocations: 5.359 MB / 0.5788 GB, free: 64.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.095e-06/1.256, allocations: 3.875 kB / 0.5788 GB, free: 64.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/1.259, allocations: 1.879 MB / 0.5806 GB, free: 63.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/1.26, allocations: 390.3 kB / 0.581 GB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000381/1.26, allocations: 23 kB / 0.581 GB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/1.262, allocations: 58.77 kB / 0.5811 GB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/1.262, allocations: 81.47 kB / 0.5812 GB, free: 63.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/1.262, allocations: 29.97 kB / 0.5812 GB, free: 63.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00278/1.265, allocations: 1.345 MB / 0.5825 GB, free: 63.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.81e-07/1.265, allocations: 0 / 0.5825 GB, free: 63.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004696/1.269, allocations: 1.003 MB / 0.5835 GB, free: 63.25 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.0007977/1.27, allocations: 0.5339 MB / 0.584 GB, free: 63.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004214/1.274, allocations: 2.483 MB / 0.5864 GB, free: 62.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.274, allocations: 3.688 kB / 0.5864 GB, free: 62.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/1.276, allocations: 0.7667 MB / 0.5872 GB, free: 61.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/1.279, allocations: 0.5507 MB / 0.5877 GB, free: 61.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006691/1.286, allocations: 3.222 MB / 0.5909 GB, free: 60.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/1.287, allocations: 1.621 MB / 0.5924 GB, free: 59.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005837/1.287, allocations: 152 kB / 0.5926 GB, free: 59.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.951e-06/1.288, allocations: 0 / 0.5926 GB, free: 59.48 MB / 442.7 MB Notification: Performance of Templates: time 0.0812/1.369, allocations: 75.48 MB / 0.6663 GB, free: 13.98 MB / 442.7 MB