Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.417/2.417, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.539e-05/2.537e-05, allocations: 0 / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3444, allocations: 44.5 MB / 294.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.539, allocations: 92.01 MB / 386.3 MB, free: 5.754 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/0.5394, allocations: 79.95 kB / 386.4 MB, free: 5.676 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1331/0.6726, allocations: 25.79 MB / 412.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6726, allocations: 0 / 412.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.659e-05/0.6728, allocations: 28 kB / 412.2 MB, free: 11.7 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003246/0.676, allocations: 1.091 MB / 413.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.49e-05/0.6761, allocations: 8.688 kB / 413.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.6772, allocations: 182.3 kB / 413.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.6798, allocations: 0.7652 MB / 414.2 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.078e-05/0.6799, allocations: 35.94 kB / 414.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.6802, allocations: 63.98 kB / 414.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00191/0.6821, allocations: 0.5117 MB / 414.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.6845, allocations: 0.7357 MB / 415.6 MB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.492e-05/0.6846, allocations: 7.984 kB / 415.6 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.6847, allocations: 0 / 415.6 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/0.6848, allocations: 24 kB / 415.6 MB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009247/0.694, allocations: 3.755 MB / 419.4 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000787/0.6949, allocations: 320.2 kB / 419.7 MB, free: 3.828 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.6952, allocations: 117.4 kB / 419.8 MB, free: 3.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-05/0.6953, allocations: 8.219 kB / 419.8 MB, free: 3.703 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.6954, allocations: 38.84 kB / 419.8 MB, free: 3.656 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 3.636e-06/0.6954, allocations: 0 / 419.8 MB, free: 3.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002705/0.6981, allocations: 0.8822 MB / 420.7 MB, free: 2.715 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.6982, allocations: 81.11 kB / 420.8 MB, free: 2.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.6996, allocations: 0.5701 MB / 421.4 MB, free: 2.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.6996, allocations: 25.7 kB / 421.4 MB, free: 2.016 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006623/0.7003, allocations: 0.5755 MB / 422 MB, free: 1.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.7005, allocations: 126.1 kB / 422.1 MB, free: 1.305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.7006, allocations: 0 / 422.1 MB, free: 1.305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002549/0.7008, allocations: 382.8 kB / 422.5 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.7012, allocations: 117.6 kB / 422.6 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/0.7019, allocations: 416.3 kB / 423 MB, free: 260 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/0.7025, allocations: 186.9 kB / 423.2 MB, free: 76 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.7025, allocations: 4 kB / 423.2 MB, free: 72 kB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.2892/0.9917, allocations: 0.5504 MB / 423.7 MB, free: 96.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.9918, allocations: 10.81 kB / 423.7 MB, free: 96.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/0.9919, allocations: 10.09 kB / 423.8 MB, free: 96.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/0.9921, allocations: 39.03 kB / 423.8 MB, free: 96.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.9934, allocations: 165.3 kB / 424 MB, free: 96.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.9945, allocations: 1.239 MB / 425.2 MB, free: 95.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.9955, allocations: 26.38 kB / 425.2 MB, free: 95.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/0.9956, allocations: 33.84 kB / 425.3 MB, free: 95.38 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.0001716/0.9958, allocations: 139 kB / 425.4 MB, free: 95.27 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008236/0.9966, allocations: 306 kB / 425.7 MB, free: 95.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.9968, allocations: 74.89 kB / 425.8 MB, free: 95.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008894/0.9977, allocations: 309.8 kB / 426.1 MB, free: 95.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.9978, allocations: 7.438 kB / 426.1 MB, free: 95.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.9978, allocations: 0 / 426.1 MB, free: 95.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.9978, allocations: 7.922 kB / 426.1 MB, free: 95.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/1, allocations: 1.056 MB / 427.1 MB, free: 94.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1, allocations: 1.469 kB / 427.1 MB, free: 94.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000738/1.001, allocations: 80.39 kB / 427.2 MB, free: 94.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/1.001, allocations: 22.3 kB / 427.2 MB, free: 94.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/1.001, allocations: 5.938 kB / 427.2 MB, free: 94.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009396/1.002, allocations: 1.226 MB / 428.5 MB, free: 93.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/1.002, allocations: 2.156 kB / 428.5 MB, free: 93.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/1.003, allocations: 0.6398 MB / 429.1 MB, free: 93.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/1.004, allocations: 177.9 kB / 429.3 MB, free: 93.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/1.004, allocations: 3.344 kB / 429.3 MB, free: 93.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006934/1.005, allocations: 20.89 kB / 429.3 MB, free: 93.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.005, allocations: 35.78 kB / 429.3 MB, free: 93.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/1.005, allocations: 14.88 kB / 429.4 MB, free: 93.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000902/1.006, allocations: 433.4 kB / 429.8 MB, free: 93.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.006, allocations: 0 / 429.8 MB, free: 93.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001295/1.007, allocations: 181.2 kB / 430 MB, free: 93.06 MB / 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.001864/1.009, allocations: 1.82 MB / 431.8 MB, free: 91.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00119/1.01, allocations: 434.8 kB / 432.2 MB, free: 91.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.01, allocations: 1.25 kB / 432.2 MB, free: 91.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004787/1.011, allocations: 235.6 kB / 432.4 MB, free: 91.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/1.012, allocations: 163.7 kB / 432.6 MB, free: 91.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/1.017, allocations: 1.35 MB / 433.9 MB, free: 90.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/1.018, allocations: 1.017 MB / 435 MB, free: 90.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007742/1.018, allocations: 103.6 kB / 435.1 MB, free: 90.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006289/1.019, allocations: 364.9 kB / 435.4 MB, free: 90.24 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/1.019, allocations: 0 / 435.4 MB, free: 90.24 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0755/1.095, allocations: 15.03 MB / 450.4 MB, free: 89.22 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002581/1.095, allocations: 165.7 kB / 450.6 MB, free: 89.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.442/4.537, allocations: 0 / 450.6 MB, free: 89.02 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.DCEE_Start_res.mat does not exist to compare? outputFormat=mat