Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.012/2.012, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.049e-05, allocations: 0 / 292.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1035, allocations: 50.41 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4503/0.5539, allocations: 98.87 MB / 441.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.5542, allocations: 87.38 kB / 441.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1327/0.687, allocations: 28.21 MB / 469.8 MB, free: 3.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.687, allocations: 0 / 469.8 MB, free: 3.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.56e-05/0.6871, allocations: 20 kB / 469.8 MB, free: 3.359 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002967/0.6901, allocations: 1.118 MB / 470.9 MB, free: 2.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.6902, allocations: 8.031 kB / 471 MB, free: 2.254 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003105/0.6905, allocations: 153 kB / 471.1 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.6916, allocations: 186.4 kB / 471.3 MB, free: 1.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.694, allocations: 0.7913 MB / 472.1 MB, free: 1.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/0.6941, allocations: 74 kB / 472.1 MB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.6944, allocations: 103.9 kB / 472.3 MB, free: 1.098 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.6967, allocations: 0.8802 MB / 473.1 MB, free: 192 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-05/0.6968, allocations: 0 / 473.1 MB, free: 192 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.6969, allocations: 43.95 kB / 473.2 MB, free: 148 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/0.697, allocations: 24 kB / 473.2 MB, free: 124 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.6987, allocations: 0.5741 MB / 473.8 MB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008422/0.7072, allocations: 3.923 MB / 477.7 MB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009847/0.7082, allocations: 427.9 kB / 478.1 MB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000767/0.709, allocations: 244.8 kB / 478.4 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.241e-05/0.7091, allocations: 7.953 kB / 478.4 MB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.7091, allocations: 38.56 kB / 478.4 MB, free: 10.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.166e-06/0.7091, allocations: 4 kB / 478.4 MB, free: 10.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.003416/0.7126, allocations: 1.193 MB / 479.6 MB, free: 9.398 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.7127, allocations: 81.55 kB / 479.7 MB, free: 9.301 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.7142, allocations: 0.6918 MB / 480.4 MB, free: 8.605 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.7142, allocations: 33.7 kB / 480.4 MB, free: 8.566 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004982/0.7148, allocations: 0.5668 MB / 481 MB, free: 7.992 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.715, allocations: 169.6 kB / 481.1 MB, free: 7.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.715, allocations: 16 kB / 481.1 MB, free: 7.809 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.7152, allocations: 338.8 kB / 481.5 MB, free: 7.469 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.7156, allocations: 149.6 kB / 481.6 MB, free: 7.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/0.7163, allocations: 440.4 kB / 482.1 MB, free: 6.758 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.7169, allocations: 233.5 kB / 482.3 MB, free: 6.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.7169, allocations: 4 kB / 482.3 MB, free: 6.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001792/0.7187, allocations: 0.6774 MB / 483 MB, free: 5.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.7188, allocations: 16.12 kB / 483 MB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.7188, allocations: 8 kB / 483 MB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004722/0.7193, allocations: 97.66 kB / 483.1 MB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.7203, allocations: 159.8 kB / 483.2 MB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/0.7237, allocations: 2.993 MB / 486.2 MB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.7249, allocations: 39.94 kB / 486.3 MB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/0.7249, allocations: 32 kB / 486.3 MB, free: 2.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.7251, allocations: 144.7 kB / 486.4 MB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.7253, allocations: 91.03 kB / 486.5 MB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.7267, allocations: 494.5 kB / 487 MB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.7268, allocations: 4 kB / 487 MB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7268, allocations: 3.938 kB / 487 MB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.7268, allocations: 7.984 kB / 487 MB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/0.7303, allocations: 1.431 MB / 488.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.7304, allocations: 4 kB / 488.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006321/0.731, allocations: 71.91 kB / 488.5 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004356/0.7315, allocations: 89.84 kB / 488.6 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.7316, allocations: 12 kB / 488.6 MB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00332/0.7349, allocations: 2.959 MB / 491.6 MB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/0.7349, allocations: 7.969 kB / 491.6 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.7368, allocations: 0.844 MB / 492.4 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/0.7373, allocations: 196.1 kB / 492.6 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.7375, allocations: 16 kB / 492.7 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007491/0.7382, allocations: 39.91 kB / 492.7 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.7384, allocations: 35.91 kB / 492.7 MB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.7384, allocations: 12 kB / 492.7 MB, free: 11.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001153/0.7396, allocations: 0.5226 MB / 493.3 MB, free: 10.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7396, allocations: 0 / 493.3 MB, free: 10.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001453/0.7411, allocations: 248 kB / 493.5 MB, free: 10.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002823/0.7439, allocations: 2.09 MB / 495.6 MB, free: 8.375 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.7455, allocations: 0.6459 MB / 496.2 MB, free: 7.707 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.7456, allocations: 0.9375 kB / 496.2 MB, free: 7.707 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009095/0.7465, allocations: 423.7 kB / 496.7 MB, free: 7.273 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.7483, allocations: 218 kB / 496.9 MB, free: 7.066 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004785/0.7531, allocations: 1.462 MB / 498.3 MB, free: 5.535 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008284/0.754, allocations: 1.032 MB / 499.4 MB, free: 4.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000777/0.7548, allocations: 379.3 kB / 499.7 MB, free: 4.105 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7548, allocations: 0 / 499.7 MB, free: 4.105 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.936/3.691, allocations: 25.31 MB / 0.5127 GB, free: 10.85 MB / 442.7 MB