Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.88e-05, allocations: 11.98 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3618, allocations: 44.49 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.5211, allocations: 88.47 MB / 382.7 MB, free: 9.441 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.5215, allocations: 83.89 kB / 382.8 MB, free: 9.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.102/0.6235, allocations: 23.45 MB / 406.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6236, allocations: 0 / 406.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.695e-05/0.6237, allocations: 20 kB / 406.2 MB, free: 1.734 MB / 346.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.002642/0.6263, allocations: 1.017 MB / 407.3 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.6264, allocations: 8.031 kB / 407.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008327/0.6272, allocations: 158.6 kB / 407.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.6293, allocations: 0.6678 MB / 408.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.6294, allocations: 28 kB / 408.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.6295, allocations: 56 kB / 408.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001413/0.631, allocations: 451.9 kB / 408.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.6328, allocations: 0.659 MB / 409.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.077e-05/0.6329, allocations: 11.84 kB / 409.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.721e-05/0.633, allocations: 3.953 kB / 409.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.633, allocations: 24 kB / 409.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007218/0.6403, allocations: 3.321 MB / 412.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.6409, allocations: 206.7 kB / 412.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.6412, allocations: 84.86 kB / 412.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.702e-05/0.6412, allocations: 7.984 kB / 412.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.6413, allocations: 42.52 kB / 413 MB, free: 10.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.765e-06/0.6413, allocations: 0 / 413 MB, free: 10.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.002155/0.6435, allocations: 0.7788 MB / 413.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.6436, allocations: 81.11 kB / 413.8 MB, free: 9.742 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.6447, allocations: 0.5152 MB / 414.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/0.6448, allocations: 25.7 kB / 414.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005018/0.6453, allocations: 0.5132 MB / 414.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.6454, allocations: 106.5 kB / 415 MB, free: 8.566 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.6455, allocations: 0 / 415 MB, free: 8.566 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.6457, allocations: 374.8 kB / 415.4 MB, free: 8.191 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.646, allocations: 101.6 kB / 415.5 MB, free: 8.094 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/0.6465, allocations: 378 kB / 415.8 MB, free: 7.582 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/0.647, allocations: 159.8 kB / 416 MB, free: 7.426 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.647, allocations: 4 kB / 416 MB, free: 7.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001403/0.6484, allocations: 0.5135 MB / 416.5 MB, free: 6.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.6485, allocations: 8 kB / 416.5 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.6485, allocations: 8 kB / 416.5 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002097/0.6487, allocations: 28.86 kB / 416.5 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008993/0.6497, allocations: 152 kB / 416.7 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.6511, allocations: 1.244 MB / 417.9 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008699/0.652, allocations: 35.95 kB / 418 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/0.6521, allocations: 32 kB / 418 MB, free: 5.277 MB / 362.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.0002412/0.6523, allocations: 138.9 kB / 418.1 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007403/0.6531, allocations: 258.3 kB / 418.4 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.6532, allocations: 67.16 kB / 418.5 MB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007671/0.654, allocations: 269.3 kB / 418.7 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.654, allocations: 11.89 kB / 418.7 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.654, allocations: 0 / 418.7 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.6541, allocations: 0 / 418.7 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.6562, allocations: 0.9421 MB / 419.7 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.6563, allocations: 8 kB / 419.7 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005524/0.6568, allocations: 64.12 kB / 419.7 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001497/0.657, allocations: 28.84 kB / 419.8 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.657, allocations: 4 kB / 419.8 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.6582, allocations: 1.233 MB / 421 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.6583, allocations: 4.031 kB / 421 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.6594, allocations: 0.5683 MB / 421.6 MB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/0.6598, allocations: 164.3 kB / 421.7 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.66, allocations: 4 kB / 421.7 MB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005635/0.6605, allocations: 19.97 kB / 421.8 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.6607, allocations: 31.92 kB / 421.8 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.6607, allocations: 12 kB / 421.8 MB, free: 1.156 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007846/0.6615, allocations: 391.2 kB / 422.2 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6615, allocations: 0 / 422.2 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001154/0.6627, allocations: 160 kB / 422.3 MB, free: 0.625 MB / 362.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.29/0.9527, allocations: 1.761 MB / 424.1 MB, free: 98.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.9539, allocations: 399.1 kB / 424.5 MB, free: 97.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.954, allocations: 0.5312 kB / 424.5 MB, free: 97.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.9544, allocations: 211.4 kB / 424.7 MB, free: 97.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.9558, allocations: 156.5 kB / 424.9 MB, free: 97.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.9593, allocations: 1.141 MB / 426 MB, free: 97.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.9599, allocations: 0.9709 MB / 427 MB, free: 96.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006858/0.9606, allocations: 81.02 kB / 427 MB, free: 96.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005055/0.9612, allocations: 312.9 kB / 427.3 MB, free: 96.74 MB / 362.7 MB Notification: Performance of SimCode: time 1.253e-06/0.9612, allocations: 0 / 427.3 MB, free: 96.74 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06519/1.026, allocations: 13.65 MB / 441 MB, free: 95.81 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/1.027, allocations: 159.8 kB / 441.1 MB, free: 95.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.994/4.02, allocations: 0 / 441.1 MB, free: 95.62 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat