Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.117/2.117, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.437e-05, allocations: 0 / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 47.58 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4862/0.6131, allocations: 94.47 MB / 411.5 MB, free: 9.488 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.6135, allocations: 75.64 kB / 411.6 MB, free: 9.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1793/0.7928, allocations: 40.77 MB / 452.3 MB, free: 7.129 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.7929, allocations: 0 / 452.3 MB, free: 7.129 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001562/0.793, allocations: 35.94 kB / 452.4 MB, free: 7.094 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.005288/0.7983, allocations: 1.555 MB / 453.9 MB, free: 5.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.7984, allocations: 12.03 kB / 453.9 MB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005665/0.799, allocations: 220 kB / 454.2 MB, free: 5.441 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.8008, allocations: 253.6 kB / 454.4 MB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004664/0.8055, allocations: 1.094 MB / 455.5 MB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.8057, allocations: 114.3 kB / 455.6 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005421/0.8063, allocations: 165.1 kB / 455.8 MB, free: 4.141 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005406/0.8117, allocations: 1.406 MB / 457.2 MB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/0.8119, allocations: 11.84 kB / 457.2 MB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002897/0.8122, allocations: 68 kB / 457.3 MB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-05/0.8122, allocations: 36 kB / 457.3 MB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004023/0.8163, allocations: 0.8917 MB / 458.2 MB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01784/0.8342, allocations: 6.656 MB / 464.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.8357, allocations: 355.4 kB / 465.2 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008081/0.8365, allocations: 210 kB / 465.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.391e-05/0.8366, allocations: 8.438 kB / 465.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008503/0.8375, allocations: 256.8 kB / 465.7 MB, free: 9.949 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.053e-05/0.8375, allocations: 3.984 kB / 465.7 MB, free: 9.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=56): time 0.005446/0.8429, allocations: 1.616 MB / 467.3 MB, free: 8.273 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.8431, allocations: 188.4 kB / 467.5 MB, free: 8.047 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/0.8464, allocations: 1.065 MB / 468.5 MB, free: 6.969 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.394e-05/0.8465, allocations: 37.7 kB / 468.6 MB, free: 6.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.8479, allocations: 0.8711 MB / 469.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.8482, allocations: 205.2 kB / 469.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.42e-05/0.8483, allocations: 20 kB / 469.7 MB, free: 5.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.8486, allocations: 349.9 kB / 470 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009106/0.8495, allocations: 214.6 kB / 470.2 MB, free: 5.266 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.8511, allocations: 0.7697 MB / 471 MB, free: 4.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.8525, allocations: 384.6 kB / 471.4 MB, free: 3.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/0.8526, allocations: 12 kB / 471.4 MB, free: 3.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004/0.8566, allocations: 1.087 MB / 472.4 MB, free: 2.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.19e-05/0.8567, allocations: 37.7 kB / 472.5 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-05/0.8567, allocations: 20 kB / 472.5 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004243/0.8572, allocations: 74.44 kB / 472.6 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/0.8594, allocations: 263.6 kB / 472.8 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/0.8627, allocations: 2.568 MB / 475.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/0.8652, allocations: 75.78 kB / 475.5 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.8654, allocations: 63.95 kB / 475.5 MB, free: 15.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003884/0.8659, allocations: 200.4 kB / 475.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.8662, allocations: 130.4 kB / 475.9 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/0.8683, allocations: 0.5058 MB / 476.4 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.8684, allocations: 11.95 kB / 476.4 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.8684, allocations: 0 / 476.4 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.8684, allocations: 3.984 kB / 476.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/0.8732, allocations: 1.885 MB / 478.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.8733, allocations: 4.469 kB / 478.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00091/0.8742, allocations: 115.8 kB / 478.4 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002602/0.8745, allocations: 49.69 kB / 478.4 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.408e-05/0.8745, allocations: 16 kB / 478.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002533/0.8771, allocations: 2.54 MB / 481 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/0.8771, allocations: 7.938 kB / 481 MB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.8793, allocations: 1.071 MB / 482.1 MB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/0.88, allocations: 255.4 kB / 482.3 MB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/0.8803, allocations: 20 kB / 482.3 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009897/0.8813, allocations: 35.97 kB / 482.4 MB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.8815, allocations: 55.83 kB / 482.4 MB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.8815, allocations: 16 kB / 482.4 MB, free: 7.805 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001836/0.8834, allocations: 0.7897 MB / 483.2 MB, free: 7.012 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8834, allocations: 0 / 483.2 MB, free: 7.012 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001822/0.8852, allocations: 344 kB / 483.6 MB, free: 6.676 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (dcpm1.inertiaRotor.phi,dcpm1.inertiaRotor.w,dcpm1.la.i,dcpm2.inertiaRotor.phi,dcpm2.inertiaRotor.w) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003252/0.8885, allocations: 2.855 MB / 486.4 MB, free: 3.691 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00207/0.8906, allocations: 0.8408 MB / 487.3 MB, free: 2.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.8906, allocations: 0 / 487.3 MB, free: 2.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009477/0.8916, allocations: 440.2 kB / 487.7 MB, free: 2.375 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/0.8941, allocations: 305.2 kB / 488 MB, free: 2.082 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006537/0.9007, allocations: 2.119 MB / 490.1 MB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.9018, allocations: 1.213 MB / 491.3 MB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001129/0.903, allocations: 175.3 kB / 491.5 MB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.9041, allocations: 0.5852 MB / 492.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.9041, allocations: 4 kB / 492.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08827/0.9924, allocations: 28.35 MB / 0.5082 GB, free: 1.559 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003363/0.9928, allocations: 198.9 kB / 0.5084 GB, free: 1.328 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.647/4.64, allocations: 0 / 0.5084 GB, free: 1.328 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary_res.mat does not exist to compare? outputFormat=mat