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.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.398e-05/3.418e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3093, allocations: 38.77 MB / 263.9 MB, free: 9.695 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.4626, allocations: 72.53 MB / 336.4 MB, free: 1.059 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/0.463, allocations: 75.95 kB / 336.5 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1062/0.5692, allocations: 21.47 MB / 357.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5693, allocations: 4 kB / 358 MB, free: 11.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001716/0.5695, 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.007198/0.5767, allocations: 1.417 MB / 359.4 MB, free: 9.875 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.192e-05/0.5768, allocations: 12.03 kB / 359.4 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009547/0.5778, allocations: 206.9 kB / 359.6 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.5792, allocations: 178.2 kB / 359.8 MB, free: 9.477 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004223/0.5834, allocations: 0.935 MB / 360.7 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.5837, allocations: 102.8 kB / 360.8 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006205/0.5843, allocations: 140 kB / 361 MB, free: 8.262 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007556/0.5919, allocations: 1.769 MB / 362.7 MB, free: 6.414 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-05/0.592, allocations: 0 / 362.7 MB, free: 6.414 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003332/0.5924, allocations: 64 kB / 362.8 MB, free: 6.352 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.808e-05/0.5925, allocations: 32 kB / 362.8 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006371/0.5989, allocations: 1.298 MB / 364.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2551/0.854, allocations: 5.006 MB / 369.1 MB, free: 81.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/0.8562, allocations: 0.9523 MB / 370.1 MB, free: 80.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/0.8583, allocations: 459.8 kB / 370.5 MB, free: 80.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.505e-05/0.8585, allocations: 9.188 kB / 370.5 MB, free: 80.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.8585, allocations: 40.31 kB / 370.6 MB, free: 80.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 7.133e-06/0.8586, allocations: 0 / 370.6 MB, free: 80.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.005531/0.8641, allocations: 1.57 MB / 372.2 MB, free: 80.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.8642, allocations: 55.31 kB / 372.2 MB, free: 80.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.8658, allocations: 0.607 MB / 372.8 MB, free: 80.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.866, allocations: 35.23 kB / 372.8 MB, free: 80.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005967/0.8666, allocations: 0.6187 MB / 373.5 MB, free: 79.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.8669, allocations: 160.6 kB / 373.6 MB, free: 79.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.8669, allocations: 6.812 kB / 373.6 MB, free: 79.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.8671, allocations: 373.4 kB / 374 MB, free: 79.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007578/0.8679, allocations: 257.9 kB / 374.2 MB, free: 79.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008319/0.8687, allocations: 388.6 kB / 374.6 MB, free: 79.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008841/0.8696, allocations: 326.5 kB / 374.9 MB, free: 79.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.8697, allocations: 3.188 kB / 374.9 MB, free: 79.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002412/0.8721, allocations: 0.8164 MB / 375.8 MB, free: 79.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.8722, allocations: 3.375 kB / 375.8 MB, free: 79.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.8722, allocations: 7.594 kB / 375.8 MB, free: 79.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/0.8727, allocations: 109.7 kB / 375.9 MB, free: 79.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.8739, allocations: 114.3 kB / 376 MB, free: 79.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.8776, allocations: 2.135 MB / 378.1 MB, free: 77.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.8788, allocations: 36.09 kB / 378.2 MB, free: 77.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.62e-05/0.8789, allocations: 18.41 kB / 378.2 MB, free: 77.99 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.0002313/0.8791, allocations: 140.8 kB / 378.3 MB, free: 77.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.8793, allocations: 66.61 kB / 378.4 MB, free: 77.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.8796, allocations: 77.27 kB / 378.5 MB, free: 77.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.8797, allocations: 6.406 kB / 378.5 MB, free: 77.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.8797, allocations: 3.125 kB / 378.5 MB, free: 77.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.8797, allocations: 3.703 kB / 378.5 MB, free: 77.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006006/0.8857, allocations: 1.985 MB / 380.5 MB, free: 77.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.8858, allocations: 3.375 kB / 380.5 MB, free: 77.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008037/0.8866, allocations: 74.98 kB / 380.5 MB, free: 77.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000487/0.8871, allocations: 99.52 kB / 380.6 MB, free: 77.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.191e-05/0.8872, allocations: 14.59 kB / 380.6 MB, free: 77.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003398/0.8906, allocations: 2.085 MB / 382.7 MB, free: 76.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.8907, allocations: 5.219 kB / 382.7 MB, free: 76.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/0.8936, allocations: 1.111 MB / 383.8 MB, free: 75.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005554/0.8942, allocations: 202.3 kB / 384 MB, free: 75.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.8944, allocations: 13.58 kB / 384.1 MB, free: 75.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008948/0.8953, allocations: 42.91 kB / 384.1 MB, free: 75.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.8955, allocations: 46.03 kB / 384.1 MB, free: 75.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.8956, allocations: 13.5 kB / 384.2 MB, free: 75.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001153/0.8967, allocations: 487 kB / 384.6 MB, free: 75.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.8967, allocations: 3 kB / 384.6 MB, free: 75.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001693/0.8985, allocations: 204.3 kB / 384.8 MB, free: 75.44 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.003243/0.9017, allocations: 2.023 MB / 386.9 MB, free: 73.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.9039, allocations: 0.7128 MB / 387.6 MB, free: 73.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.904, allocations: 6.625 kB / 387.6 MB, free: 73.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.9053, allocations: 441.1 kB / 388 MB, free: 73.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.9071, allocations: 153.5 kB / 388.2 MB, free: 73.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007462/0.9146, allocations: 2.228 MB / 390.4 MB, free: 72.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/0.9162, allocations: 1.45 MB / 391.8 MB, free: 71.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001054/0.9173, allocations: 167.4 kB / 392 MB, free: 71.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009018/0.9182, allocations: 403.8 kB / 392.4 MB, free: 71.34 MB / 314.7 MB Notification: Performance of SimCode: time 1.362e-06/0.9182, allocations: 0 / 392.4 MB, free: 71.34 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05741/0.9757, allocations: 16.62 MB / 409 MB, free: 60.52 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002521/0.976, allocations: 185.8 kB / 409.2 MB, free: 60.29 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.899/3.875, allocations: 3.938 kB / 409.2 MB, free: 60.28 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