Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.792/1.792, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.284e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.253, allocations: 38.77 MB / 263.9 MB, free: 9.797 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.4187, allocations: 84.02 MB / 347.9 MB, free: 5.648 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.419, allocations: 79.95 kB / 348 MB, free: 5.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3143/0.7333, allocations: 23.87 MB / 371.8 MB, free: 82.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7334, allocations: 0 / 371.8 MB, free: 82.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.39e-05/0.7335, allocations: 18.59 kB / 371.8 MB, free: 82.84 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002102/0.7356, allocations: 1.017 MB / 372.9 MB, free: 82.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.7356, allocations: 11.12 kB / 372.9 MB, free: 82.28 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/0.7358, allocations: 133.6 kB / 373 MB, free: 82.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007181/0.7366, allocations: 148.2 kB / 373.1 MB, free: 82.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.7382, allocations: 0.6772 MB / 373.8 MB, free: 81.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.7383, allocations: 61.97 kB / 373.9 MB, free: 81.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.7385, allocations: 86.75 kB / 374 MB, free: 81.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.7402, allocations: 0.7798 MB / 374.7 MB, free: 81.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.177e-05/0.7403, allocations: 4.812 kB / 374.7 MB, free: 81.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.7404, allocations: 34.19 kB / 374.8 MB, free: 81.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.7405, allocations: 22.09 kB / 374.8 MB, free: 81.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.7417, allocations: 0.4929 MB / 375.3 MB, free: 81.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005759/0.7475, allocations: 3.51 MB / 378.8 MB, free: 80.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000573/0.7481, allocations: 224.4 kB / 379 MB, free: 80.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.7484, allocations: 97.83 kB / 379.1 MB, free: 80.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.7484, allocations: 7.844 kB / 379.1 MB, free: 80.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.7485, allocations: 32.34 kB / 379.2 MB, free: 80.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.364e-06/0.7485, allocations: 2.625 kB / 379.2 MB, free: 80.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001851/0.7504, allocations: 0.8507 MB / 380 MB, free: 79.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.7504, allocations: 77.11 kB / 380.1 MB, free: 79.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.7516, allocations: 0.678 MB / 380.8 MB, free: 79.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.7516, allocations: 32.61 kB / 380.8 MB, free: 79.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.752, allocations: 0.4995 MB / 381.3 MB, free: 79.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.816e-05/0.7521, allocations: 125.5 kB / 381.4 MB, free: 79.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.7521, allocations: 9.75 kB / 381.4 MB, free: 79.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.7522, allocations: 331.2 kB / 381.8 MB, free: 78.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.7525, allocations: 105.8 kB / 381.9 MB, free: 78.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.7529, allocations: 400.4 kB / 382.2 MB, free: 78.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.7533, allocations: 175.5 kB / 382.4 MB, free: 78.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.7533, allocations: 3.844 kB / 382.4 MB, free: 78.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001266/0.7546, allocations: 0.596 MB / 383 MB, free: 78.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.7546, allocations: 11.7 kB / 383 MB, free: 78.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.7547, allocations: 9.094 kB / 383 MB, free: 78.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/0.7549, allocations: 36.23 kB / 383.1 MB, free: 78.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008306/0.7557, allocations: 147.5 kB / 383.2 MB, free: 78.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009286/0.7567, allocations: 1.286 MB / 384.5 MB, free: 76.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000901/0.7576, allocations: 46.89 kB / 384.5 MB, free: 76.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.7576, allocations: 31.38 kB / 384.6 MB, free: 76.76 MB / 314.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 (75): * Single equations (assignments): 74 * 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.0001351/0.7578, allocations: 148.2 kB / 384.7 MB, free: 76.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.7579, allocations: 85.67 kB / 384.8 MB, free: 76.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007362/0.7587, allocations: 305.5 kB / 385.1 MB, free: 76.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.7587, allocations: 3.875 kB / 385.1 MB, free: 76.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7587, allocations: 0 / 385.1 MB, free: 76.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.7587, allocations: 0 / 385.1 MB, free: 76.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.7606, allocations: 1.066 MB / 386.2 MB, free: 75.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.7606, allocations: 6.5 kB / 386.2 MB, free: 75.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.7612, allocations: 66.72 kB / 386.2 MB, free: 75.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001237/0.7613, allocations: 24.33 kB / 386.3 MB, free: 75.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.7614, allocations: 8 kB / 386.3 MB, free: 75.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008272/0.7622, allocations: 1.273 MB / 387.6 MB, free: 74.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.7622, allocations: 11.31 kB / 387.6 MB, free: 74.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009544/0.7632, allocations: 0.6076 MB / 388.2 MB, free: 73.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.7635, allocations: 179.8 kB / 388.3 MB, free: 73.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.7637, allocations: 11.88 kB / 388.4 MB, free: 73.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006259/0.7643, allocations: 27.22 kB / 388.4 MB, free: 73.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-05/0.7644, allocations: 23.44 kB / 388.4 MB, free: 73.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.7645, allocations: 11.84 kB / 388.4 MB, free: 73.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008988/0.7654, allocations: 0.5163 MB / 388.9 MB, free: 73.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.7654, allocations: 7.828 kB / 388.9 MB, free: 73.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001027/0.7664, allocations: 206.3 kB / 389.1 MB, free: 73.51 MB / 314.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 (28): * Single equations (assignments): 27 * 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.001624/0.768, allocations: 1.858 MB / 391 MB, free: 71.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009538/0.769, allocations: 425.4 kB / 391.4 MB, free: 71.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.769, allocations: 0 / 391.4 MB, free: 71.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.7694, allocations: 223.2 kB / 391.6 MB, free: 71.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.771, allocations: 212.2 kB / 391.8 MB, free: 71.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.7741, allocations: 1.195 MB / 393 MB, free: 70.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.7746, allocations: 0.9677 MB / 394 MB, free: 70.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000611/0.7752, allocations: 104.2 kB / 394.1 MB, free: 70.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.7757, allocations: 315.1 kB / 394.4 MB, free: 69.91 MB / 314.7 MB Notification: Performance of SimCode: time 1.223e-06/0.7757, allocations: 0 / 394.4 MB, free: 69.91 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05261/0.8284, allocations: 19.41 MB / 413.8 MB, free: 56.34 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.8286, allocations: 191.7 kB / 414 MB, free: 56.11 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.349/4.178, allocations: 1.422 kB / 414 MB, free: 56.11 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat