Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.698e-05/3.68e-05, allocations: 3.984 kB / 255.5 MB, free: 2.594 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09443/0.0945, allocations: 44.51 MB / 300 MB, free: 6.023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4334/0.5279, allocations: 93.89 MB / 393.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.5283, allocations: 80.12 kB / 394 MB, free: 12.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1163/0.6446, allocations: 28.56 MB / 422.5 MB, free: 2.918 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6447, allocations: 0 / 422.5 MB, free: 2.918 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000104/0.6448, allocations: 23.47 kB / 422.5 MB, free: 2.914 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.003241/0.6481, allocations: 1.137 MB / 423.7 MB, free: 2.129 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.6481, allocations: 7.594 kB / 423.7 MB, free: 2.129 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003936/0.6486, allocations: 158.8 kB / 423.8 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.6496, allocations: 189.1 kB / 424 MB, free: 1.977 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/0.6523, allocations: 0.8067 MB / 424.8 MB, free: 1.535 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.202e-05/0.6524, allocations: 74.28 kB / 424.9 MB, free: 1.531 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/0.6527, allocations: 101.5 kB / 425 MB, free: 1.523 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.6552, allocations: 0.8849 MB / 425.9 MB, free: 1.316 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.635e-05/0.6553, allocations: 7.094 kB / 425.9 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.6555, allocations: 48.72 kB / 425.9 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.6555, allocations: 22.5 kB / 426 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.6574, allocations: 0.5797 MB / 426.5 MB, free: 1.289 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008981/0.6665, allocations: 3.95 MB / 430.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009555/0.6675, allocations: 434.2 kB / 430.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007432/0.6683, allocations: 256.3 kB / 431.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.21e-05/0.6684, allocations: 6.703 kB / 431.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.6684, allocations: 37.16 kB / 431.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 3.757e-06/0.6684, allocations: 0 / 431.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.003586/0.672, allocations: 1.218 MB / 432.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.6721, allocations: 85.38 kB / 432.5 MB, free: 14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.6736, allocations: 0.6986 MB / 433.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.6738, allocations: 33.14 kB / 433.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005419/0.6743, allocations: 0.5635 MB / 433.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.6746, allocations: 169.8 kB / 434 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.6746, allocations: 17.5 kB / 434 MB, free: 13.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6748, allocations: 338.8 kB / 434.3 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.6752, allocations: 153.9 kB / 434.5 MB, free: 13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/0.6759, allocations: 445.4 kB / 434.9 MB, free: 12.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006042/0.6765, allocations: 239.3 kB / 435.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.475e-06/0.6765, allocations: 0 / 435.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002197/0.6787, allocations: 0.7387 MB / 435.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.6788, allocations: 8 kB / 435.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.6788, allocations: 15.94 kB / 435.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004968/0.6794, allocations: 98.95 kB / 436 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.6805, allocations: 159.7 kB / 436.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003625/0.6842, allocations: 2.994 MB / 439.2 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.6854, allocations: 44.83 kB / 439.2 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.6856, allocations: 39.25 kB / 439.2 MB, free: 8.66 MB / 330.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 (86): * 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: 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.0002325/0.6858, allocations: 154 kB / 439.4 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/0.6861, allocations: 86.97 kB / 439.5 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.6876, allocations: 0.5065 MB / 440 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.6877, allocations: 4 kB / 440 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6877, allocations: 3.938 kB / 440 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.6877, allocations: 0 / 440 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004488/0.6922, allocations: 1.437 MB / 441.4 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.6923, allocations: 4.219 kB / 441.4 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007033/0.693, allocations: 83.27 kB / 441.5 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/0.6935, allocations: 83.17 kB / 441.6 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.249e-05/0.6935, allocations: 14.12 kB / 441.6 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003557/0.6971, allocations: 2.984 MB / 444.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.6972, allocations: 4.031 kB / 444.6 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.6993, allocations: 0.8724 MB / 445.5 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005697/0.6999, allocations: 197.5 kB / 445.7 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.7001, allocations: 14.94 kB / 445.7 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008539/0.701, allocations: 32.8 kB / 445.7 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.7011, allocations: 36.95 kB / 445.7 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/0.7012, allocations: 24.56 kB / 445.8 MB, free: 2.754 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001273/0.7025, allocations: 0.5265 MB / 446.3 MB, free: 2.379 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.102e-06/0.7025, allocations: 0 / 446.3 MB, free: 2.379 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001766/0.7043, allocations: 249.5 kB / 446.5 MB, free: 2.16 MB / 330.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 (40): * Single equations (assignments): 38 * 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.003176/0.7075, allocations: 2.097 MB / 448.6 MB, free: 148 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001827/0.7094, allocations: 0.6565 MB / 449.3 MB, free: 15.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.7095, allocations: 0 / 449.3 MB, free: 15.47 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.7106, allocations: 437.1 kB / 449.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.7127, allocations: 203.5 kB / 449.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005595/0.7183, allocations: 1.44 MB / 451.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009359/0.7193, allocations: 1.036 MB / 452.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008783/0.7202, allocations: 107.4 kB / 452.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008544/0.7211, allocations: 383.3 kB / 452.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7211, allocations: 4 kB / 452.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08355/0.8047, allocations: 20.91 MB / 473.8 MB, free: 6.902 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.8049, allocations: 194.7 kB / 474 MB, free: 6.672 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.387/4.192, allocations: 3.938 kB / 474 MB, free: 6.668 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat does not exist to compare? outputFormat=mat