Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.246/2.246, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.815e-05, allocations: 2.75 kB / 249.8 MB, free: 5.262 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 44.5 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4787/0.5824, allocations: 92.44 MB / 386.7 MB, free: 4.453 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.5827, allocations: 81.45 kB / 386.8 MB, free: 4.441 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1278/0.7106, allocations: 27.68 MB / 414.5 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7106, allocations: 0.6562 kB / 414.5 MB, free: 6.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.877e-05/0.7107, allocations: 20 kB / 414.5 MB, free: 6.16 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.003379/0.7141, allocations: 1.123 MB / 415.6 MB, free: 5.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.7142, allocations: 8.031 kB / 415.7 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.7157, allocations: 190.4 kB / 415.8 MB, free: 4.867 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.7183, allocations: 0.7942 MB / 416.6 MB, free: 4.219 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.7184, allocations: 28 kB / 416.7 MB, free: 4.191 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.7187, allocations: 67.41 kB / 416.7 MB, free: 4.129 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001866/0.7205, allocations: 0.5287 MB / 417.3 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.7228, allocations: 0.7529 MB / 418 MB, free: 3.254 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.036e-05/0.7229, allocations: 0 / 418 MB, free: 3.254 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.723, allocations: 8 kB / 418 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.7231, allocations: 24 kB / 418 MB, free: 3.223 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008608/0.7317, allocations: 3.728 MB / 421.8 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009594/0.7327, allocations: 414.4 kB / 422.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008201/0.7335, allocations: 240 kB / 422.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.589e-05/0.7336, allocations: 11.27 kB / 422.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.7336, allocations: 34.12 kB / 422.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 4.138e-06/0.7337, allocations: 3.938 kB / 422.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.003334/0.737, allocations: 1.103 MB / 423.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.7371, allocations: 85.55 kB / 423.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.7384, allocations: 0.5755 MB / 424.2 MB, free: 14.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.7385, allocations: 33.7 kB / 424.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005749/0.7391, allocations: 0.5553 MB / 424.8 MB, free: 13.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.7393, allocations: 163.8 kB / 425 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.7393, allocations: 3.938 kB / 425 MB, free: 13.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002597/0.7396, allocations: 385.8 kB / 425.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.74, allocations: 136.8 kB / 425.5 MB, free: 13.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007015/0.7407, allocations: 424.6 kB / 425.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006006/0.7414, allocations: 216.7 kB / 426.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.7414, allocations: 4 kB / 426.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002593/0.744, allocations: 0.6664 MB / 426.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.483e-05/0.744, allocations: 10.19 kB / 426.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.7441, allocations: 12 kB / 426.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005066/0.7446, allocations: 87.67 kB / 426.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.7458, allocations: 166.8 kB / 427 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/0.7496, allocations: 2.873 MB / 429.9 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.7508, allocations: 27.95 kB / 429.9 MB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.149e-05/0.7509, allocations: 32.75 kB / 430 MB, free: 8.711 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.0002729/0.7512, allocations: 139.5 kB / 430.1 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00192/0.7531, allocations: 425.5 kB / 430.5 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.7534, allocations: 79.06 kB / 430.6 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.7548, allocations: 455.2 kB / 431.1 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.7548, allocations: 4 kB / 431.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7548, allocations: 0 / 431.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.7549, allocations: 48 / 431.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/0.7583, allocations: 1.264 MB / 432.3 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.7583, allocations: 4 kB / 432.3 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/0.759, allocations: 71.89 kB / 432.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004487/0.7595, allocations: 89.91 kB / 432.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.773e-05/0.7596, allocations: 7.938 kB / 432.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003775/0.7634, allocations: 2.867 MB / 435.4 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7634, allocations: 0 / 435.4 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.7654, allocations: 0.8089 MB / 436.2 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.7659, allocations: 184.2 kB / 436.3 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.7661, allocations: 4.094 kB / 436.3 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007905/0.7669, allocations: 31.88 kB / 436.4 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.7671, allocations: 43.88 kB / 436.4 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.7671, allocations: 8 kB / 436.4 MB, free: 2.109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001038/0.7682, allocations: 447.2 kB / 436.9 MB, free: 1.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.7682, allocations: 0 / 436.9 MB, free: 1.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001651/0.7699, allocations: 192 kB / 437.1 MB, free: 1.492 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.003054/0.773, allocations: 1.992 MB / 439 MB, free: 15.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.7748, allocations: 0.6293 MB / 439.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.7748, allocations: 2 kB / 439.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.7759, allocations: 411.8 kB / 440.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.7777, allocations: 179.1 kB / 440.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005015/0.7827, allocations: 1.36 MB / 441.6 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009637/0.7837, allocations: 1.024 MB / 442.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008556/0.7846, allocations: 98.77 kB / 442.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008161/0.7854, allocations: 371.3 kB / 443.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7854, allocations: 0 / 443.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08846/0.8739, allocations: 16.27 MB / 459.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000377/0.8744, allocations: 166.3 kB / 459.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.643/4.517, allocations: 0 / 459.5 MB, free: 10.84 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.DCSE_Start_res.mat does not exist to compare? outputFormat=mat