Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.123e-05, allocations: 5.562 kB / 292.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 50.41 MB / 342.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4692/0.5739, allocations: 94.65 MB / 437.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.5743, allocations: 83.83 kB / 437.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0961/0.6704, allocations: 23.07 MB / 460.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6705, allocations: 0 / 460.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.681e-05/0.6705, allocations: 16 kB / 460.5 MB, free: 11.9 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.002377/0.6729, allocations: 0.9709 MB / 461.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.673, allocations: 12.03 kB / 461.4 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002342/0.6732, allocations: 129.4 kB / 461.6 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007623/0.674, allocations: 138.7 kB / 461.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.6759, allocations: 0.6874 MB / 462.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.676, allocations: 58.88 kB / 462.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.6762, allocations: 84.58 kB / 462.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.678, allocations: 0.7273 MB / 463.3 MB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.22e-05/0.6781, allocations: 7.906 kB / 463.3 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.996e-05/0.6782, allocations: 31.31 kB / 463.3 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.6782, allocations: 20 kB / 463.3 MB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.6796, allocations: 469.7 kB / 463.8 MB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006791/0.6864, allocations: 3.453 MB / 467.2 MB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/0.687, allocations: 198.6 kB / 467.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.6873, allocations: 92.86 kB / 467.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.6874, allocations: 4.438 kB / 467.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.6874, allocations: 38.56 kB / 467.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.677e-06/0.6874, allocations: 0 / 467.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.002054/0.6895, allocations: 0.8198 MB / 468.4 MB, free: 4.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.6896, allocations: 81.34 kB / 468.4 MB, free: 4.602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.6908, allocations: 0.6131 MB / 469.1 MB, free: 3.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.6909, allocations: 29.7 kB / 469.1 MB, free: 3.949 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/0.6914, allocations: 0.5161 MB / 469.6 MB, free: 3.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.6915, allocations: 106.6 kB / 469.7 MB, free: 3.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.6916, allocations: 8 kB / 469.7 MB, free: 3.316 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.6917, allocations: 342.8 kB / 470.1 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.6921, allocations: 105.6 kB / 470.2 MB, free: 2.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.6926, allocations: 390 kB / 470.5 MB, free: 2.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.6931, allocations: 183.8 kB / 470.7 MB, free: 2.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.6931, allocations: 7.938 kB / 470.7 MB, free: 2.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001299/0.6944, allocations: 0.4946 MB / 471.2 MB, free: 1.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.6945, allocations: 12 kB / 471.2 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.6945, allocations: 8 kB / 471.2 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.6947, allocations: 36.8 kB / 471.3 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000881/0.6956, allocations: 147.7 kB / 471.4 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.697, allocations: 1.292 MB / 472.7 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009017/0.6979, allocations: 40.22 kB / 472.7 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.698, allocations: 31.94 kB / 472.8 MB, free: 15.95 MB / 394.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.0001829/0.6982, allocations: 150.9 kB / 472.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.6983, allocations: 67.16 kB / 473 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000837/0.6992, allocations: 285.5 kB / 473.3 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.6992, allocations: 4 kB / 473.3 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6992, allocations: 4 kB / 473.3 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6992, allocations: 7.984 kB / 473.3 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.7015, allocations: 1.053 MB / 474.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.7016, allocations: 0 / 474.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/0.7021, allocations: 55.97 kB / 474.4 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.7023, allocations: 24.84 kB / 474.4 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.7023, allocations: 11.94 kB / 474.4 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.7036, allocations: 1.268 MB / 475.7 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7036, allocations: 0 / 475.7 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.7049, allocations: 0.5944 MB / 476.3 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000366/0.7053, allocations: 172.2 kB / 476.5 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.7054, allocations: 8 kB / 476.5 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005637/0.706, allocations: 27.98 kB / 476.5 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.7061, allocations: 23.86 kB / 476.5 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.7062, allocations: 12 kB / 476.5 MB, free: 11.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001024/0.7072, allocations: 475.2 kB / 477 MB, free: 11.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7072, allocations: 4 kB / 477 MB, free: 11.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001179/0.7084, allocations: 188 kB / 477.2 MB, free: 11.22 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.002134/0.7106, allocations: 1.795 MB / 479 MB, free: 9.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.7117, allocations: 396 kB / 479.4 MB, free: 8.961 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.7117, allocations: 0 / 479.4 MB, free: 8.961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.7122, allocations: 220.5 kB / 479.6 MB, free: 8.738 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.7138, allocations: 167 kB / 479.7 MB, free: 8.574 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.7177, allocations: 1.197 MB / 480.9 MB, free: 7.309 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007759/0.7185, allocations: 0.957 MB / 481.9 MB, free: 6.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/0.7193, allocations: 315.3 kB / 482.2 MB, free: 6.012 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.7193, allocations: 0 / 482.2 MB, free: 6.012 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.826/3.545, allocations: 17.42 MB / 499.6 MB, free: 4.641 MB / 410.7 MB