Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.107/2.107, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.194e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3434, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.5048, allocations: 92.44 MB / 386.6 MB, free: 5.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.5052, allocations: 83.95 kB / 386.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1196/0.6249, allocations: 27.68 MB / 414.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6249, allocations: 4 kB / 414.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.275e-05/0.625, allocations: 20 kB / 414.4 MB, free: 9.539 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002841/0.6279, allocations: 1.114 MB / 415.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.6279, allocations: 12.03 kB / 415.6 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.629, allocations: 190.4 kB / 415.7 MB, free: 8.176 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/0.6314, allocations: 0.7931 MB / 416.5 MB, free: 7.344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.833e-05/0.6315, allocations: 36 kB / 416.6 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.6317, allocations: 59.91 kB / 416.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001714/0.6334, allocations: 0.5312 MB / 417.2 MB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.6354, allocations: 0.7513 MB / 417.9 MB, free: 5.938 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.848e-05/0.6355, allocations: 4 kB / 417.9 MB, free: 5.934 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-05/0.6356, allocations: 3.938 kB / 417.9 MB, free: 5.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/0.6357, allocations: 27.98 kB / 417.9 MB, free: 5.902 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008214/0.6439, allocations: 3.734 MB / 421.7 MB, free: 1.957 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008872/0.6448, allocations: 411.9 kB / 422.1 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007181/0.6456, allocations: 234.8 kB / 422.3 MB, free: 1.297 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-05/0.6456, allocations: 7.984 kB / 422.3 MB, free: 1.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.6457, allocations: 42.56 kB / 422.4 MB, free: 1.238 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.496e-06/0.6457, allocations: 3.938 kB / 422.4 MB, free: 1.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.003087/0.6488, allocations: 1.096 MB / 423.5 MB, free: 80 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2494/0.8983, allocations: 81.55 kB / 423.5 MB, free: 97.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.9, allocations: 0.5689 MB / 424.1 MB, free: 97.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.9002, allocations: 26.2 kB / 424.1 MB, free: 97.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004818/0.9007, allocations: 0.5845 MB / 424.7 MB, free: 97.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.9009, allocations: 158.4 kB / 424.9 MB, free: 96.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.901, allocations: 0 / 424.9 MB, free: 96.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.9011, allocations: 341.2 kB / 425.2 MB, free: 96.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/0.9015, allocations: 141.3 kB / 425.3 MB, free: 96.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005919/0.9021, allocations: 421.8 kB / 425.8 MB, free: 96.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.9027, allocations: 213.6 kB / 426 MB, free: 96.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.9027, allocations: 4.125 kB / 426 MB, free: 96.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001693/0.9044, allocations: 0.6214 MB / 426.6 MB, free: 96.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.9045, allocations: 10.56 kB / 426.6 MB, free: 96.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.9045, allocations: 13.52 kB / 426.6 MB, free: 96.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/0.905, allocations: 94.16 kB / 426.7 MB, free: 96.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.9061, allocations: 154.6 kB / 426.9 MB, free: 96.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/0.909, allocations: 2.878 MB / 429.7 MB, free: 93.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.9101, allocations: 25.03 kB / 429.8 MB, free: 93.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/0.9102, allocations: 39.7 kB / 429.8 MB, free: 93.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001922/0.9104, allocations: 131.5 kB / 429.9 MB, free: 93.65 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001133/0.9115, allocations: 429.8 kB / 430.4 MB, free: 93.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.9117, allocations: 84.22 kB / 430.4 MB, free: 93.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.913, allocations: 437.7 kB / 430.9 MB, free: 93.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.913, allocations: 4.719 kB / 430.9 MB, free: 93.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.913, allocations: 1.344 kB / 430.9 MB, free: 93.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.9131, allocations: 13.06 kB / 430.9 MB, free: 93.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/0.916, allocations: 1.264 MB / 432.1 MB, free: 93.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.916, allocations: 2.406 kB / 432.1 MB, free: 93.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.9167, allocations: 81.91 kB / 432.2 MB, free: 93.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.9171, allocations: 80.69 kB / 432.3 MB, free: 93.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.9171, allocations: 2.625 kB / 432.3 MB, free: 93.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002754/0.9199, allocations: 2.866 MB / 435.2 MB, free: 90.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/0.92, allocations: 1.406 kB / 435.2 MB, free: 90.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.9217, allocations: 0.8072 MB / 436 MB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/0.9223, allocations: 185.4 kB / 436.2 MB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.9224, allocations: 7.344 kB / 436.2 MB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/0.9232, allocations: 21.72 kB / 436.2 MB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.9233, allocations: 46.14 kB / 436.2 MB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.9234, allocations: 13.75 kB / 436.2 MB, free: 90.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009031/0.9243, allocations: 439.1 kB / 436.7 MB, free: 89.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.9243, allocations: 0 / 436.7 MB, free: 89.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001614/0.9259, allocations: 193.5 kB / 436.9 MB, free: 89.97 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002512/0.9285, allocations: 1.997 MB / 438.9 MB, free: 88.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.9301, allocations: 0.6299 MB / 439.5 MB, free: 88.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.9302, allocations: 4.688 kB / 439.5 MB, free: 88.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008789/0.9311, allocations: 407.6 kB / 439.9 MB, free: 88.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.9328, allocations: 177.5 kB / 440.1 MB, free: 88.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004648/0.9374, allocations: 1.4 MB / 441.5 MB, free: 87.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.9381, allocations: 1.023 MB / 442.5 MB, free: 86.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006916/0.9388, allocations: 381.5 kB / 442.9 MB, free: 86.89 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.9388, allocations: 0 / 442.9 MB, free: 86.89 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.239/4.178, allocations: 24.54 MB / 467.4 MB, free: 78.46 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat does not exist to compare? outputFormat=mat