Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.002/2.002, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.208e-05, allocations: 4 kB / 292.3 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 50.4 MB / 342.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.5541, allocations: 98.81 MB / 441.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.5545, allocations: 86.27 kB / 441.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1545/0.7089, allocations: 28.21 MB / 469.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.709, allocations: 0 / 469.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001205/0.7091, allocations: 20 kB / 469.8 MB, free: 3.328 MB / 378.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.004672/0.7138, allocations: 1.122 MB / 470.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.7139, allocations: 8.031 kB / 470.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005518/0.7145, allocations: 148.2 kB / 471.1 MB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.7163, allocations: 190.4 kB / 471.2 MB, free: 1.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003917/0.7203, allocations: 0.7925 MB / 472 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.7204, allocations: 74 kB / 472.1 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004097/0.7209, allocations: 99.91 kB / 472.2 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003857/0.7248, allocations: 0.8725 MB / 473.1 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.919e-05/0.7249, allocations: 3.938 kB / 473.1 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002028/0.7251, allocations: 51.95 kB / 473.1 MB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.433e-05/0.7252, allocations: 27.94 kB / 473.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/0.7283, allocations: 0.5819 MB / 473.7 MB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/0.7423, allocations: 3.912 MB / 477.6 MB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.7438, allocations: 431.9 kB / 478.1 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.745, allocations: 240.8 kB / 478.3 MB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.136e-05/0.7451, allocations: 7.953 kB / 478.3 MB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/0.7452, allocations: 42.55 kB / 478.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.898e-06/0.7452, allocations: 0 / 478.4 MB, free: 10.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.004965/0.7502, allocations: 1.201 MB / 479.6 MB, free: 9.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.7503, allocations: 81.55 kB / 479.6 MB, free: 9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/0.7532, allocations: 0.6918 MB / 480.3 MB, free: 8.305 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.7534, allocations: 33.7 kB / 480.4 MB, free: 8.266 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.7548, allocations: 0.5488 MB / 480.9 MB, free: 7.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.755, allocations: 169.6 kB / 481.1 MB, free: 7.539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.7551, allocations: 16 kB / 481.1 MB, free: 7.523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.7553, allocations: 334 kB / 481.4 MB, free: 7.191 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.7558, allocations: 145.6 kB / 481.6 MB, free: 7.047 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006827/0.7564, allocations: 440.4 kB / 482 MB, free: 6.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000622/0.7571, allocations: 237.5 kB / 482.2 MB, free: 6.262 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.7571, allocations: 4 kB / 482.2 MB, free: 6.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002039/0.7592, allocations: 0.7388 MB / 483 MB, free: 5.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.7592, allocations: 8.438 kB / 483 MB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.7592, allocations: 8 kB / 483 MB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004693/0.7597, allocations: 101.7 kB / 483.1 MB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.7607, allocations: 159.7 kB / 483.2 MB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/0.7643, allocations: 2.978 MB / 486.2 MB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.7654, allocations: 43.92 kB / 486.3 MB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/0.7655, allocations: 35.98 kB / 486.3 MB, free: 1.906 MB / 394.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.0002126/0.7657, allocations: 152.7 kB / 486.4 MB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.7659, allocations: 82.97 kB / 486.5 MB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.7673, allocations: 490.6 kB / 487 MB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.7674, allocations: 4 kB / 487 MB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.7674, allocations: 7.984 kB / 487 MB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.7674, allocations: 3.938 kB / 487 MB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/0.7707, allocations: 1.431 MB / 488.4 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.7708, allocations: 4 kB / 488.4 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006498/0.7714, allocations: 71.89 kB / 488.5 MB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/0.7718, allocations: 93.78 kB / 488.6 MB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.7719, allocations: 12 kB / 488.6 MB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003471/0.7754, allocations: 2.971 MB / 491.6 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7754, allocations: 0 / 491.6 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.7773, allocations: 0.8479 MB / 492.4 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004685/0.7778, allocations: 196 kB / 492.6 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.778, allocations: 8 kB / 492.6 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007486/0.7788, allocations: 35.98 kB / 492.7 MB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.7789, allocations: 43.92 kB / 492.7 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.779, allocations: 16 kB / 492.7 MB, free: 10.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.7801, allocations: 0.5187 MB / 493.3 MB, free: 10.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7801, allocations: 4 kB / 493.3 MB, free: 10.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001426/0.7816, allocations: 244 kB / 493.5 MB, free: 10.21 MB / 410.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.002816/0.7844, allocations: 2.081 MB / 495.6 MB, free: 8.055 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.786, allocations: 0.6462 MB / 496.2 MB, free: 7.387 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.786, allocations: 0 / 496.2 MB, free: 7.387 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009039/0.7869, allocations: 424.2 kB / 496.6 MB, free: 6.953 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.7887, allocations: 216.5 kB / 496.8 MB, free: 6.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.7933, allocations: 1.417 MB / 498.3 MB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007935/0.7941, allocations: 1.032 MB / 499.3 MB, free: 4.211 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00078/0.7949, allocations: 111.3 kB / 499.4 MB, free: 4.098 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007333/0.7956, allocations: 379.2 kB / 499.8 MB, free: 3.727 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.7957, allocations: 0 / 499.8 MB, free: 3.727 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06879/0.8644, allocations: 20.58 MB / 0.5082 GB, free: 15.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/0.8648, allocations: 189.2 kB / 0.5083 GB, free: 15.17 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/3.962, allocations: 0 / 0.5083 GB, free: 15.17 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat does not exist to compare? outputFormat=mat