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.895/1.895, allocations: 171.2 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.179e-05/3.19e-05, allocations: 4 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2699, allocations: 38.77 MB / 258.4 MB, free: 12.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.4367, allocations: 87.33 MB / 345.7 MB, free: 6.5 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.437, allocations: 79.95 kB / 345.8 MB, free: 6.422 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3471/0.7842, allocations: 27.8 MB / 373.6 MB, free: 84.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.7843, allocations: 0 / 373.6 MB, free: 84.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001485/0.7844, allocations: 26.23 kB / 373.6 MB, free: 84.15 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.004771/0.7892, allocations: 1.115 MB / 374.7 MB, free: 83.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001176/0.7894, allocations: 9.812 kB / 374.7 MB, free: 83.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.7911, allocations: 192.7 kB / 374.9 MB, free: 83.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/0.7942, allocations: 0.7851 MB / 375.7 MB, free: 83.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/0.7943, allocations: 33.62 kB / 375.7 MB, free: 83.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.7946, allocations: 61.12 kB / 375.8 MB, free: 83.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002181/0.7968, allocations: 0.5344 MB / 376.3 MB, free: 83.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/0.7996, allocations: 0.7507 MB / 377.1 MB, free: 83.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.789e-05/0.7997, allocations: 2.812 kB / 377.1 MB, free: 83.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.7999, allocations: 3.375 kB / 377.1 MB, free: 83.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.7999, allocations: 22.38 kB / 377.1 MB, free: 83.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007982/0.8079, allocations: 3.741 MB / 380.8 MB, free: 81.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008103/0.8088, allocations: 403.5 kB / 381.2 MB, free: 81.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006824/0.8095, allocations: 239.2 kB / 381.5 MB, free: 81.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/0.8096, allocations: 2.812 kB / 381.5 MB, free: 81.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.8096, allocations: 38.28 kB / 381.5 MB, free: 81.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 4.218e-06/0.8097, allocations: 0 / 381.5 MB, free: 81.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.003016/0.8127, allocations: 1.114 MB / 382.6 MB, free: 80.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.8128, allocations: 83.67 kB / 382.7 MB, free: 80.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.8139, allocations: 0.5678 MB / 383.3 MB, free: 80.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.776e-05/0.814, allocations: 29.67 kB / 383.3 MB, free: 80.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/0.8144, allocations: 0.5648 MB / 383.9 MB, free: 80.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.8146, allocations: 159.2 kB / 384 MB, free: 79.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.8147, allocations: 0 / 384 MB, free: 79.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.8148, allocations: 392.6 kB / 384.4 MB, free: 79.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.8152, allocations: 139 kB / 384.5 MB, free: 79.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004517/0.8156, allocations: 424.9 kB / 384.9 MB, free: 79.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.8161, allocations: 214.2 kB / 385.2 MB, free: 78.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.8161, allocations: 3.906 kB / 385.2 MB, free: 78.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001698/0.8178, allocations: 0.6651 MB / 385.8 MB, free: 78.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.8179, allocations: 11.47 kB / 385.8 MB, free: 78.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.818, allocations: 18.95 kB / 385.9 MB, free: 78.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004279/0.8184, allocations: 87.78 kB / 385.9 MB, free: 78.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.8194, allocations: 165.7 kB / 386.1 MB, free: 78.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/0.8222, allocations: 2.873 MB / 389 MB, free: 75.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.8233, allocations: 23.39 kB / 389 MB, free: 75.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.8235, allocations: 39.31 kB / 389 MB, free: 75.93 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.0001801/0.8237, allocations: 128.6 kB / 389.2 MB, free: 75.8 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001018/0.8247, allocations: 431.7 kB / 389.6 MB, free: 75.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.8249, allocations: 81.28 kB / 389.7 MB, free: 75.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.826, allocations: 441 kB / 390.1 MB, free: 75.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.826, allocations: 11.86 kB / 390.1 MB, free: 75.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.826, allocations: 5.781 kB / 390.1 MB, free: 75.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.826, allocations: 7.266 kB / 390.1 MB, free: 75.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.8285, allocations: 1.259 MB / 391.4 MB, free: 74.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.8286, allocations: 0 / 391.4 MB, free: 74.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005929/0.8292, allocations: 74.05 kB / 391.5 MB, free: 74.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003809/0.8296, allocations: 79.94 kB / 391.5 MB, free: 74.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.8297, allocations: 10.41 kB / 391.5 MB, free: 74.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/0.8321, allocations: 2.871 MB / 394.4 MB, free: 71.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.8322, allocations: 0 / 394.4 MB, free: 71.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.8337, allocations: 0.8008 MB / 395.2 MB, free: 71.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.8341, allocations: 193.4 kB / 395.4 MB, free: 71.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.8343, allocations: 2.5 kB / 395.4 MB, free: 71.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006786/0.835, allocations: 22.91 kB / 395.4 MB, free: 71.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.8352, allocations: 40.7 kB / 395.5 MB, free: 71.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.8352, allocations: 18.78 kB / 395.5 MB, free: 71.1 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007519/0.836, allocations: 434.4 kB / 395.9 MB, free: 70.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.836, allocations: 0 / 395.9 MB, free: 70.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001367/0.8374, allocations: 195 kB / 396.1 MB, free: 70.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.002099/0.8395, allocations: 2 MB / 398.1 MB, free: 69.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.8409, allocations: 0.6318 MB / 398.7 MB, free: 68.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.8409, allocations: 0 / 398.7 MB, free: 68.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007418/0.8417, allocations: 418.1 kB / 399.1 MB, free: 68.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.8433, allocations: 188.1 kB / 399.3 MB, free: 68.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.8477, allocations: 1.352 MB / 400.7 MB, free: 67.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.8484, allocations: 1.025 MB / 401.7 MB, free: 67.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007409/0.8491, allocations: 104.9 kB / 401.8 MB, free: 67.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006205/0.8498, allocations: 373.3 kB / 402.2 MB, free: 66.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.232e-06/0.8498, allocations: 0 / 402.2 MB, free: 66.82 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06692/0.9167, allocations: 16.26 MB / 418.4 MB, free: 54.11 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.917, allocations: 156.3 kB / 418.6 MB, free: 53.91 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.089/4.006, allocations: 3.938 kB / 418.6 MB, free: 53.91 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