Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadModel(Modelica): time 1.91/1.91, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.495e-05, allocations: 4 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08978/0.08982, allocations: 50.41 MB / 342.6 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.429/0.5188, allocations: 94.63 MB / 437.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.5191, allocations: 79.11 kB / 437.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08788/0.6071, allocations: 23.07 MB / 460.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.672e-06/0.6071, allocations: 0 / 460.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.888e-05/0.6072, allocations: 16 kB / 460.3 MB, free: 12.25 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.00185/0.609, allocations: 0.9587 MB / 461.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.6091, allocations: 12.03 kB / 461.3 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006382/0.6097, allocations: 146.6 kB / 461.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.6114, allocations: 0.6882 MB / 462.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.6115, allocations: 57 kB / 462.2 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.6116, allocations: 77.44 kB / 462.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.6133, allocations: 0.7366 MB / 463 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.14e-05/0.6133, allocations: 7.906 kB / 463 MB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/0.6134, allocations: 32.94 kB / 463.1 MB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.6135, allocations: 19.94 kB / 463.1 MB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.6146, allocations: 470 kB / 463.5 MB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006085/0.6208, allocations: 3.452 MB / 467 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005165/0.6213, allocations: 202.6 kB / 467.2 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.6216, allocations: 100.8 kB / 467.3 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.6216, allocations: 4.422 kB / 467.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.6217, allocations: 38.56 kB / 467.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.203e-06/0.6217, allocations: 0 / 467.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.00186/0.6235, allocations: 0.8181 MB / 468.1 MB, free: 4.977 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.6236, allocations: 77.34 kB / 468.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.6248, allocations: 0.6169 MB / 468.8 MB, free: 4.262 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.6248, allocations: 33.7 kB / 468.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/0.6253, allocations: 0.5084 MB / 469.4 MB, free: 3.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.6254, allocations: 110.5 kB / 469.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.6255, allocations: 8 kB / 469.5 MB, free: 3.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.6257, allocations: 342.8 kB / 469.8 MB, free: 3.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.6259, allocations: 105.6 kB / 469.9 MB, free: 3.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.6265, allocations: 394 kB / 470.3 MB, free: 2.621 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.6269, allocations: 180.3 kB / 470.5 MB, free: 2.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.6269, allocations: 4 kB / 470.5 MB, free: 2.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00118/0.6281, allocations: 0.5025 MB / 471 MB, free: 1.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.6282, allocations: 8 kB / 471 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.6282, allocations: 8 kB / 471 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001739/0.6284, allocations: 36.84 kB / 471 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.629, allocations: 151.7 kB / 471.2 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.6304, allocations: 1.292 MB / 472.5 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/0.631, allocations: 40.05 kB / 472.5 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.6311, allocations: 32 kB / 472.6 MB, free: 236 kB / 378.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.0001669/0.6313, allocations: 144.7 kB / 472.7 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.6314, allocations: 67.16 kB / 472.8 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000724/0.6322, allocations: 289.4 kB / 473 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.6322, allocations: 4 kB / 473.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.181e-06/0.6322, allocations: 0 / 473.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.6322, allocations: 4 kB / 473.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.6343, allocations: 1.049 MB / 474.1 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.156e-06/0.6344, allocations: 0 / 474.1 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.6348, allocations: 67.84 kB / 474.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000129/0.6349, allocations: 20.86 kB / 474.2 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.635, allocations: 8 kB / 474.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.6363, allocations: 1.272 MB / 475.5 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.654e-06/0.6363, allocations: 0 / 475.5 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009965/0.6373, allocations: 0.5944 MB / 476.1 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.6376, allocations: 172.3 kB / 476.2 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.6378, allocations: 8 kB / 476.2 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.6382, allocations: 23.98 kB / 476.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.6383, allocations: 27.92 kB / 476.3 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.6384, allocations: 11.98 kB / 476.3 MB, free: 12.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009011/0.6393, allocations: 475.2 kB / 476.8 MB, free: 11.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.45e-07/0.6393, allocations: 0 / 476.8 MB, free: 11.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001024/0.6403, allocations: 192 kB / 477 MB, free: 11.5 MB / 394.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.0005062/0.6408, allocations: 293.2 kB / 477.2 MB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008895/0.6417, allocations: 403.6 kB / 477.6 MB, free: 10.81 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.783e-06/0.6418, allocations: 0 / 477.6 MB, free: 10.81 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.6422, allocations: 210 kB / 477.8 MB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009744/0.6432, allocations: 163.3 kB / 478 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.6456, allocations: 1.064 MB / 479.1 MB, free: 9.312 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008044/0.6465, allocations: 0.9648 MB / 480 MB, free: 8.316 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.6466, allocations: 47.44 kB / 480.1 MB, free: 8.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.5e-06/0.6467, allocations: 0 / 480.1 MB, free: 8.27 MB / 394.7 MB Notification: Performance of Templates: time 0.02358/0.6703, allocations: 13.73 MB / 493.8 MB, free: 10.6 MB / 410.7 MB