Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.031e-05, allocations: 3.984 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4967/0.6191, allocations: 93.76 MB / 410.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.6195, allocations: 83.83 kB / 410.9 MB, free: 10.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1185/0.738, allocations: 23.92 MB / 434.8 MB, free: 6.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.7381, allocations: 0 / 434.8 MB, free: 6.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.96e-05/0.7382, allocations: 16 kB / 434.8 MB, free: 6.246 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.002653/0.7408, allocations: 1.005 MB / 435.8 MB, free: 5.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.7409, allocations: 8.031 kB / 435.8 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000337/0.7413, allocations: 135.7 kB / 436 MB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008473/0.7421, allocations: 154.6 kB / 436.1 MB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.7443, allocations: 0.6763 MB / 436.8 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.527e-05/0.7444, allocations: 71 kB / 436.8 MB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.7446, allocations: 88.75 kB / 436.9 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.7467, allocations: 0.7622 MB / 437.7 MB, free: 3.785 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.926e-05/0.7468, allocations: 3.906 kB / 437.7 MB, free: 3.781 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.7469, allocations: 41.25 kB / 437.7 MB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.747, allocations: 20 kB / 437.8 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.7485, allocations: 493 kB / 438.2 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007715/0.7562, allocations: 3.653 MB / 441.9 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006645/0.757, allocations: 213.8 kB / 442.1 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.7573, allocations: 98.55 kB / 442.2 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.264e-05/0.7573, allocations: 7.984 kB / 442.2 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.7574, allocations: 38 kB / 442.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 3.637e-06/0.7574, allocations: 0 / 442.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.002314/0.7597, allocations: 0.8432 MB / 443.1 MB, free: 15.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.7598, allocations: 77.11 kB / 443.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.7613, allocations: 0.6782 MB / 443.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.24e-05/0.7614, allocations: 32.08 kB / 443.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004802/0.7619, allocations: 0.5013 MB / 444.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.762, allocations: 108.6 kB / 444.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.762, allocations: 11.25 kB / 444.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.7622, allocations: 333 kB / 444.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.7626, allocations: 108.1 kB / 444.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/0.7631, allocations: 405.3 kB / 445.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/0.7636, allocations: 181.5 kB / 445.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.7636, allocations: 0 / 445.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001575/0.7652, allocations: 0.568 MB / 446.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.7653, allocations: 8 kB / 446.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/0.7653, allocations: 15.94 kB / 446.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/0.7656, allocations: 31.92 kB / 446.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009406/0.7665, allocations: 147.7 kB / 446.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.768, allocations: 1.292 MB / 447.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.7691, allocations: 43.11 kB / 447.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-05/0.7692, allocations: 31.31 kB / 447.6 MB, free: 11 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.0002076/0.7694, allocations: 150.9 kB / 447.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.7696, allocations: 78.97 kB / 447.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009196/0.7705, allocations: 309.1 kB / 448.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.7706, allocations: 8 kB / 448.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7706, allocations: 0 / 448.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7706, allocations: 0 / 448.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.7731, allocations: 1.055 MB / 449.2 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/0.7732, allocations: 11.94 kB / 449.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/0.7737, allocations: 63.59 kB / 449.3 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001488/0.7739, allocations: 20.84 kB / 449.3 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.774, allocations: 11.62 kB / 449.3 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.7753, allocations: 1.272 MB / 450.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.7753, allocations: 3.938 kB / 450.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.7766, allocations: 0.6217 MB / 451.2 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004977/0.7771, allocations: 180.5 kB / 451.4 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.7773, allocations: 7.25 kB / 451.4 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006653/0.778, allocations: 27.36 kB / 451.4 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.7781, allocations: 27.42 kB / 451.5 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.7782, allocations: 6.938 kB / 451.5 MB, free: 7.375 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001148/0.7793, allocations: 0.5212 MB / 452 MB, free: 6.996 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.7793, allocations: 0 / 452 MB, free: 6.996 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00137/0.7807, allocations: 208.6 kB / 452.2 MB, free: 6.812 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.002414/0.7832, allocations: 1.865 MB / 454.1 MB, free: 4.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.7844, allocations: 412.4 kB / 454.5 MB, free: 4.656 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.7844, allocations: 0 / 454.5 MB, free: 4.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004846/0.7849, allocations: 223.9 kB / 454.7 MB, free: 4.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.7868, allocations: 204.5 kB / 454.9 MB, free: 4.312 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004018/0.7908, allocations: 1.207 MB / 456.1 MB, free: 3.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/0.7917, allocations: 0.9687 MB / 457 MB, free: 2.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007182/0.7924, allocations: 98.67 kB / 457.1 MB, free: 1.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/0.793, allocations: 315.3 kB / 457.5 MB, free: 1.688 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/0.7931, allocations: 4 kB / 457.5 MB, free: 1.684 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06821/0.8613, allocations: 19.33 MB / 476.8 MB, free: 14.42 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003285/0.8617, allocations: 182.8 kB / 477 MB, free: 14.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.491/4.353, allocations: 0 / 477 MB, free: 14.2 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat