Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.302/2.302, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.13e-05, allocations: 4 kB / 249.8 MB, free: 14.75 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3397, allocations: 44.49 MB / 294.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1779/0.5176, allocations: 88.47 MB / 382.8 MB, free: 9.301 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/0.518, allocations: 79.95 kB / 382.8 MB, free: 9.223 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1456/0.6636, allocations: 23.46 MB / 406.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6637, allocations: 0 / 406.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.876e-05/0.6638, allocations: 16 kB / 406.3 MB, free: 1.586 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.002929/0.6667, allocations: 1.017 MB / 407.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.6668, allocations: 11.97 kB / 407.4 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000936/0.6678, allocations: 154.6 kB / 407.5 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/0.6701, allocations: 0.6757 MB / 408.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/0.6701, allocations: 28 kB / 408.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.6703, allocations: 48 kB / 408.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001643/0.672, allocations: 448 kB / 408.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.6741, allocations: 0.6623 MB / 409.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.457e-05/0.6742, allocations: 7.906 kB / 409.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.6744, allocations: 7.938 kB / 409.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/0.6744, allocations: 24 kB / 409.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00837/0.6828, allocations: 3.309 MB / 412.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007548/0.6836, allocations: 202.8 kB / 412.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.6839, allocations: 100.7 kB / 413 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/0.684, allocations: 0 / 413 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.684, allocations: 46.52 kB / 413 MB, free: 10.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.435e-06/0.6841, allocations: 0 / 413 MB, free: 10.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.002416/0.6865, allocations: 0.7788 MB / 413.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.6866, allocations: 81.11 kB / 413.9 MB, free: 9.598 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.6878, allocations: 0.5113 MB / 414.4 MB, free: 9.082 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.6878, allocations: 25.7 kB / 414.4 MB, free: 9.051 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005861/0.6885, allocations: 0.5171 MB / 415 MB, free: 8.527 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.6886, allocations: 114.4 kB / 415.1 MB, free: 8.414 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.6887, allocations: 0 / 415.1 MB, free: 8.414 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002437/0.6889, allocations: 370.7 kB / 415.4 MB, free: 8.043 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.6893, allocations: 97.56 kB / 415.5 MB, free: 7.949 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/0.6899, allocations: 389.9 kB / 415.9 MB, free: 7.426 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005019/0.6904, allocations: 163.8 kB / 416.1 MB, free: 7.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.6904, allocations: 0 / 416.1 MB, free: 7.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001564/0.692, allocations: 0.5021 MB / 416.6 MB, free: 6.754 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.6921, allocations: 8 kB / 416.6 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.6921, allocations: 12.06 kB / 416.6 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/0.6923, allocations: 36.84 kB / 416.6 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.6935, allocations: 151.7 kB / 416.8 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.6949, allocations: 1.233 MB / 418 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000892/0.6958, allocations: 35.8 kB / 418 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.325e-05/0.6959, allocations: 32.09 kB / 418.1 MB, free: 5.133 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.0001849/0.6961, allocations: 140.5 kB / 418.2 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007833/0.6969, allocations: 258.2 kB / 418.5 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.697, allocations: 67.16 kB / 418.5 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008338/0.6979, allocations: 257.4 kB / 418.8 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.6979, allocations: 7.953 kB / 418.8 MB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.6979, allocations: 7.984 kB / 418.8 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.6979, allocations: 0 / 418.8 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.7003, allocations: 0.9422 MB / 419.7 MB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.7003, allocations: 4 kB / 419.7 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006868/0.701, allocations: 63.89 kB / 419.8 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001431/0.7012, allocations: 20.86 kB / 419.8 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.7012, allocations: 7.984 kB / 419.8 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.7025, allocations: 1.233 MB / 421.1 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.7025, allocations: 0 / 421.1 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.7037, allocations: 0.5722 MB / 421.6 MB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.7041, allocations: 164.3 kB / 421.8 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.7043, allocations: 4 kB / 421.8 MB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.705, allocations: 23.98 kB / 421.8 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.7051, allocations: 27.86 kB / 421.8 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.7051, allocations: 11.98 kB / 421.9 MB, free: 1.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008381/0.706, allocations: 391.2 kB / 422.2 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.706, allocations: 0 / 422.2 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001186/0.7072, allocations: 160 kB / 422.4 MB, free: 500 kB / 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.2892/0.9965, allocations: 1.769 MB / 424.2 MB, free: 97.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.9979, allocations: 395.1 kB / 424.6 MB, free: 97.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.9979, allocations: 0.5938 kB / 424.6 MB, free: 97.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005933/0.9985, allocations: 215 kB / 424.8 MB, free: 97.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/1, allocations: 157.4 kB / 424.9 MB, free: 97.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/1.005, allocations: 1.142 MB / 426.1 MB, free: 97.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/1.005, allocations: 0.9717 MB / 427 MB, free: 96.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007572/1.006, allocations: 80.88 kB / 427.1 MB, free: 96.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006365/1.007, allocations: 315.4 kB / 427.4 MB, free: 96.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.203e-06/1.007, allocations: 0 / 427.4 MB, free: 96.36 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09455/1.101, allocations: 13.65 MB / 441.1 MB, free: 95.43 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002746/1.102, allocations: 161.3 kB / 441.2 MB, free: 95.24 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.488/4.59, allocations: 0 / 441.2 MB, free: 95.24 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat