Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.498e-05, allocations: 6.812 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 50.4 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4376/0.5417, allocations: 86.98 MB / 429.6 MB, free: 6.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.5421, allocations: 76.08 kB / 429.7 MB, free: 6.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1311/0.6732, allocations: 32.5 MB / 462.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6733, allocations: 3.938 kB / 462.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001716/0.6735, allocations: 55.94 kB / 462.3 MB, free: 10.89 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006816/0.6803, allocations: 1.963 MB / 464.2 MB, free: 8.871 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.6804, allocations: 12.03 kB / 464.2 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001079/0.6815, allocations: 332.6 kB / 464.6 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.6826, allocations: 253.2 kB / 464.8 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003722/0.6863, allocations: 1.246 MB / 466.1 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.6866, allocations: 164.5 kB / 466.2 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009222/0.6875, allocations: 227.9 kB / 466.4 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008016/0.6956, allocations: 2.67 MB / 469.1 MB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.085e-05/0.6957, allocations: 0 / 469.1 MB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003355/0.696, allocations: 100 kB / 469.2 MB, free: 3.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.25e-05/0.6961, allocations: 59.95 kB / 469.3 MB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00617/0.7023, allocations: 1.848 MB / 471.1 MB, free: 1.773 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02085/0.7232, allocations: 7.718 MB / 478.8 MB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.7251, allocations: 1.237 MB / 480.1 MB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.7267, allocations: 0.5907 MB / 480.7 MB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-05/0.7268, allocations: 12.56 kB / 480.7 MB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.7269, allocations: 39.12 kB / 480.7 MB, free: 7.812 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 3.497e-06/0.7269, allocations: 0 / 480.7 MB, free: 7.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.005447/0.7323, allocations: 2.084 MB / 482.8 MB, free: 5.672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.7324, allocations: 59.97 kB / 482.8 MB, free: 5.602 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.734, allocations: 0.7028 MB / 483.6 MB, free: 4.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.7341, allocations: 37.7 kB / 483.6 MB, free: 4.848 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007884/0.7349, allocations: 0.9137 MB / 484.5 MB, free: 3.918 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.7352, allocations: 220.8 kB / 484.7 MB, free: 3.699 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.7353, allocations: 16 kB / 484.7 MB, free: 3.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.7355, allocations: 398.6 kB / 485.1 MB, free: 3.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008625/0.7364, allocations: 345.6 kB / 485.5 MB, free: 2.949 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.7375, allocations: 0.5727 MB / 486 MB, free: 2.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.7386, allocations: 450.9 kB / 486.5 MB, free: 1.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.629e-06/0.7386, allocations: 4 kB / 486.5 MB, free: 1.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002853/0.7415, allocations: 1.096 MB / 487.6 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.7415, allocations: 7.984 kB / 487.6 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.369e-05/0.7416, allocations: 12.56 kB / 487.6 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004475/0.742, allocations: 116.8 kB / 487.7 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.7434, allocations: 179.7 kB / 487.9 MB, free: 428 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.7467, allocations: 2.131 MB / 490 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.7478, allocations: 44.03 kB / 490.1 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.7479, allocations: 35.98 kB / 490.1 MB, free: 14.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002469/0.7482, allocations: 152.7 kB / 490.2 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.7484, allocations: 79.06 kB / 490.3 MB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.7508, allocations: 0.9018 MB / 491.2 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.7509, allocations: 4 kB / 491.2 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.7509, allocations: 7.953 kB / 491.2 MB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.7509, allocations: 3.984 kB / 491.2 MB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007018/0.7579, allocations: 2.666 MB / 493.9 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/0.758, allocations: 7.984 kB / 493.9 MB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009565/0.759, allocations: 104.1 kB / 494 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004041/0.7594, allocations: 108.7 kB / 494.1 MB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/0.7595, allocations: 23.98 kB / 494.1 MB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/0.7624, allocations: 2.064 MB / 496.2 MB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7625, allocations: 64 / 496.2 MB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003275/0.7658, allocations: 1.455 MB / 497.7 MB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006073/0.7664, allocations: 232 kB / 497.9 MB, free: 5.945 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.7666, allocations: 19.98 kB / 497.9 MB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007904/0.7674, allocations: 47.95 kB / 498 MB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.7676, allocations: 48.52 kB / 498 MB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-05/0.7677, allocations: 20 kB / 498 MB, free: 5.812 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001196/0.7689, allocations: 0.5459 MB / 498.6 MB, free: 5.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.7689, allocations: 0 / 498.6 MB, free: 5.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001738/0.7706, allocations: 311.9 kB / 498.9 MB, free: 4.965 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004683/0.7753, allocations: 2.38 MB / 0.4895 GB, free: 2.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002571/0.778, allocations: 1.008 MB / 0.4905 GB, free: 1.488 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.778, allocations: 4.062 kB / 0.4905 GB, free: 1.484 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.7794, allocations: 0.5889 MB / 0.4911 GB, free: 0.875 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.7813, allocations: 199.2 kB / 0.4913 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008724/0.7901, allocations: 3.047 MB / 0.4942 GB, free: 13.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002124/0.7923, allocations: 1.763 MB / 0.496 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001149/0.7934, allocations: 191 kB / 0.4961 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/0.7953, allocations: 0.6321 MB / 0.4968 GB, free: 10.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.443e-06/0.7953, allocations: 0 / 0.4968 GB, free: 10.95 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/0.9002, allocations: 22.38 MB / 0.5186 GB, free: 4.789 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003231/0.9006, allocations: 174.2 kB / 0.5188 GB, free: 4.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.018/3.919, allocations: 0 / 0.5188 GB, free: 4.57 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat