Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.866/1.866, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.774e-05, allocations: 7.984 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3614, allocations: 38.77 MB / 258.3 MB, free: 12.17 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.5163, allocations: 71.86 MB / 330.2 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.5166, allocations: 71.97 kB / 330.3 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0837/0.6003, allocations: 21.24 MB / 351.5 MB, free: 452 kB / 298.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6004, allocations: 0 / 351.5 MB, free: 452 kB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000111/0.6005, allocations: 43.94 kB / 351.6 MB, free: 408 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.0042/0.6047, allocations: 1.42 MB / 353 MB, free: 14.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.6048, allocations: 8.031 kB / 353 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008632/0.6056, allocations: 174.2 kB / 353.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.6082, allocations: 0.9312 MB / 354.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.941e-05/0.6083, allocations: 44 kB / 354.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002672/0.6085, allocations: 84 kB / 354.2 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003569/0.6121, allocations: 1.239 MB / 355.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004087/0.6163, allocations: 1.585 MB / 357 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/0.6163, allocations: 3.984 kB / 357 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.6165, allocations: 7.938 kB / 357.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/0.6166, allocations: 32 kB / 357.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/0.629, allocations: 4.727 MB / 361.8 MB, free: 5.828 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.6303, allocations: 0.9464 MB / 362.8 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.6316, allocations: 449.7 kB / 363.2 MB, free: 4.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.823e-05/0.6316, allocations: 7.984 kB / 363.2 MB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.6317, allocations: 38.56 kB / 363.2 MB, free: 4.266 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.725e-06/0.6317, allocations: 3.938 kB / 363.2 MB, free: 4.262 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.003703/0.6354, allocations: 1.486 MB / 364.7 MB, free: 2.711 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.6355, allocations: 55.41 kB / 364.8 MB, free: 2.645 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.6366, allocations: 0.5645 MB / 365.4 MB, free: 2.074 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.6367, allocations: 25.7 kB / 365.4 MB, free: 2.043 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005145/0.6372, allocations: 0.6109 MB / 366 MB, free: 1.422 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.6374, allocations: 145.8 kB / 366.1 MB, free: 1.277 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.6375, allocations: 0 / 366.1 MB, free: 1.277 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.6377, allocations: 370.8 kB / 366.5 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.6382, allocations: 245 kB / 366.7 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006493/0.6389, allocations: 384.2 kB / 367.1 MB, free: 236 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2203/0.8592, allocations: 307.8 kB / 367.4 MB, free: 65.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.8593, allocations: 5.922 kB / 367.4 MB, free: 65.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002164/0.8614, allocations: 0.7728 MB / 368.2 MB, free: 65.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.8615, allocations: 10.09 kB / 368.2 MB, free: 65.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.8615, allocations: 4.281 kB / 368.2 MB, free: 65.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004557/0.862, allocations: 107.4 kB / 368.3 MB, free: 65.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.8631, allocations: 112.9 kB / 368.4 MB, free: 65.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002734/0.8658, allocations: 2.055 MB / 370.5 MB, free: 64.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/0.8666, allocations: 20.83 kB / 370.5 MB, free: 64.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.8666, allocations: 23.78 kB / 370.5 MB, free: 64.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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: 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.0001483/0.8668, allocations: 116.9 kB / 370.6 MB, free: 64.09 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001285/0.8681, allocations: 0.599 MB / 371.2 MB, free: 64.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.8682, allocations: 64.88 kB / 371.3 MB, free: 64.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.8685, allocations: 78.64 kB / 371.4 MB, free: 64.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.8685, allocations: 3.844 kB / 371.4 MB, free: 64.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8685, allocations: 4.734 kB / 371.4 MB, free: 64.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.8685, allocations: 4.406 kB / 371.4 MB, free: 64.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/0.8723, allocations: 1.74 MB / 373.1 MB, free: 63.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.8723, allocations: 3.375 kB / 373.1 MB, free: 63.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.8729, allocations: 75.17 kB / 373.2 MB, free: 63.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003569/0.8733, allocations: 97.84 kB / 373.3 MB, free: 63.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.363e-05/0.8733, allocations: 8.859 kB / 373.3 MB, free: 63.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/0.8756, allocations: 2.017 MB / 375.3 MB, free: 62.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.8757, allocations: 3.906 kB / 375.3 MB, free: 62.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.8775, allocations: 1.077 MB / 376.4 MB, free: 62.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/0.8779, allocations: 195.7 kB / 376.6 MB, free: 61.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.878, allocations: 5.891 kB / 376.6 MB, free: 61.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005866/0.8786, allocations: 31.89 kB / 376.6 MB, free: 61.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.8788, allocations: 40.05 kB / 376.7 MB, free: 61.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.8788, allocations: 15.91 kB / 376.7 MB, free: 61.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000728/0.8796, allocations: 444.1 kB / 377.1 MB, free: 61.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8796, allocations: 0 / 377.1 MB, free: 61.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001064/0.8807, allocations: 183.8 kB / 377.3 MB, free: 61.89 MB / 314.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 (36): * Single equations (assignments): 35 * 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: 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.002054/0.8827, allocations: 1.975 MB / 379.3 MB, free: 60.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.8842, allocations: 0.6973 MB / 380 MB, free: 60.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.8842, allocations: 0 / 380 MB, free: 60.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008636/0.8851, allocations: 431.6 kB / 380.4 MB, free: 60.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.8863, allocations: 139.8 kB / 380.5 MB, free: 60.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005165/0.8915, allocations: 2.189 MB / 382.7 MB, free: 59.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.8927, allocations: 1.447 MB / 384.2 MB, free: 59.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008044/0.8935, allocations: 162.3 kB / 384.3 MB, free: 59.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006495/0.8941, allocations: 407.4 kB / 384.7 MB, free: 59.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.8941, allocations: 1.5 kB / 384.7 MB, free: 59.23 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07753/0.9717, allocations: 15.32 MB / 400 MB, free: 53.55 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.972, allocations: 138.8 kB / 400.2 MB, free: 53.36 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/3.857, allocations: 0 / 400.2 MB, free: 53.36 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat