Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.371/2.371, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.178e-05, allocations: 3.016 kB / 249.8 MB, free: 5.219 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5564/0.6577, allocations: 93.73 MB / 388 MB, free: 4.352 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/0.6582, allocations: 86.52 kB / 388.1 MB, free: 4.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1551/0.8133, allocations: 30 MB / 418.1 MB, free: 3.305 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.889e-06/0.8134, allocations: 0 / 418.1 MB, free: 3.305 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001205/0.8135, allocations: 31.94 kB / 418.1 MB, free: 3.273 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.004768/0.8183, allocations: 1.357 MB / 419.5 MB, free: 1.938 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.8184, allocations: 12.02 kB / 419.5 MB, free: 1.926 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004325/0.8188, allocations: 117.1 kB / 419.6 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.82, allocations: 198.5 kB / 419.8 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004475/0.8245, allocations: 0.8265 MB / 420.6 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004347/0.825, allocations: 79.84 kB / 420.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006552/0.8257, allocations: 79.81 kB / 420.8 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004533/0.8303, allocations: 0.6279 MB / 421.4 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005272/0.8356, allocations: 0.9312 MB / 422.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.8358, allocations: 11.45 kB / 422.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/0.836, allocations: 0 / 422.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.359e-05/0.8361, allocations: 28 kB / 422.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/0.8483, allocations: 3.703 MB / 426.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/0.851, allocations: 0.5277 MB / 426.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007254/0.8518, allocations: 222 kB / 426.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-05/0.8519, allocations: 12.14 kB / 426.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008123/0.8527, allocations: 248.9 kB / 427.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 4.728e-06/0.8528, allocations: 0 / 427.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=66): time 0.005446/0.8582, allocations: 1.404 MB / 428.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002739/0.8585, allocations: 477.8 kB / 428.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.8605, allocations: 0.7253 MB / 429.7 MB, free: 9.539 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002192/0.8607, allocations: 32.08 kB / 429.7 MB, free: 9.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000913/0.8617, allocations: 0.6451 MB / 430.3 MB, free: 8.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004239/0.8621, allocations: 228.7 kB / 430.6 MB, free: 8.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-05/0.8622, allocations: 0 / 430.6 MB, free: 8.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.8624, allocations: 345.9 kB / 430.9 MB, free: 8.406 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007094/0.8631, allocations: 198.6 kB / 431.1 MB, free: 8.215 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.8643, allocations: 0.6521 MB / 431.7 MB, free: 7.355 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00099/0.8654, allocations: 296.3 kB / 432 MB, free: 7.066 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.8654, allocations: 0 / 432 MB, free: 7.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003745/0.8692, allocations: 0.9539 MB / 433 MB, free: 6.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-05/0.8693, allocations: 63.41 kB / 433.1 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/0.8693, allocations: 12 kB / 433.1 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.8707, allocations: 185.8 kB / 433.2 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.8725, allocations: 219.6 kB / 433.5 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007499/0.8801, allocations: 3.406 MB / 436.9 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.8821, allocations: 59.92 kB / 436.9 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/0.8824, allocations: 48 kB / 437 MB, free: 1.859 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 2 * 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%) 1,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003286/0.8827, allocations: 140.8 kB / 437.1 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003573/0.8831, allocations: 110.7 kB / 437.2 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.8858, allocations: 0.6204 MB / 437.8 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.8859, allocations: 11.94 kB / 437.9 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.8859, allocations: 8 kB / 437.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002364/0.8883, allocations: 0.8788 MB / 438.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005581/0.8939, allocations: 1.595 MB / 440.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.894, allocations: 0 / 440.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.8952, allocations: 111.9 kB / 440.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009321/0.8962, allocations: 129.7 kB / 440.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.8963, allocations: 8 kB / 440.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005701/0.9021, allocations: 3.144 MB / 443.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.9021, allocations: 0 / 443.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003419/0.9055, allocations: 1.052 MB / 444.8 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008472/0.9064, allocations: 227.9 kB / 445 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/0.9067, allocations: 8 kB / 445 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.908, allocations: 39.91 kB / 445 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/0.9082, allocations: 56.47 kB / 445.1 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-05/0.9083, allocations: 16 kB / 445.1 MB, free: 9.164 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001498/0.9099, allocations: 0.5365 MB / 445.6 MB, free: 8.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.212e-06/0.9099, allocations: 0 / 445.6 MB, free: 8.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002325/0.9122, allocations: 296.1 kB / 445.9 MB, free: 8.328 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.004558/0.9168, allocations: 2.273 MB / 448.2 MB, free: 5.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003644/0.9205, allocations: 0.9558 MB / 449.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.9206, allocations: 8.062 kB / 449.2 MB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.9222, allocations: 497.3 kB / 449.7 MB, free: 4.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/0.9249, allocations: 252.4 kB / 449.9 MB, free: 4.223 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007757/0.9327, allocations: 1.714 MB / 451.6 MB, free: 2.438 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.9339, allocations: 1.1 MB / 452.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001213/0.9351, allocations: 128.5 kB / 452.8 MB, free: 1.176 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.9363, allocations: 443.3 kB / 453.3 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of SimCode: time 1.432e-06/0.9363, allocations: 0 / 453.3 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1261/1.062, allocations: 24.35 MB / 477.6 MB, free: 8.449 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003346/1.063, allocations: 151.8 kB / 477.8 MB, free: 8.262 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.553/5.616, allocations: 4 kB / 477.8 MB, free: 8.258 MB / 378.7 MB