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.748/1.748, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.749e-05/2.759e-05, allocations: 0 / 225.1 MB, free: 2.207 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2624, allocations: 38.77 MB / 263.9 MB, free: 9.695 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.4044, allocations: 72.52 MB / 336.4 MB, free: 1.066 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/0.4048, allocations: 71.97 kB / 336.4 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1434/0.5482, allocations: 21.48 MB / 357.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5482, allocations: 0 / 357.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001202/0.5484, allocations: 39.94 kB / 358 MB, free: 11.34 MB / 314.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.004908/0.5533, allocations: 1.417 MB / 359.4 MB, free: 9.879 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.5534, allocations: 12.03 kB / 359.4 MB, free: 9.867 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005549/0.5539, allocations: 206.9 kB / 359.6 MB, free: 9.656 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007608/0.5547, allocations: 178.2 kB / 359.8 MB, free: 9.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/0.5574, allocations: 0.9389 MB / 360.7 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.5575, allocations: 102.8 kB / 360.8 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003338/0.5579, allocations: 136 kB / 360.9 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004672/0.5626, allocations: 1.786 MB / 362.7 MB, free: 6.398 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.064e-05/0.5627, allocations: 4 kB / 362.7 MB, free: 6.395 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/0.5629, allocations: 60 kB / 362.8 MB, free: 6.336 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.563, allocations: 32 kB / 362.8 MB, free: 6.305 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003722/0.5667, allocations: 1.315 MB / 364.1 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2333/0.8, allocations: 5.011 MB / 369.1 MB, free: 81.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.8016, allocations: 0.9498 MB / 370.1 MB, free: 80.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.8032, allocations: 463 kB / 370.5 MB, free: 80.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.226e-05/0.8032, allocations: 5.516 kB / 370.6 MB, free: 80.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.8033, allocations: 39.86 kB / 370.6 MB, free: 80.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.356e-06/0.8033, allocations: 0.5 kB / 370.6 MB, free: 80.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.003744/0.8071, allocations: 1.571 MB / 372.2 MB, free: 80.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.8071, allocations: 55.34 kB / 372.2 MB, free: 80.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.8082, allocations: 0.6136 MB / 372.8 MB, free: 80.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.8083, allocations: 33.3 kB / 372.9 MB, free: 80.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.8086, allocations: 0.6162 MB / 373.5 MB, free: 79.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.8088, allocations: 148.8 kB / 373.6 MB, free: 79.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.8088, allocations: 11.25 kB / 373.6 MB, free: 79.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.809, allocations: 374.5 kB / 374 MB, free: 79.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005161/0.8095, allocations: 262.4 kB / 374.3 MB, free: 79.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.8101, allocations: 391.4 kB / 374.6 MB, free: 79.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/0.8108, allocations: 327.9 kB / 375 MB, free: 79.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8108, allocations: 0 / 375 MB, free: 79.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001816/0.8126, allocations: 0.831 MB / 375.8 MB, free: 79.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.8127, allocations: 3.656 kB / 375.8 MB, free: 79.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.8127, allocations: 7.188 kB / 375.8 MB, free: 79.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/0.8131, allocations: 102.8 kB / 375.9 MB, free: 79.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008598/0.814, allocations: 117.1 kB / 376 MB, free: 79.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002801/0.8168, allocations: 2.134 MB / 378.2 MB, free: 77.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/0.8176, allocations: 37.75 kB / 378.2 MB, free: 77.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.8177, allocations: 16.66 kB / 378.2 MB, free: 77.95 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.000162/0.8179, allocations: 141.2 kB / 378.3 MB, free: 77.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.818, allocations: 63.98 kB / 378.4 MB, free: 77.81 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.8182, allocations: 87.55 kB / 378.5 MB, free: 77.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.8182, allocations: 3.719 kB / 378.5 MB, free: 77.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.8183, allocations: 3.062 kB / 378.5 MB, free: 77.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.8183, allocations: 7.25 kB / 378.5 MB, free: 77.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004416/0.8227, allocations: 1.985 MB / 380.5 MB, free: 77.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.8228, allocations: 0 / 380.5 MB, free: 77.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/0.8234, allocations: 68.05 kB / 380.6 MB, free: 77.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/0.8238, allocations: 103.9 kB / 380.7 MB, free: 77.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/0.8238, allocations: 19.12 kB / 380.7 MB, free: 77.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002435/0.8263, allocations: 2.085 MB / 382.8 MB, free: 76.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8263, allocations: 0 / 382.8 MB, free: 76.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.8284, allocations: 1.124 MB / 383.9 MB, free: 75.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/0.8289, allocations: 200.5 kB / 384.1 MB, free: 75.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.8291, allocations: 12.05 kB / 384.1 MB, free: 75.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/0.8297, allocations: 41.91 kB / 384.1 MB, free: 75.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.8298, allocations: 38.14 kB / 384.2 MB, free: 75.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.8299, allocations: 14.47 kB / 384.2 MB, free: 75.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008724/0.8308, allocations: 487.7 kB / 384.7 MB, free: 75.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8308, allocations: 0 / 384.7 MB, free: 75.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001148/0.832, allocations: 204.2 kB / 384.9 MB, free: 75.39 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.002418/0.8344, allocations: 2.022 MB / 386.9 MB, free: 73.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.8361, allocations: 0.7329 MB / 387.6 MB, free: 73.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.8362, allocations: 3.609 kB / 387.6 MB, free: 73.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009711/0.8372, allocations: 459.1 kB / 388.1 MB, free: 73.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.8385, allocations: 161.5 kB / 388.2 MB, free: 73.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005512/0.844, allocations: 2.216 MB / 390.4 MB, free: 72.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.8452, allocations: 1.457 MB / 391.9 MB, free: 71.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007414/0.846, allocations: 166.3 kB / 392.1 MB, free: 71.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006557/0.8466, allocations: 403.1 kB / 392.5 MB, free: 71.27 MB / 314.7 MB Notification: Performance of SimCode: time 1.342e-06/0.8467, allocations: 0 / 392.5 MB, free: 71.27 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07484/0.9215, allocations: 16.73 MB / 409.2 MB, free: 60.32 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.9217, allocations: 168.7 kB / 409.3 MB, free: 60.1 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/4.026, allocations: 7.938 kB / 409.4 MB, free: 60.09 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