Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.13/2.13, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.709e-05/4.751e-05, allocations: 3.984 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 47.57 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4626/0.5701, allocations: 98.21 MB / 415.2 MB, free: 5.777 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003871/0.5706, allocations: 75.39 kB / 415.3 MB, free: 5.738 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1408/0.7114, allocations: 28.67 MB / 444 MB, free: 13.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7115, allocations: 0 / 444 MB, free: 13.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.18e-05/0.7116, allocations: 24 kB / 444 MB, free: 13.52 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002945/0.7146, allocations: 1.136 MB / 445.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.7146, allocations: 12.03 kB / 445.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002897/0.7149, allocations: 146.1 kB / 445.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.716, allocations: 194.3 kB / 445.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.7184, allocations: 0.8145 MB / 446.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.974e-05/0.7185, allocations: 81.33 kB / 446.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.7187, allocations: 96.88 kB / 446.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.7211, allocations: 0.8781 MB / 447.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.355e-05/0.7212, allocations: 19.02 kB / 447.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.7214, allocations: 37 kB / 447.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/0.7214, allocations: 24 kB / 447.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.7232, allocations: 0.584 MB / 448 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00835/0.7316, allocations: 3.94 MB / 452 MB, free: 7.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009828/0.7326, allocations: 432.9 kB / 452.4 MB, free: 6.695 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007853/0.7335, allocations: 249.9 kB / 452.6 MB, free: 6.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.095e-05/0.7335, allocations: 8 kB / 452.6 MB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.7336, allocations: 37.31 kB / 452.7 MB, free: 6.469 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 3.577e-06/0.7336, allocations: 0 / 452.7 MB, free: 6.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.003333/0.7369, allocations: 1.224 MB / 453.9 MB, free: 5.422 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.737, allocations: 85.55 kB / 454 MB, free: 5.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.7385, allocations: 0.7038 MB / 454.7 MB, free: 4.793 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.197e-05/0.7386, allocations: 32.95 kB / 454.7 MB, free: 4.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005632/0.7392, allocations: 0.5708 MB / 455.3 MB, free: 4.348 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/0.7395, allocations: 166.4 kB / 455.4 MB, free: 4.207 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.7395, allocations: 10.94 kB / 455.5 MB, free: 4.207 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.7398, allocations: 343.9 kB / 455.8 MB, free: 3.879 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006398/0.7404, allocations: 153.4 kB / 455.9 MB, free: 3.789 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009574/0.7414, allocations: 447 kB / 456.4 MB, free: 3.293 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008708/0.7423, allocations: 237.5 kB / 456.6 MB, free: 3.059 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.7423, allocations: 0 / 456.6 MB, free: 3.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00279/0.7451, allocations: 0.7507 MB / 457.4 MB, free: 2.297 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.7452, allocations: 8 kB / 457.4 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.7452, allocations: 12 kB / 457.4 MB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/0.7458, allocations: 97.89 kB / 457.5 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.7472, allocations: 171.7 kB / 457.6 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005194/0.7524, allocations: 2.974 MB / 460.6 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.7542, allocations: 47.95 kB / 460.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.7543, allocations: 35.98 kB / 460.7 MB, free: 14.69 MB / 378.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.0003187/0.7547, allocations: 152.8 kB / 460.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/0.755, allocations: 90.88 kB / 460.9 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.7571, allocations: 0.4986 MB / 461.4 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.7572, allocations: 4 kB / 461.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.7572, allocations: 0 / 461.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.7572, allocations: 3.984 kB / 461.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004686/0.7619, allocations: 1.45 MB / 462.9 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.762, allocations: 4 kB / 462.9 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008825/0.7629, allocations: 80.11 kB / 463 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005344/0.7635, allocations: 85.61 kB / 463.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.228e-05/0.7635, allocations: 12 kB / 463.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004739/0.7683, allocations: 2.97 MB / 466 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/0.7684, allocations: 12.16 kB / 466 MB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.7712, allocations: 0.8639 MB / 466.9 MB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007084/0.772, allocations: 203.9 kB / 467.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/0.7723, allocations: 16 kB / 467.1 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.7734, allocations: 31.98 kB / 467.2 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.7736, allocations: 43.88 kB / 467.2 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.298e-05/0.7737, allocations: 16 kB / 467.2 MB, free: 7.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001648/0.7754, allocations: 0.5265 MB / 467.7 MB, free: 7.141 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.7754, allocations: 0 / 467.7 MB, free: 7.141 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002227/0.7776, allocations: 248 kB / 468 MB, free: 6.898 MB / 378.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.004048/0.7817, allocations: 2.104 MB / 470.1 MB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002281/0.7841, allocations: 0.6494 MB / 470.7 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.7841, allocations: 0 / 470.7 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.7854, allocations: 437.1 kB / 471.2 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.7878, allocations: 203.2 kB / 471.4 MB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006435/0.7943, allocations: 1.444 MB / 472.8 MB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.7955, allocations: 1.036 MB / 473.8 MB, free: 0.832 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001133/0.7967, allocations: 107.4 kB / 473.9 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009997/0.7977, allocations: 391.2 kB / 474.3 MB, free: 352 kB / 378.7 MB Notification: Performance of SimCode: time 1.373e-06/0.7977, allocations: 0 / 474.3 MB, free: 352 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/0.9034, allocations: 20.9 MB / 495.2 MB, free: 11.51 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003617/0.9038, allocations: 202.8 kB / 495.4 MB, free: 11.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.489/4.393, allocations: 0 / 495.4 MB, free: 11.27 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat does not exist to compare? outputFormat=mat