Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.763/1.763, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.817e-05, allocations: 4 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2833, allocations: 38.76 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.4131, allocations: 72.52 MB / 336.3 MB, free: 1.238 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.4134, allocations: 75.95 kB / 336.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.101/0.5144, allocations: 21.48 MB / 357.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5145, allocations: 0 / 357.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001418/0.5147, allocations: 39.94 kB / 357.9 MB, free: 11.51 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.005246/0.5199, allocations: 1.417 MB / 359.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.52, allocations: 8.031 kB / 359.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005987/0.5206, allocations: 214.9 kB / 359.6 MB, free: 9.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009816/0.5216, allocations: 174.2 kB / 359.7 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003376/0.525, allocations: 0.9389 MB / 360.7 MB, free: 8.668 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.5252, allocations: 102.8 kB / 360.8 MB, free: 8.566 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004678/0.5257, allocations: 132 kB / 360.9 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004933/0.5307, allocations: 1.79 MB / 362.7 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.015e-05/0.5308, allocations: 0 / 362.7 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/0.531, allocations: 60 kB / 362.8 MB, free: 6.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.492e-05/0.531, allocations: 40 kB / 362.8 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003645/0.5347, allocations: 1.311 MB / 364.1 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.245/0.7797, allocations: 5.005 MB / 369.1 MB, free: 81.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.7814, allocations: 0.9502 MB / 370.1 MB, free: 81.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.7828, allocations: 467.2 kB / 370.5 MB, free: 81.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/0.7829, allocations: 8.984 kB / 370.5 MB, free: 81.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.7829, allocations: 36.72 kB / 370.6 MB, free: 81.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.537e-06/0.7829, allocations: 0 / 370.6 MB, free: 81.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.003713/0.7866, allocations: 1.568 MB / 372.1 MB, free: 80.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.7867, allocations: 55.38 kB / 372.2 MB, free: 80.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.7877, allocations: 0.6141 MB / 372.8 MB, free: 80.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.7878, allocations: 34.55 kB / 372.8 MB, free: 80.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.7882, allocations: 0.6366 MB / 373.5 MB, free: 80.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.7883, allocations: 159 kB / 373.6 MB, free: 80.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.7884, allocations: 10.91 kB / 373.6 MB, free: 80.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.939e-05/0.7885, allocations: 332 kB / 374 MB, free: 79.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/0.789, allocations: 263.6 kB / 374.2 MB, free: 79.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005898/0.7896, allocations: 395.4 kB / 374.6 MB, free: 79.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/0.7903, allocations: 327.2 kB / 374.9 MB, free: 79.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.7903, allocations: 0 / 374.9 MB, free: 79.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001662/0.7919, allocations: 0.7838 MB / 375.7 MB, free: 79.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.792, allocations: 7.156 kB / 375.7 MB, free: 79.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.792, allocations: 6.547 kB / 375.7 MB, free: 79.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004045/0.7924, allocations: 106.2 kB / 375.8 MB, free: 79.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000822/0.7933, allocations: 120 kB / 375.9 MB, free: 79.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.7958, allocations: 2.13 MB / 378.1 MB, free: 78.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/0.7965, allocations: 33.69 kB / 378.1 MB, free: 78.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.7966, allocations: 26.06 kB / 378.1 MB, free: 78.22 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.0001532/0.7967, allocations: 130.4 kB / 378.3 MB, free: 78.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.7969, allocations: 64.61 kB / 378.3 MB, free: 78.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.7971, allocations: 89.81 kB / 378.4 MB, free: 78.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.7971, allocations: 3.219 kB / 378.4 MB, free: 78.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.7971, allocations: 6.438 kB / 378.4 MB, free: 78.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.7972, allocations: 0 / 378.4 MB, free: 78.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/0.8014, allocations: 1.99 MB / 380.4 MB, free: 77.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.8014, allocations: 6.219 kB / 380.4 MB, free: 77.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.802, allocations: 79.2 kB / 380.5 MB, free: 77.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003459/0.8024, allocations: 90.02 kB / 380.6 MB, free: 77.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.8024, allocations: 17.91 kB / 380.6 MB, free: 77.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.8048, allocations: 2.081 MB / 382.7 MB, free: 76.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.8049, allocations: 0 / 382.7 MB, free: 76.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/0.8074, allocations: 1.117 MB / 383.8 MB, free: 76.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007519/0.8082, allocations: 197.5 kB / 384 MB, free: 75.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.8084, allocations: 15.12 kB / 384 MB, free: 75.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/0.8092, allocations: 48.62 kB / 384.1 MB, free: 75.9 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.8093, allocations: 30.86 kB / 384.1 MB, free: 75.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.8094, allocations: 17.55 kB / 384.1 MB, free: 75.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008244/0.8102, allocations: 486.8 kB / 384.6 MB, free: 75.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8102, allocations: 2.438 kB / 384.6 MB, free: 75.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001027/0.8112, allocations: 203.9 kB / 384.8 MB, free: 75.71 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.0022/0.8135, allocations: 2.032 MB / 386.8 MB, free: 74.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.815, allocations: 0.7285 MB / 387.5 MB, free: 73.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.815, allocations: 3.562 kB / 387.5 MB, free: 73.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009069/0.8159, allocations: 456.4 kB / 388 MB, free: 73.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.8172, allocations: 159.8 kB / 388.1 MB, free: 73.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/0.8219, allocations: 2.184 MB / 390.3 MB, free: 72.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.823, allocations: 1.424 MB / 391.8 MB, free: 71.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000698/0.8237, allocations: 405.4 kB / 392.1 MB, free: 71.61 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.8237, allocations: 0 / 392.1 MB, free: 71.61 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.067/3.891, allocations: 25.43 MB / 417.6 MB, free: 52.12 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat