Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.812/1.812, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.378e-05, allocations: 0 / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09447, allocations: 44.5 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.5416, allocations: 93.1 MB / 393.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.542, allocations: 85.52 kB / 393.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1056/0.6476, allocations: 28.09 MB / 421.3 MB, free: 3.324 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6477, allocations: 0 / 421.3 MB, free: 3.324 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.899e-05/0.6477, allocations: 19.38 kB / 421.3 MB, free: 3.324 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.002369/0.6501, allocations: 1.118 MB / 422.4 MB, free: 2.547 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.6502, allocations: 7.75 kB / 422.4 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002301/0.6504, allocations: 152.7 kB / 422.6 MB, free: 2.484 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009256/0.6514, allocations: 189.6 kB / 422.7 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.6533, allocations: 0.7892 MB / 423.5 MB, free: 1.965 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/0.6534, allocations: 76.47 kB / 423.6 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.6536, allocations: 100.2 kB / 423.7 MB, free: 1.957 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.6556, allocations: 0.8766 MB / 424.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.702e-05/0.6557, allocations: 3.969 kB / 424.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.6558, allocations: 44.84 kB / 424.6 MB, free: 1.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.6558, allocations: 26.84 kB / 424.7 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.6573, allocations: 0.5743 MB / 425.2 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006969/0.6643, allocations: 3.921 MB / 429.2 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008589/0.6652, allocations: 431.9 kB / 429.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/0.6659, allocations: 245.9 kB / 429.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.5e-05/0.666, allocations: 6.844 kB / 429.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.666, allocations: 38.48 kB / 429.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 3.046e-06/0.666, allocations: 3.875 kB / 429.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.002971/0.669, allocations: 1.181 MB / 431 MB, free: 14.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.6691, allocations: 85.41 kB / 431.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.6704, allocations: 0.6895 MB / 431.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.874e-05/0.6705, allocations: 35.7 kB / 431.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/0.671, allocations: 0.5587 MB / 432.4 MB, free: 13.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.6711, allocations: 165.4 kB / 432.6 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.6712, allocations: 15.44 kB / 432.6 MB, free: 13.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6713, allocations: 333.1 kB / 432.9 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/0.6717, allocations: 145.7 kB / 433.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/0.6724, allocations: 441.5 kB / 433.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/0.6729, allocations: 237.6 kB / 433.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.6729, allocations: 0 / 433.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001775/0.6747, allocations: 0.7298 MB / 434.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.6748, allocations: 11.66 kB / 434.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.6748, allocations: 11.66 kB / 434.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004323/0.6752, allocations: 101.7 kB / 434.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009281/0.6762, allocations: 153.4 kB / 434.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003233/0.6794, allocations: 2.992 MB / 437.7 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.6804, allocations: 42.77 kB / 437.8 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.226e-05/0.6805, allocations: 38.98 kB / 437.8 MB, free: 9.852 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.0002012/0.6807, allocations: 152.5 kB / 437.9 MB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.6809, allocations: 86.92 kB / 438 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.6823, allocations: 496.1 kB / 438.5 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.6823, allocations: 4 kB / 438.5 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.6823, allocations: 4 kB / 438.5 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.6824, allocations: 3.938 kB / 438.5 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/0.6853, allocations: 1.421 MB / 439.9 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.6853, allocations: 4 kB / 439.9 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006156/0.686, allocations: 75.52 kB / 440 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003862/0.6864, allocations: 87.64 kB / 440.1 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.6864, allocations: 7.375 kB / 440.1 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003211/0.6896, allocations: 2.973 MB / 443.1 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6897, allocations: 0 / 443.1 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.6916, allocations: 0.8531 MB / 443.9 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/0.6921, allocations: 193 kB / 444.1 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.6923, allocations: 10.38 kB / 444.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007542/0.693, allocations: 33.92 kB / 444.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.6932, allocations: 35.19 kB / 444.2 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.6932, allocations: 15.38 kB / 444.2 MB, free: 4.027 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001107/0.6943, allocations: 0.5208 MB / 444.7 MB, free: 3.652 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6943, allocations: 0 / 444.7 MB, free: 3.652 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001415/0.6958, allocations: 254.9 kB / 445 MB, free: 3.43 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.002701/0.6985, allocations: 2.09 MB / 447.1 MB, free: 1.484 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.7001, allocations: 0.6407 MB / 447.7 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.7001, allocations: 2 kB / 447.7 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008907/0.701, allocations: 428 kB / 448.1 MB, free: 472 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.7027, allocations: 199.4 kB / 448.3 MB, free: 276 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/0.707, allocations: 1.425 MB / 449.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007828/0.7079, allocations: 1.036 MB / 450.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007582/0.7086, allocations: 107.3 kB / 450.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006745/0.7093, allocations: 371.3 kB / 451.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of SimCode: time 2.936e-06/0.7093, allocations: 4 kB / 451.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07146/0.7808, allocations: 20.59 MB / 471.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003438/0.7812, allocations: 188.4 kB / 472 MB, free: 8.465 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/4.051, allocations: 3.938 kB / 472 MB, free: 8.461 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat does not exist to compare? outputFormat=mat