Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.039e-05/3.042e-05, allocations: 4 kB / 292.2 MB, free: 8.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 50.41 MB / 342.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/0.5648, allocations: 98.42 MB / 441.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.5652, allocations: 85.81 kB / 441.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1197/0.6849, allocations: 26.25 MB / 467.4 MB, free: 5.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.685, allocations: 0 / 467.4 MB, free: 5.512 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001402/0.6852, allocations: 20 kB / 467.4 MB, free: 5.492 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.005214/0.6904, allocations: 1.106 MB / 468.5 MB, free: 4.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.6905, allocations: 8.031 kB / 468.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003364/0.6908, allocations: 147 kB / 468.7 MB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009144/0.6917, allocations: 178.3 kB / 468.8 MB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.6939, allocations: 0.7604 MB / 469.6 MB, free: 3.496 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.284e-05/0.6941, allocations: 79.38 kB / 469.7 MB, free: 3.453 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.6943, allocations: 103.6 kB / 469.8 MB, free: 3.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.6966, allocations: 0.8615 MB / 470.6 MB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.963e-05/0.6966, allocations: 3.938 kB / 470.6 MB, free: 2.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.6968, allocations: 40 kB / 470.7 MB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.6968, allocations: 24 kB / 470.7 MB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.6985, allocations: 0.5585 MB / 471.3 MB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00839/0.7069, allocations: 3.94 MB / 475.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007288/0.7077, allocations: 324.2 kB / 475.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.7081, allocations: 133.4 kB / 475.7 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.594e-05/0.7081, allocations: 4.281 kB / 475.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.7082, allocations: 38.83 kB / 475.7 MB, free: 13.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 3.637e-06/0.7082, allocations: 0 / 475.7 MB, free: 13.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002557/0.7107, allocations: 0.947 MB / 476.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.7108, allocations: 85.09 kB / 476.7 MB, free: 12.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.7124, allocations: 0.6879 MB / 477.4 MB, free: 11.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.7124, allocations: 33.7 kB / 477.4 MB, free: 11.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005393/0.713, allocations: 0.5743 MB / 478 MB, free: 10.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.7132, allocations: 134.1 kB / 478.2 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.7132, allocations: 12 kB / 478.2 MB, free: 10.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.7134, allocations: 338.8 kB / 478.5 MB, free: 10.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.7138, allocations: 121.6 kB / 478.6 MB, free: 10.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006383/0.7144, allocations: 432.3 kB / 479 MB, free: 9.758 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/0.715, allocations: 207.6 kB / 479.2 MB, free: 9.555 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.715, allocations: 7.938 kB / 479.2 MB, free: 9.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001525/0.7165, allocations: 0.5651 MB / 479.8 MB, free: 8.973 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.7166, allocations: 9.406 kB / 479.8 MB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.7166, allocations: 12 kB / 479.8 MB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/0.7169, allocations: 40.78 kB / 479.9 MB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.7179, allocations: 163.7 kB / 480 MB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.7193, allocations: 1.292 MB / 481.3 MB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.7203, allocations: 40.14 kB / 481.4 MB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/0.7204, allocations: 32 kB / 481.4 MB, free: 7.258 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 84 * 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.0002027/0.7206, allocations: 153.4 kB / 481.5 MB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.7208, allocations: 82.97 kB / 481.6 MB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009978/0.7218, allocations: 347.9 kB / 482 MB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.7218, allocations: 7.938 kB / 482 MB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.7219, allocations: 0 / 482 MB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.7219, allocations: 4 kB / 482 MB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/0.7247, allocations: 1.224 MB / 483.2 MB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7248, allocations: 0 / 483.2 MB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006766/0.7255, allocations: 75.89 kB / 483.3 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001477/0.7256, allocations: 20.86 kB / 483.3 MB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.7257, allocations: 8 kB / 483.3 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.727, allocations: 1.272 MB / 484.6 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.727, allocations: 7.938 kB / 484.6 MB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.7284, allocations: 0.6778 MB / 485.3 MB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004186/0.7288, allocations: 184.1 kB / 485.4 MB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.729, allocations: 12 kB / 485.5 MB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/0.7297, allocations: 27.98 kB / 485.5 MB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.7298, allocations: 23.97 kB / 485.5 MB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.7299, allocations: 16 kB / 485.5 MB, free: 2.793 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001146/0.731, allocations: 0.5225 MB / 486 MB, free: 2.273 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.731, allocations: 0 / 486 MB, free: 2.273 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001295/0.7323, allocations: 220 kB / 486.3 MB, free: 2.059 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.002426/0.7348, allocations: 1.905 MB / 488.2 MB, free: 80 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.7361, allocations: 460.6 kB / 488.6 MB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.7361, allocations: 4 kB / 488.6 MB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005394/0.7367, allocations: 237.6 kB / 488.8 MB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.7385, allocations: 195.6 kB / 489 MB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004562/0.7431, allocations: 1.434 MB / 490.5 MB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008403/0.744, allocations: 1.012 MB / 491.5 MB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007976/0.7448, allocations: 375.3 kB / 491.9 MB, free: 12.27 MB / 410.7 MB Notification: Performance of SimCode: time 2.014e-06/0.7448, allocations: 0 / 491.9 MB, free: 12.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.962/3.707, allocations: 20.43 MB / 0.5003 GB, free: 7.902 MB / 426.7 MB