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.859/1.859, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.147e-05, allocations: 8 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2749, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1663/0.4413, allocations: 83.34 MB / 341.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.4416, allocations: 83.95 kB / 341.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1012/0.5428, allocations: 23.54 MB / 365.3 MB, free: 2.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5429, allocations: 0 / 365.3 MB, free: 2.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.994e-05/0.543, allocations: 20 kB / 365.3 MB, free: 2.609 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.002472/0.5454, allocations: 1.019 MB / 366.3 MB, free: 1.547 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.5455, allocations: 8.031 kB / 366.4 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007522/0.5463, allocations: 150.7 kB / 366.5 MB, free: 1.391 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.5481, allocations: 0.6795 MB / 367.2 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.5481, allocations: 28 kB / 367.2 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.5483, allocations: 55.91 kB / 367.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001332/0.5497, allocations: 448 kB / 367.7 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2157/0.7654, allocations: 0.6523 MB / 368.4 MB, free: 83.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.192e-05/0.7655, allocations: 4.922 kB / 368.4 MB, free: 83.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.7656, allocations: 1.188 kB / 368.4 MB, free: 83.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.649e-05/0.7657, allocations: 23.84 kB / 368.4 MB, free: 83.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006234/0.7719, allocations: 3.319 MB / 371.7 MB, free: 81.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.7725, allocations: 204.5 kB / 371.9 MB, free: 81.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.7727, allocations: 87.61 kB / 372 MB, free: 81.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.7728, allocations: 2.562 kB / 372 MB, free: 81.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.7728, allocations: 42.62 kB / 372 MB, free: 81.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.725e-06/0.7728, allocations: 0 / 372 MB, free: 81.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001857/0.7747, allocations: 0.7889 MB / 372.8 MB, free: 81.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.7748, allocations: 81.52 kB / 372.9 MB, free: 80.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009199/0.7757, allocations: 0.5117 MB / 373.4 MB, free: 80.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.7758, allocations: 25.7 kB / 373.4 MB, free: 80.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.7761, allocations: 0.514 MB / 374 MB, free: 80.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.257e-05/0.7762, allocations: 106.2 kB / 374.1 MB, free: 80.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.7763, allocations: 3.688 kB / 374.1 MB, free: 80.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7764, allocations: 370.1 kB / 374.4 MB, free: 80.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.7766, allocations: 98.59 kB / 374.5 MB, free: 80.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.7771, allocations: 384.5 kB / 374.9 MB, free: 79.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.7775, allocations: 163.8 kB / 375.1 MB, free: 79.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.7775, allocations: 6.031 kB / 375.1 MB, free: 79.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001301/0.7788, allocations: 0.5007 MB / 375.6 MB, free: 79.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.7788, allocations: 10.53 kB / 375.6 MB, free: 79.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.7789, allocations: 15.7 kB / 375.6 MB, free: 79.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/0.7791, allocations: 34.45 kB / 375.6 MB, free: 79.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/0.78, allocations: 146.6 kB / 375.8 MB, free: 79.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009164/0.7809, allocations: 1.243 MB / 377 MB, free: 78.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008338/0.7817, allocations: 31.7 kB / 377 MB, free: 78.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/0.7818, allocations: 36.69 kB / 377.1 MB, free: 78.57 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.0001559/0.782, allocations: 130.9 kB / 377.2 MB, free: 78.46 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005892/0.7826, allocations: 267.9 kB / 377.5 MB, free: 78.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.7827, allocations: 61.78 kB / 377.5 MB, free: 78.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006131/0.7833, allocations: 274.1 kB / 377.8 MB, free: 78.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.7834, allocations: 7.562 kB / 377.8 MB, free: 78.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.7834, allocations: 0 / 377.8 MB, free: 78.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.7834, allocations: 0 / 377.8 MB, free: 78.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.7851, allocations: 0.9343 MB / 378.7 MB, free: 77.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.7851, allocations: 0 / 378.7 MB, free: 77.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.7857, allocations: 72 kB / 378.8 MB, free: 77.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/0.7858, allocations: 25.8 kB / 378.8 MB, free: 77.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.7858, allocations: 0 / 378.8 MB, free: 77.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007792/0.7866, allocations: 1.232 MB / 380.1 MB, free: 76.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.7867, allocations: 3.844 kB / 380.1 MB, free: 76.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008263/0.7875, allocations: 0.5747 MB / 380.6 MB, free: 76.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.7878, allocations: 163.2 kB / 380.8 MB, free: 76.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.7879, allocations: 0 / 380.8 MB, free: 76.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/0.7884, allocations: 27.44 kB / 380.8 MB, free: 76.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/0.7885, allocations: 24.94 kB / 380.8 MB, free: 76.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.7886, allocations: 10.19 kB / 380.9 MB, free: 76.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005866/0.7892, allocations: 396.5 kB / 381.2 MB, free: 76.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7892, allocations: 0 / 381.2 MB, free: 76.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001007/0.7902, allocations: 161.5 kB / 381.4 MB, free: 76.16 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.001414/0.7916, allocations: 1.787 MB / 383.2 MB, free: 74.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008822/0.7925, allocations: 396.4 kB / 383.6 MB, free: 74.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.7926, allocations: 2.938 kB / 383.6 MB, free: 74.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.7929, allocations: 213.5 kB / 383.8 MB, free: 74.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.7942, allocations: 153.6 kB / 383.9 MB, free: 74.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.7973, allocations: 1.131 MB / 385.1 MB, free: 74.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.7978, allocations: 0.9737 MB / 386 MB, free: 73.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005499/0.7984, allocations: 82.7 kB / 386.1 MB, free: 73.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004989/0.7989, allocations: 316 kB / 386.4 MB, free: 73.27 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.7989, allocations: 0 / 386.4 MB, free: 73.27 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07044/0.8694, allocations: 13.63 MB / 400.1 MB, free: 71.27 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/0.8697, allocations: 155.7 kB / 400.2 MB, free: 71.07 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/3.798, allocations: 0 / 400.2 MB, free: 71.07 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