Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.117/2.117, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.46e-05/4.464e-05, allocations: 4 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 47.57 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4596/0.5656, allocations: 97.01 MB / 414 MB, free: 7.344 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/0.566, allocations: 82 kB / 414.1 MB, free: 7.301 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.117/0.6831, allocations: 26.23 MB / 440.3 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6831, allocations: 0 / 440.3 MB, free: 1.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.712e-05/0.6832, allocations: 27.94 kB / 440.4 MB, free: 1.137 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003336/0.6866, allocations: 1.097 MB / 441.5 MB, free: 64 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.6867, allocations: 8.031 kB / 441.5 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004571/0.6871, allocations: 150.8 kB / 441.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000956/0.6881, allocations: 174.4 kB / 441.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.6907, allocations: 0.7699 MB / 442.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-05/0.6908, allocations: 74.31 kB / 442.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.6911, allocations: 96.56 kB / 442.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.6934, allocations: 0.8651 MB / 443.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.022e-05/0.6934, allocations: 7.891 kB / 443.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.6936, allocations: 40.44 kB / 443.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/0.6936, allocations: 24 kB / 443.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.6953, allocations: 0.5584 MB / 444.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008007/0.7033, allocations: 3.954 MB / 448.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007568/0.7041, allocations: 318.4 kB / 448.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.7044, allocations: 134.5 kB / 448.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/0.7045, allocations: 4.281 kB / 448.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.7045, allocations: 34.72 kB / 448.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 3.818e-06/0.7045, allocations: 0 / 448.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002616/0.7072, allocations: 0.9524 MB / 449.6 MB, free: 9.449 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.7073, allocations: 81.11 kB / 449.7 MB, free: 9.352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.7088, allocations: 0.6818 MB / 450.4 MB, free: 8.844 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.571e-05/0.7089, allocations: 33.27 kB / 450.4 MB, free: 8.809 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005205/0.7094, allocations: 0.5676 MB / 451 MB, free: 8.391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.7096, allocations: 134.1 kB / 451.1 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.7097, allocations: 14.06 kB / 451.1 MB, free: 8.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7098, allocations: 331.6 kB / 451.4 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.7102, allocations: 130.2 kB / 451.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005971/0.7108, allocations: 432.2 kB / 452 MB, free: 7.375 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/0.7113, allocations: 200.8 kB / 452.2 MB, free: 7.238 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.7113, allocations: 4 kB / 452.2 MB, free: 7.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001609/0.713, allocations: 0.6221 MB / 452.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.713, allocations: 8 kB / 452.8 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.713, allocations: 12 kB / 452.8 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/0.7133, allocations: 37 kB / 452.9 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.7143, allocations: 170.9 kB / 453 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.7157, allocations: 1.284 MB / 454.3 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.7167, allocations: 38.58 kB / 454.4 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.7168, allocations: 34.94 kB / 454.4 MB, free: 5.078 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.7171, allocations: 150.5 kB / 454.5 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.7173, allocations: 86.92 kB / 454.6 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009723/0.7182, allocations: 347.8 kB / 455 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.7183, allocations: 7.938 kB / 455 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7183, allocations: 0 / 455 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.7183, allocations: 0 / 455 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/0.721, allocations: 1.203 MB / 456.2 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.7211, allocations: 0 / 456.2 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/0.7218, allocations: 75.91 kB / 456.3 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001468/0.7219, allocations: 33 kB / 456.3 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.722, allocations: 11.95 kB / 456.3 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.7232, allocations: 1.276 MB / 457.6 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7232, allocations: 0 / 457.6 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.7246, allocations: 0.6736 MB / 458.2 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004766/0.7251, allocations: 184 kB / 458.4 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.7253, allocations: 11.98 kB / 458.4 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.726, allocations: 31.92 kB / 458.5 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.7261, allocations: 27.97 kB / 458.5 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.7262, allocations: 15.95 kB / 458.5 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001188/0.7274, allocations: 0.5187 MB / 459 MB, free: 252 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7274, allocations: 0 / 459 MB, free: 252 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001342/0.7288, allocations: 227.9 kB / 459.3 MB, free: 24 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002534/0.7313, allocations: 1.894 MB / 461.1 MB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.7326, allocations: 450.6 kB / 461.6 MB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.7326, allocations: 0 / 461.6 MB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005265/0.7332, allocations: 243.6 kB / 461.8 MB, free: 13.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.7351, allocations: 199.7 kB / 462 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/0.7402, allocations: 1.405 MB / 463.4 MB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008791/0.7411, allocations: 1.012 MB / 464.4 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008132/0.742, allocations: 107 kB / 464.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007915/0.7428, allocations: 363.3 kB / 464.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.432e-06/0.7428, allocations: 0 / 464.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08633/0.8292, allocations: 19.3 MB / 484.2 MB, free: 6.973 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002999/0.8295, allocations: 184.3 kB / 484.4 MB, free: 6.746 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.38/4.21, allocations: 8 kB / 484.4 MB, free: 6.738 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat