Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.766/1.766, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.437e-05/3.465e-05, allocations: 4 kB / 225.1 MB, free: 2.203 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2679, allocations: 38.77 MB / 263.9 MB, free: 9.797 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.4228, allocations: 88 MB / 351.9 MB, free: 1.664 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.4232, allocations: 83.95 kB / 351.9 MB, free: 1.582 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3716/0.7949, allocations: 28.21 MB / 380.2 MB, free: 84.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.7949, allocations: 3.469 kB / 380.2 MB, free: 84.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001178/0.7951, allocations: 18.38 kB / 380.2 MB, free: 84.25 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.003895/0.799, allocations: 1.115 MB / 381.3 MB, free: 83.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.7991, allocations: 7.844 kB / 381.3 MB, free: 83.6 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004868/0.7996, allocations: 148.8 kB / 381.4 MB, free: 83.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.8011, allocations: 187.7 kB / 381.6 MB, free: 83.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003088/0.8043, allocations: 0.7914 MB / 382.4 MB, free: 83.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.025e-05/0.8044, allocations: 73.34 kB / 382.5 MB, free: 83.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.8047, allocations: 102.6 kB / 382.6 MB, free: 83.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/0.8076, allocations: 0.8978 MB / 383.5 MB, free: 82.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.348e-05/0.8078, allocations: 0 / 383.5 MB, free: 82.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.8079, allocations: 42.59 kB / 383.5 MB, free: 82.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.808, allocations: 28.41 kB / 383.6 MB, free: 82.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/0.8103, allocations: 0.5867 MB / 384.1 MB, free: 82.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/0.8284, allocations: 3.914 MB / 388.1 MB, free: 80.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.8296, allocations: 430.8 kB / 388.5 MB, free: 79.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009321/0.8306, allocations: 243.8 kB / 388.7 MB, free: 79.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-05/0.8307, allocations: 7.125 kB / 388.7 MB, free: 79.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.8307, allocations: 35.25 kB / 388.8 MB, free: 79.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 4.098e-06/0.8307, allocations: 0 / 388.8 MB, free: 79.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.01259/0.8433, allocations: 1.21 MB / 390 MB, free: 78.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.8434, allocations: 80.73 kB / 390 MB, free: 78.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.8452, allocations: 0.6918 MB / 390.7 MB, free: 78.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.188e-05/0.8489, allocations: 33.7 kB / 390.8 MB, free: 78.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005742/0.8495, allocations: 0.5565 MB / 391.3 MB, free: 78.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.8497, allocations: 172.9 kB / 391.5 MB, free: 77.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.8498, allocations: 15.44 kB / 391.5 MB, free: 77.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.8499, allocations: 331.9 kB / 391.8 MB, free: 77.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005565/0.8504, allocations: 149 kB / 392 MB, free: 77.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000739/0.8512, allocations: 443.8 kB / 392.4 MB, free: 77.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007376/0.852, allocations: 240.8 kB / 392.7 MB, free: 76.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.852, allocations: 3.406 kB / 392.7 MB, free: 76.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00705/0.859, allocations: 0.7521 MB / 393.4 MB, free: 76.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.8591, allocations: 8 kB / 393.4 MB, free: 76.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.8592, allocations: 12 kB / 393.4 MB, free: 76.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/0.8598, allocations: 98.84 kB / 393.5 MB, free: 76.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.8611, allocations: 156.2 kB / 393.7 MB, free: 76.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003679/0.8648, allocations: 3 MB / 396.7 MB, free: 73.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009107/0.8739, allocations: 43.91 kB / 396.7 MB, free: 73.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.8741, allocations: 32 kB / 396.7 MB, free: 73.05 MB / 314.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.0002442/0.8743, allocations: 152.5 kB / 396.9 MB, free: 72.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.8746, allocations: 90.92 kB / 397 MB, free: 72.81 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.8763, allocations: 491.6 kB / 397.5 MB, free: 72.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.8764, allocations: 4 kB / 397.5 MB, free: 72.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.8764, allocations: 4 kB / 397.5 MB, free: 72.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.8764, allocations: 7.5 kB / 397.5 MB, free: 72.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007308/0.8838, allocations: 1.426 MB / 398.9 MB, free: 71.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.8838, allocations: 0 / 398.9 MB, free: 71.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008719/0.8847, allocations: 78.67 kB / 399 MB, free: 71.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003932/0.8851, allocations: 83.95 kB / 399.1 MB, free: 70.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/0.8852, allocations: 12 kB / 399.1 MB, free: 70.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002623/0.8878, allocations: 2.984 MB / 402.1 MB, free: 67.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.8879, allocations: 7.969 kB / 402.1 MB, free: 67.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.8895, allocations: 0.846 MB / 402.9 MB, free: 66.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004266/0.89, allocations: 204.1 kB / 403.1 MB, free: 66.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.8901, allocations: 8 kB / 403.1 MB, free: 66.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007308/0.8909, allocations: 31.52 kB / 403.2 MB, free: 66.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.891, allocations: 36.09 kB / 403.2 MB, free: 66.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.8911, allocations: 15.23 kB / 403.2 MB, free: 66.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009609/0.892, allocations: 0.5231 MB / 403.7 MB, free: 66.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.892, allocations: 0 / 403.7 MB, free: 66.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001335/0.8934, allocations: 247.7 kB / 404 MB, free: 65.88 MB / 314.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.002236/0.8956, allocations: 2.073 MB / 406 MB, free: 63.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.897, allocations: 0.6705 MB / 406.7 MB, free: 63.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.8971, allocations: 0 / 406.7 MB, free: 63.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008019/0.8979, allocations: 449.6 kB / 407.2 MB, free: 62.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.8995, allocations: 201 kB / 407.3 MB, free: 62.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/0.9035, allocations: 1.436 MB / 408.8 MB, free: 61.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.9041, allocations: 1.031 MB / 409.8 MB, free: 60.26 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006843/0.9048, allocations: 106.1 kB / 409.9 MB, free: 60.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005947/0.9054, allocations: 375 kB / 410.3 MB, free: 59.84 MB / 314.7 MB Notification: Performance of SimCode: time 2.435e-06/0.9054, allocations: 0 / 410.3 MB, free: 59.84 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05549/0.9609, allocations: 20.65 MB / 430.9 MB, free: 39.65 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.9611, allocations: 185.3 kB / 431.1 MB, free: 39.42 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.264/4.225, allocations: 0 / 431.1 MB, free: 39.42 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat does not exist to compare? outputFormat=mat