Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.113e-05/4.123e-05, allocations: 10.23 kB / 269.5 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1307, allocations: 47.57 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4473/0.578, allocations: 91.69 MB / 408.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.5784, allocations: 83.64 kB / 408.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.601/2.18, allocations: 305 MB / 0.6971 GB, free: 62.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.715e-06/2.18, allocations: 4 kB / 0.6971 GB, free: 62.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005032/2.18, allocations: 191.3 kB / 0.6973 GB, free: 62.55 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: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.0396/2.22, allocations: 7.992 MB / 0.7051 GB, free: 60.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/2.22, allocations: 10.03 kB / 0.7051 GB, free: 60.15 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005792/2.226, allocations: 1.323 MB / 0.7064 GB, free: 60.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03087/2.257, allocations: 3.887 MB / 0.7102 GB, free: 59.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01584/2.273, allocations: 5.384 MB / 0.7154 GB, free: 58.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001207/2.274, allocations: 0.6788 MB / 0.7161 GB, free: 58.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004441/2.278, allocations: 0.8554 MB / 0.7169 GB, free: 58.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04878/2.327, allocations: 15.09 MB / 0.7317 GB, free: 57.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004855/2.328, allocations: 14.12 kB / 0.7317 GB, free: 57.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004007/2.332, allocations: 379.6 kB / 0.732 GB, free: 57.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009392/2.333, allocations: 0.5829 MB / 0.7326 GB, free: 57.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03728/2.37, allocations: 12.64 MB / 0.7449 GB, free: 57.72 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1227/2.493, allocations: 47.79 MB / 0.7916 GB, free: 35.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01996/2.513, allocations: 9.588 MB / 0.801 GB, free: 26.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01518/2.528, allocations: 6.586 MB / 0.8074 GB, free: 20.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06397/2.592, allocations: 20.99 MB / 0.8279 GB, free: 2.844 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/2.592, allocations: 94.84 kB / 0.828 GB, free: 2.738 MB / 442.7 MB Notification: Performance of pre-optimization done (n=711): time 1.268e-05/2.592, allocations: 0 / 0.828 GB, free: 2.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=711): time 0.04063/2.633, allocations: 11.78 MB / 0.8395 GB, free: 9.203 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/2.633, allocations: 113.9 kB / 0.8396 GB, free: 9.078 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004691/2.638, allocations: 1.735 MB / 0.8413 GB, free: 7.559 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001562/2.64, allocations: 109.7 kB / 0.8414 GB, free: 7.445 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002976/2.643, allocations: 3.036 MB / 0.8444 GB, free: 4.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004642/2.647, allocations: 2.331 MB / 0.8466 GB, free: 2.664 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/2.649, allocations: 112 kB / 0.8468 GB, free: 2.555 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001049/2.65, allocations: 0.5943 MB / 0.8473 GB, free: 2.039 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.026/2.676, allocations: 5.365 MB / 0.8526 GB, free: 0 / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3446/3.021, allocations: 5.776 MB / 0.8582 GB, free: 76.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01627/3.037, allocations: 5.564 MB / 0.8637 GB, free: 76.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.667e-05/3.037, allocations: 8.656 kB / 0.8637 GB, free: 76.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.03811/3.075, allocations: 13.02 MB / 0.8764 GB, free: 76.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/3.076, allocations: 20.22 kB / 0.8764 GB, free: 76.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/3.076, allocations: 34 kB / 0.8764 GB, free: 76.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/3.086, allocations: 3.685 MB / 0.88 GB, free: 76.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008454/3.094, allocations: 1.032 MB / 0.881 GB, free: 76.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/3.109, allocations: 9.181 MB / 0.89 GB, free: 73.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007076/3.116, allocations: 0.7209 MB / 0.8907 GB, free: 73.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002166/3.118, allocations: 264.9 kB / 0.891 GB, free: 73.11 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (570): * Single equations (assignments): 479 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 85 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.003587/3.122, allocations: 413.4 kB / 0.8913 GB, free: 73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002376/3.124, allocations: 350.6 kB / 0.8917 GB, free: 72.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03771/3.162, allocations: 12.9 MB / 0.9043 GB, free: 72.44 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03092/3.193, allocations: 11.47 MB / 0.9155 GB, free: 69.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.46e-05/3.193, allocations: 7.422 kB / 0.9155 GB, free: 69.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001207/3.193, allocations: 27.98 kB / 0.9155 GB, free: 69.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06643/3.26, allocations: 24.4 MB / 0.9393 GB, free: 59.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.394e-05/3.26, allocations: 2.625 kB / 0.9393 GB, free: 59.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006389/3.266, allocations: 0.7205 MB / 0.94 GB, free: 59.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009745/3.276, allocations: 3.639 MB / 0.9436 GB, free: 58.64 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001636/3.278, allocations: 149.8 kB / 0.9437 GB, free: 58.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/3.291, allocations: 9.119 MB / 0.9526 GB, free: 52.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/3.291, allocations: 0 / 0.9526 GB, free: 52.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04434/3.336, allocations: 18.89 MB / 0.9711 GB, free: 35.98 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004834/3.341, allocations: 1.495 MB / 0.9725 GB, free: 34.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001233/3.342, allocations: 91.12 kB / 0.9726 GB, free: 34.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004003/3.346, allocations: 251.2 kB / 0.9729 GB, free: 34.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001585/3.348, allocations: 0.5226 MB / 0.9734 GB, free: 34.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007027/3.348, allocations: 185 kB / 0.9736 GB, free: 33.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002891/3.351, allocations: 1.294 MB / 0.9748 GB, free: 32.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.72e-07/3.351, allocations: 0 / 0.9748 GB, free: 32.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009829/3.361, allocations: 2.166 MB / 0.9769 GB, free: 30.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (403): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 85 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.04737/3.409, allocations: 19.71 MB / 0.9962 GB, free: 13.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02874/3.437, allocations: 10.85 MB / 1.007 GB, free: 3.824 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/3.437, allocations: 0 / 1.007 GB, free: 3.824 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01859/3.456, allocations: 5.643 MB / 1.012 GB, free: 15.28 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007252/3.463, allocations: 0.6032 MB / 1.013 GB, free: 14.81 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.395/3.858, allocations: 19.68 MB / 1.032 GB, free: 88.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01442/3.873, allocations: 6.157 MB / 1.038 GB, free: 87.52 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007439/3.88, allocations: 1.3 MB / 1.039 GB, free: 87.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007311/3.888, allocations: 2.823 MB / 1.042 GB, free: 87.47 MB / 474.7 MB Notification: Performance of SimCode: time 1.813e-06/3.888, allocations: 0.9375 kB / 1.042 GB, free: 87.47 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3415/4.229, allocations: 151.1 MB / 1.19 GB, free: 9.074 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/4.23, allocations: 200.9 kB / 1.19 GB, free: 8.848 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.364/10.59, allocations: 4 kB / 1.19 GB, free: 8.844 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat