Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.161/2.161, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.168e-05, allocations: 7.953 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1036, allocations: 44.5 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4713/0.575, allocations: 87.94 MB / 382.2 MB, free: 5.598 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.5754, allocations: 82.86 kB / 382.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1069/0.6823, allocations: 22.61 MB / 404.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.6823, allocations: 0 / 404.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.506e-05/0.6824, allocations: 23.34 kB / 404.9 MB, free: 13.14 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002788/0.6852, allocations: 0.9713 MB / 405.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.6853, allocations: 7.75 kB / 405.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00095/0.6863, allocations: 148.2 kB / 406.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.6885, allocations: 0.6805 MB / 406.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/0.6886, allocations: 28.66 kB / 406.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.6888, allocations: 44 kB / 406.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001511/0.6904, allocations: 431.2 kB / 407.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.6923, allocations: 0.6266 MB / 407.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.896e-05/0.6924, allocations: 7.906 kB / 407.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.974e-05/0.6925, allocations: 0 / 407.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.983e-05/0.6925, allocations: 27.92 kB / 407.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007378/0.6999, allocations: 3.306 MB / 411.2 MB, free: 8.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.7006, allocations: 191.8 kB / 411.4 MB, free: 8.141 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.7009, allocations: 92.41 kB / 411.5 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.515e-05/0.7009, allocations: 3.594 kB / 411.5 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.701, allocations: 41.56 kB / 411.5 MB, free: 8.031 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 3.686e-06/0.701, allocations: 0 / 411.5 MB, free: 8.031 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.002233/0.7033, allocations: 0.7564 MB / 412.3 MB, free: 7.316 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.7033, allocations: 77.34 kB / 412.4 MB, free: 7.223 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.7046, allocations: 0.5235 MB / 412.9 MB, free: 6.828 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-05/0.7047, allocations: 25.7 kB / 412.9 MB, free: 6.797 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005682/0.7053, allocations: 0.5054 MB / 413.4 MB, free: 6.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.7054, allocations: 91.66 kB / 413.5 MB, free: 6.332 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.7055, allocations: 4 kB / 413.5 MB, free: 6.328 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.7057, allocations: 378.8 kB / 413.9 MB, free: 5.977 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.706, allocations: 89.94 kB / 414 MB, free: 5.926 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/0.7066, allocations: 383.9 kB / 414.3 MB, free: 5.465 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.7071, allocations: 172.6 kB / 414.5 MB, free: 5.352 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.7072, allocations: 4 kB / 414.5 MB, free: 5.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001628/0.7088, allocations: 0.4908 MB / 415 MB, free: 4.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.7089, allocations: 12.06 kB / 415 MB, free: 4.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.7089, allocations: 12 kB / 415 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/0.7091, allocations: 36.34 kB / 415.1 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.7102, allocations: 139.5 kB / 415.2 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.7117, allocations: 1.249 MB / 416.5 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009658/0.7127, allocations: 23.94 kB / 416.5 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/0.7128, allocations: 39.03 kB / 416.5 MB, free: 3.359 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 (74): * Single equations (assignments): 73 * 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.0002/0.713, allocations: 128.5 kB / 416.6 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007642/0.7138, allocations: 258.3 kB / 416.9 MB, free: 3.012 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.714, allocations: 67.16 kB / 417 MB, free: 2.945 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008408/0.7149, allocations: 266 kB / 417.2 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.7149, allocations: 0 / 417.2 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.7149, allocations: 12 kB / 417.2 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.7149, allocations: 0 / 417.2 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/0.7173, allocations: 0.9111 MB / 418.1 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.7174, allocations: 0 / 418.1 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/0.718, allocations: 63.34 kB / 418.2 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.7182, allocations: 24.47 kB / 418.2 MB, free: 1.891 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.7182, allocations: 4 kB / 418.2 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.7196, allocations: 1.226 MB / 419.5 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.7196, allocations: 7.984 kB / 419.5 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.7208, allocations: 0.553 MB / 420 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/0.7213, allocations: 163.3 kB / 420.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.7215, allocations: 4 kB / 420.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.7221, allocations: 19.98 kB / 420.2 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.7222, allocations: 27.03 kB / 420.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.7223, allocations: 11.25 kB / 420.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008916/0.7232, allocations: 393.8 kB / 420.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7232, allocations: 0 / 420.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001315/0.7245, allocations: 149.9 kB / 420.8 MB, free: 15.41 MB / 330.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 (27): * Single equations (assignments): 26 * 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.002208/0.7268, allocations: 1.737 MB / 422.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.7279, allocations: 378.8 kB / 422.9 MB, free: 13.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7279, allocations: 1 kB / 422.9 MB, free: 13.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000488/0.7284, allocations: 212.1 kB / 423.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.7301, allocations: 150.2 kB / 423.2 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.7342, allocations: 1.113 MB / 424.3 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008772/0.7351, allocations: 0.9603 MB / 425.3 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007394/0.7359, allocations: 85.5 kB / 425.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006191/0.7365, allocations: 302.6 kB / 425.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7365, allocations: 0 / 425.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07523/0.8118, allocations: 13.17 MB / 438.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003173/0.8122, allocations: 161.3 kB / 439 MB, free: 13.54 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.439/4.252, allocations: 0 / 439 MB, free: 13.54 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat does not exist to compare? outputFormat=mat