Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.23/2.23, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.928e-05, allocations: 0 / 292.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1464, allocations: 50.41 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4944/0.6409, allocations: 96.27 MB / 438.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.6412, allocations: 86.77 kB / 439 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.585/2.227, allocations: 301.3 MB / 0.723 GB, free: 50.03 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.816e-06/2.227, allocations: 0 / 0.723 GB, free: 50.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005279/2.227, allocations: 197.3 kB / 0.7232 GB, free: 50.01 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.03887/2.266, allocations: 7.802 MB / 0.7308 GB, free: 47.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/2.266, allocations: 7.406 kB / 0.7308 GB, free: 47.7 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005857/2.272, allocations: 1.269 MB / 0.732 GB, free: 47.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02029/2.292, allocations: 2.604 MB / 0.7346 GB, free: 47.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01695/2.309, allocations: 5.52 MB / 0.74 GB, free: 46.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008105/2.31, allocations: 0.6373 MB / 0.7406 GB, free: 46.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00356/2.314, allocations: 0.833 MB / 0.7414 GB, free: 46.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04303/2.357, allocations: 13.35 MB / 0.7544 GB, free: 45.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004609/2.357, allocations: 13.41 kB / 0.7545 GB, free: 45.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003334/2.361, allocations: 366.9 kB / 0.7548 GB, free: 45.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001003/2.362, allocations: 0.6154 MB / 0.7554 GB, free: 45.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03308/2.395, allocations: 9.994 MB / 0.7652 GB, free: 45.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09872/2.494, allocations: 43.68 MB / 0.8078 GB, free: 22.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01554/2.509, allocations: 10.48 MB / 0.8181 GB, free: 12.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003883/2.513, allocations: 1.723 MB / 0.8197 GB, free: 10.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003737/2.514, allocations: 134.8 kB / 0.8199 GB, free: 10.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/2.514, allocations: 52.56 kB / 0.8199 GB, free: 10.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=234): time 5.961e-06/2.514, allocations: 0 / 0.8199 GB, free: 10.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=234): time 0.007834/2.522, allocations: 3.053 MB / 0.8229 GB, free: 7.918 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/2.522, allocations: 76.69 kB / 0.823 GB, free: 7.836 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006307/2.528, allocations: 2.596 MB / 0.8255 GB, free: 5.547 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004969/2.529, allocations: 69.7 kB / 0.8256 GB, free: 5.473 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002758/2.531, allocations: 3.82 MB / 0.8293 GB, free: 2.098 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001169/2.533, allocations: 0.8229 MB / 0.8301 GB, free: 1.363 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005913/2.533, allocations: 96 kB / 0.8302 GB, free: 1.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003754/2.534, allocations: 0.496 MB / 0.8307 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01129/2.545, allocations: 2.336 MB / 0.833 GB, free: 0 / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008025/2.553, allocations: 4.132 MB / 0.837 GB, free: 11.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007621/2.561, allocations: 3.04 MB / 0.84 GB, free: 8.566 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.383e-05/2.561, allocations: 20 kB / 0.84 GB, free: 8.547 MB / 458.7 MB Notification: Performance of matching and sorting (n=603) (initialization): time 0.01902/2.58, allocations: 6.314 MB / 0.8462 GB, free: 3.012 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/2.58, allocations: 37.25 kB / 0.8462 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001787/2.58, allocations: 74.81 kB / 0.8463 GB, free: 2.906 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/2.582, allocations: 417.2 kB / 0.8467 GB, free: 2.547 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007961/2.59, allocations: 1.069 MB / 0.8477 GB, free: 1.617 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009347/2.599, allocations: 4.105 MB / 0.8517 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005891/2.605, allocations: 0.6254 MB / 0.8523 GB, free: 13.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/2.607, allocations: 251.7 kB / 0.8526 GB, free: 13.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (574): * Single equations (assignments): 569 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001374/2.608, allocations: 422.9 kB / 0.853 GB, free: 12.76 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009817/2.609, allocations: 274.8 kB / 0.8532 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/2.62, allocations: 3.657 MB / 0.8568 GB, free: 9.414 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008142/2.628, allocations: 2.862 MB / 0.8596 GB, free: 6.938 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/2.628, allocations: 11.94 kB / 0.8596 GB, free: 6.926 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.243e-05/2.628, allocations: 15.3 kB / 0.8596 GB, free: 6.922 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4069/3.035, allocations: 10.35 MB / 0.8697 GB, free: 76.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/3.035, allocations: 3.156 kB / 0.8697 GB, free: 76.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003885/3.039, allocations: 416.6 kB / 0.8701 GB, free: 76.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/3.041, allocations: 314.5 kB / 0.8704 GB, free: 76.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000416/3.041, allocations: 52.38 kB / 0.8705 GB, free: 76.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007636/3.049, allocations: 3.854 MB / 0.8742 GB, free: 74.96 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/3.049, allocations: 4.594 kB / 0.8743 GB, free: 74.96 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01469/3.063, allocations: 5.325 MB / 0.8795 GB, free: 74.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0027/3.066, allocations: 0.6385 MB / 0.8801 GB, free: 74.36 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/3.067, allocations: 47.83 kB / 0.8801 GB, free: 74.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002845/3.07, allocations: 135.1 kB / 0.8803 GB, free: 74.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007433/3.071, allocations: 154.7 kB / 0.8804 GB, free: 74.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002645/3.071, allocations: 63.16 kB / 0.8805 GB, free: 74.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005767/3.077, allocations: 1.914 MB / 0.8823 GB, free: 74.19 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.22e-07/3.077, allocations: 2.75 kB / 0.8823 GB, free: 74.19 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008917/3.086, allocations: 1.99 MB / 0.8843 GB, free: 73.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (currentQuasiRMSSensor.currentSensor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (223): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01457/3.101, allocations: 6.369 MB / 0.8905 GB, free: 72.55 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01129/3.112, allocations: 4.535 MB / 0.8949 GB, free: 72.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/3.112, allocations: 0 / 0.8949 GB, free: 72.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005227/3.117, allocations: 1.745 MB / 0.8966 GB, free: 72.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005469/3.123, allocations: 0.6081 MB / 0.8972 GB, free: 72.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04161/3.164, allocations: 13.47 MB / 0.9104 GB, free: 69.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01309/3.178, allocations: 5.794 MB / 0.916 GB, free: 69.03 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007926/3.186, allocations: 1.693 MB / 0.9177 GB, free: 68.97 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006343/3.192, allocations: 2.68 MB / 0.9203 GB, free: 68.96 MB / 474.7 MB Notification: Performance of SimCode: time 1.703e-06/3.192, allocations: 1.203 kB / 0.9203 GB, free: 68.96 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2272/3.419, allocations: 89.65 MB / 1.008 GB, free: 25.37 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/3.42, allocations: 187.6 kB / 1.008 GB, free: 25.14 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.862/8.281, allocations: 64 / 1.008 GB, free: 25.14 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat