Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.027/2.027, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.37e-05, allocations: 0 / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4408/0.5427, allocations: 97.45 MB / 414.5 MB, free: 6.559 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.543, allocations: 80.89 kB / 414.6 MB, free: 6.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1233/0.6664, allocations: 28.16 MB / 442.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6664, allocations: 0 / 442.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.655e-05/0.6665, allocations: 24 kB / 442.7 MB, free: 14.72 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.002815/0.6693, allocations: 1.102 MB / 443.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.6694, allocations: 15.97 kB / 443.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003087/0.6697, allocations: 145.3 kB / 444 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.6708, allocations: 190.4 kB / 444.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.6731, allocations: 0.7921 MB / 445 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.949e-05/0.6732, allocations: 70.25 kB / 445 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.6734, allocations: 105.7 kB / 445.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.6756, allocations: 0.879 MB / 446 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.968e-05/0.6757, allocations: 11.97 kB / 446 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.6758, allocations: 40.81 kB / 446.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.6759, allocations: 24 kB / 446.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.6776, allocations: 0.5778 MB / 446.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008089/0.6857, allocations: 3.911 MB / 450.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009053/0.6867, allocations: 425.4 kB / 451 MB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007562/0.6874, allocations: 251.5 kB / 451.3 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.821e-05/0.6875, allocations: 5.125 kB / 451.3 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.6875, allocations: 41.78 kB / 451.3 MB, free: 7.742 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.016e-06/0.6876, allocations: 0 / 451.3 MB, free: 7.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.003226/0.6908, allocations: 1.183 MB / 452.5 MB, free: 6.727 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.6909, allocations: 85.48 kB / 452.6 MB, free: 6.625 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.6924, allocations: 0.6924 MB / 453.3 MB, free: 6.109 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/0.6924, allocations: 33.02 kB / 453.3 MB, free: 6.074 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004982/0.693, allocations: 0.5546 MB / 453.8 MB, free: 5.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.6932, allocations: 175.2 kB / 454 MB, free: 5.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.6932, allocations: 14.5 kB / 454 MB, free: 5.516 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6934, allocations: 334.3 kB / 454.4 MB, free: 5.195 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.6938, allocations: 152.5 kB / 454.5 MB, free: 5.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.6945, allocations: 444.1 kB / 454.9 MB, free: 4.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005861/0.6951, allocations: 238.4 kB / 455.2 MB, free: 4.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.6951, allocations: 0 / 455.2 MB, free: 4.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001997/0.6971, allocations: 0.7254 MB / 455.9 MB, free: 3.766 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.6972, allocations: 12 kB / 455.9 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/0.6972, allocations: 15.97 kB / 455.9 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004762/0.6977, allocations: 101.9 kB / 456 MB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009974/0.6987, allocations: 155.7 kB / 456.2 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/0.7023, allocations: 2.993 MB / 459.2 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.7035, allocations: 39.95 kB / 459.2 MB, free: 188 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-05/0.7036, allocations: 36 kB / 459.2 MB, free: 152 kB / 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.0002457/0.7038, allocations: 148.9 kB / 459.4 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.704, allocations: 86.97 kB / 459.5 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.7055, allocations: 494.5 kB / 460 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.7055, allocations: 8 kB / 460 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.7055, allocations: 3.984 kB / 460 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.7055, allocations: 4 kB / 460 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/0.7087, allocations: 1.423 MB / 461.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.7088, allocations: 0 / 461.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/0.7094, allocations: 75.89 kB / 461.5 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004038/0.7098, allocations: 89.81 kB / 461.6 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.7099, allocations: 12 kB / 461.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003406/0.7133, allocations: 2.97 MB / 464.5 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.7133, allocations: 4.031 kB / 464.5 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.7152, allocations: 0.8478 MB / 465.4 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004451/0.7157, allocations: 196 kB / 465.6 MB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.7159, allocations: 15.89 kB / 465.6 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007689/0.7166, allocations: 31.98 kB / 465.6 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.7168, allocations: 39.89 kB / 465.7 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/0.7168, allocations: 15.98 kB / 465.7 MB, free: 9.211 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00111/0.718, allocations: 0.5226 MB / 466.2 MB, free: 8.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.718, allocations: 0 / 466.2 MB, free: 8.691 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001341/0.7193, allocations: 244 kB / 466.4 MB, free: 8.453 MB / 378.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.00276/0.7221, allocations: 2.096 MB / 468.5 MB, free: 6.285 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.7237, allocations: 0.6332 MB / 469.2 MB, free: 5.629 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7237, allocations: 0 / 469.2 MB, free: 5.629 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009362/0.7246, allocations: 437.1 kB / 469.6 MB, free: 5.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.7263, allocations: 199.8 kB / 469.8 MB, free: 4.988 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.7308, allocations: 1.417 MB / 471.2 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008619/0.7317, allocations: 1.028 MB / 472.2 MB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007582/0.7324, allocations: 111.3 kB / 472.4 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006987/0.7332, allocations: 375.3 kB / 472.7 MB, free: 1.973 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7332, allocations: 4 kB / 472.7 MB, free: 1.969 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06728/0.8005, allocations: 20.58 MB / 493.3 MB, free: 13.45 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/0.8008, allocations: 188.4 kB / 493.5 MB, free: 13.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.518/4.318, allocations: 0 / 493.5 MB, free: 13.22 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat does not exist to compare? outputFormat=mat