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 1.958/1.958, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.748e-05, allocations: 7.984 kB / 255.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 44.51 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4634/0.5674, allocations: 93.11 MB / 393 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.5677, allocations: 83.58 kB / 393.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1314/0.6991, allocations: 28.08 MB / 421.2 MB, free: 3.812 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.6991, allocations: 0 / 421.2 MB, free: 3.812 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001225/0.6993, allocations: 21.78 kB / 421.2 MB, free: 3.812 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003122/0.7024, allocations: 1.123 MB / 422.4 MB, free: 3.031 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.7025, allocations: 11.34 kB / 422.4 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002433/0.7027, allocations: 144.5 kB / 422.5 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.704, allocations: 190.5 kB / 422.7 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003587/0.7077, allocations: 0.7946 MB / 423.5 MB, free: 2.449 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.7078, allocations: 74.62 kB / 423.6 MB, free: 2.449 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.7082, allocations: 99.53 kB / 423.7 MB, free: 2.445 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/0.7118, allocations: 0.8842 MB / 424.5 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-05/0.712, allocations: 7.75 kB / 424.5 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.7122, allocations: 44.38 kB / 424.6 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/0.7122, allocations: 26.75 kB / 424.6 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/0.715, allocations: 0.5948 MB / 425.2 MB, free: 2.199 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.7267, allocations: 3.914 MB / 429.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.7278, allocations: 428.8 kB / 429.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006932/0.7285, allocations: 241.9 kB / 429.8 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.176e-05/0.7286, allocations: 3.188 kB / 429.8 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.7286, allocations: 41.55 kB / 429.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 3.086e-06/0.7286, allocations: 0 / 429.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.003162/0.7318, allocations: 1.203 MB / 431 MB, free: 15.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.7319, allocations: 81.42 kB / 431.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.7332, allocations: 0.6916 MB / 431.8 MB, free: 14.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.7333, allocations: 35.45 kB / 431.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/0.7338, allocations: 0.5607 MB / 432.4 MB, free: 14.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.734, allocations: 166.3 kB / 432.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.734, allocations: 10.69 kB / 432.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.7342, allocations: 342.8 kB / 432.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.7346, allocations: 154.9 kB / 433.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006177/0.7352, allocations: 442.4 kB / 433.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.7358, allocations: 226.2 kB / 433.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.7358, allocations: 3.75 kB / 433.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001633/0.7374, allocations: 0.714 MB / 434.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.7375, allocations: 11.69 kB / 434.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.7375, allocations: 15.41 kB / 434.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004377/0.738, allocations: 96.44 kB / 434.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009361/0.7389, allocations: 152.4 kB / 434.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003387/0.7423, allocations: 2.995 MB / 437.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.7435, allocations: 40.02 kB / 437.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/0.7436, allocations: 33.03 kB / 437.8 MB, free: 10.48 MB / 330.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.0002151/0.7438, allocations: 151.4 kB / 437.9 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.744, allocations: 90.42 kB / 438 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.7455, allocations: 497.5 kB / 438.5 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.7456, allocations: 4 kB / 438.5 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.7456, allocations: 4 kB / 438.5 MB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.7456, allocations: 3.984 kB / 438.5 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.7492, allocations: 1.427 MB / 439.9 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7492, allocations: 0 / 439.9 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/0.7498, allocations: 73.59 kB / 440 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004016/0.7503, allocations: 86.36 kB / 440.1 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.7503, allocations: 14.31 kB / 440.1 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003423/0.7538, allocations: 2.965 MB / 443.1 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.7538, allocations: 7.969 kB / 443.1 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.7558, allocations: 0.8468 MB / 443.9 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004416/0.7562, allocations: 198.5 kB / 444.1 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.7564, allocations: 13.55 kB / 444.1 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007447/0.7571, allocations: 39.53 kB / 444.2 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.7573, allocations: 36.52 kB / 444.2 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.7573, allocations: 10.5 kB / 444.2 MB, free: 4.668 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001137/0.7585, allocations: 0.5335 MB / 444.7 MB, free: 4.281 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7585, allocations: 0 / 444.7 MB, free: 4.281 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001415/0.7599, allocations: 245.6 kB / 445 MB, free: 4.066 MB / 330.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.002889/0.7628, allocations: 2.078 MB / 447.1 MB, free: 1.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.7645, allocations: 0.6843 MB / 447.7 MB, free: 1.273 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.7646, allocations: 0 / 447.7 MB, free: 1.273 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009306/0.7655, allocations: 445.2 kB / 448.2 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.7672, allocations: 203.8 kB / 448.4 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.7716, allocations: 1.458 MB / 449.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000831/0.7725, allocations: 1.032 MB / 450.9 MB, free: 14.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007513/0.7733, allocations: 379.3 kB / 451.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7733, allocations: 0 / 451.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.883/3.656, allocations: 25.37 MB / 476.6 MB, free: 4.281 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