Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.68/1.68, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.704e-05, allocations: 8 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2505, allocations: 38.76 MB / 258.4 MB, free: 12.3 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.399, allocations: 82.8 MB / 341.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.3994, allocations: 79.95 kB / 341.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1149/0.5143, allocations: 22.69 MB / 363.9 MB, free: 4.105 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5144, allocations: 0 / 363.9 MB, free: 4.105 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.788e-05/0.5144, allocations: 16 kB / 363.9 MB, free: 4.09 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.002903/0.5174, allocations: 0.9753 MB / 364.9 MB, free: 3.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.5174, allocations: 8.031 kB / 364.9 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.5185, allocations: 146.6 kB / 365.1 MB, free: 2.918 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.5204, allocations: 0.6836 MB / 365.7 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.5205, allocations: 24 kB / 365.8 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.5207, allocations: 55.91 kB / 365.8 MB, free: 2.109 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001282/0.522, allocations: 428 kB / 366.2 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.5236, allocations: 0.6272 MB / 366.9 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.5236, allocations: 3.984 kB / 366.9 MB, free: 1.027 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.853e-05/0.5237, allocations: 4 kB / 366.9 MB, free: 1.023 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.5237, allocations: 20 kB / 366.9 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2514/0.7751, allocations: 3.299 MB / 370.2 MB, free: 82.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.7758, allocations: 190.8 kB / 370.4 MB, free: 82.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.776, allocations: 96.62 kB / 370.5 MB, free: 82.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.7761, allocations: 4.453 kB / 370.5 MB, free: 82.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.7761, allocations: 39.2 kB / 370.5 MB, free: 82.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.294e-06/0.7761, allocations: 2 kB / 370.5 MB, free: 82.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001794/0.7779, allocations: 0.7524 MB / 371.3 MB, free: 82.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.778, allocations: 83.84 kB / 371.4 MB, free: 81.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009054/0.7789, allocations: 0.5188 MB / 371.9 MB, free: 81.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.7789, allocations: 25.7 kB / 371.9 MB, free: 81.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.7793, allocations: 0.4984 MB / 372.4 MB, free: 81.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.505e-05/0.7794, allocations: 106.7 kB / 372.5 MB, free: 81.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.7794, allocations: 0 / 372.5 MB, free: 81.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7796, allocations: 370 kB / 372.9 MB, free: 81.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.7798, allocations: 97.22 kB / 373 MB, free: 81.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.7802, allocations: 381 kB / 373.3 MB, free: 80.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.7806, allocations: 170.8 kB / 373.5 MB, free: 80.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.026e-06/0.7806, allocations: 2.562 kB / 373.5 MB, free: 80.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001208/0.7818, allocations: 0.4919 MB / 374 MB, free: 80.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.7819, allocations: 8.812 kB / 374 MB, free: 80.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.7819, allocations: 12.66 kB / 374 MB, free: 80.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/0.7821, allocations: 40.33 kB / 374.1 MB, free: 80.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008551/0.783, allocations: 150.4 kB / 374.2 MB, free: 80.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009106/0.7839, allocations: 1.234 MB / 375.4 MB, free: 79.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007856/0.7847, allocations: 28.38 kB / 375.5 MB, free: 79.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.7848, allocations: 31.72 kB / 375.5 MB, free: 79.56 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.0001328/0.7849, allocations: 134 kB / 375.6 MB, free: 79.45 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005703/0.7855, allocations: 251 kB / 375.9 MB, free: 79.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.7857, allocations: 66.78 kB / 375.9 MB, free: 79.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000648/0.7863, allocations: 263.5 kB / 376.2 MB, free: 79.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.7863, allocations: 3.375 kB / 376.2 MB, free: 79.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7863, allocations: 3.953 kB / 376.2 MB, free: 79.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.7864, allocations: 1.094 kB / 376.2 MB, free: 79.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.7881, allocations: 0.9186 MB / 377.1 MB, free: 78.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.7882, allocations: 6.938 kB / 377.1 MB, free: 78.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/0.7887, allocations: 62.97 kB / 377.2 MB, free: 78.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.7888, allocations: 22.92 kB / 377.2 MB, free: 78.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.7889, allocations: 3.812 kB / 377.2 MB, free: 78.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007807/0.7896, allocations: 1.228 MB / 378.4 MB, free: 77.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7897, allocations: 0 / 378.4 MB, free: 77.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/0.7905, allocations: 0.5575 MB / 379 MB, free: 77.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.7908, allocations: 155.4 kB / 379.2 MB, free: 77.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.7909, allocations: 11.09 kB / 379.2 MB, free: 77.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/0.7915, allocations: 18.31 kB / 379.2 MB, free: 77.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.872e-05/0.7916, allocations: 31.56 kB / 379.2 MB, free: 77.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.7916, allocations: 7.75 kB / 379.2 MB, free: 77.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006193/0.7922, allocations: 394 kB / 379.6 MB, free: 77.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7922, allocations: 0 / 379.6 MB, free: 77.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009679/0.7932, allocations: 154 kB / 379.8 MB, free: 77.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 (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.001367/0.7946, allocations: 1.726 MB / 381.5 MB, free: 75.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008494/0.7955, allocations: 381.5 kB / 381.9 MB, free: 75.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7955, allocations: 3.531 kB / 381.9 MB, free: 75.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.7958, allocations: 217.3 kB / 382.1 MB, free: 75.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.7971, allocations: 151 kB / 382.2 MB, free: 75.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.8001, allocations: 1.116 MB / 383.3 MB, free: 75.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.8005, allocations: 0.9554 MB / 384.3 MB, free: 74.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005508/0.8011, allocations: 87.05 kB / 384.4 MB, free: 74.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004424/0.8016, allocations: 297.8 kB / 384.7 MB, free: 74.33 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.8016, allocations: 0 / 384.7 MB, free: 74.33 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06959/0.8712, allocations: 13.16 MB / 397.8 MB, free: 72.99 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.8714, allocations: 148.5 kB / 398 MB, free: 72.8 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.984/3.855, allocations: 4 kB / 398 MB, free: 72.79 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_Start_res.mat does not exist to compare? outputFormat=mat