Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.117/2.117, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.654e-05/3.659e-05, allocations: 0 / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 44.5 MB / 300 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5294, allocations: 77.87 MB / 377.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.5297, allocations: 72.38 kB / 377.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07995/0.6097, allocations: 21.17 MB / 399.1 MB, free: 9.691 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6098, allocations: 0 / 399.1 MB, free: 9.691 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000142/0.61, allocations: 38.94 kB / 399.1 MB, free: 9.68 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.005001/0.615, allocations: 1.419 MB / 400.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.6151, allocations: 11.62 kB / 400.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006112/0.6157, allocations: 214.4 kB / 400.7 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007611/0.6165, allocations: 175.6 kB / 400.9 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.619, allocations: 0.9238 MB / 401.8 MB, free: 8.176 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.932e-05/0.6191, allocations: 102 kB / 401.9 MB, free: 8.172 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/0.6194, allocations: 143.5 kB / 402.1 MB, free: 8.168 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003967/0.6234, allocations: 1.772 MB / 403.8 MB, free: 7.691 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.072e-05/0.6235, allocations: 0 / 403.8 MB, free: 7.691 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/0.6237, allocations: 61.62 kB / 403.9 MB, free: 7.691 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.6237, allocations: 34.19 kB / 403.9 MB, free: 7.691 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003558/0.6273, allocations: 1.291 MB / 405.2 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/0.6397, allocations: 5.012 MB / 410.2 MB, free: 5.371 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.6409, allocations: 0.9546 MB / 411.2 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.642, allocations: 474.1 kB / 411.7 MB, free: 4.641 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.053e-05/0.6421, allocations: 7.344 kB / 411.7 MB, free: 4.641 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.6421, allocations: 37.97 kB / 411.7 MB, free: 4.598 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.166e-06/0.6422, allocations: 0 / 411.7 MB, free: 4.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.003718/0.6459, allocations: 1.552 MB / 413.3 MB, free: 3.918 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.646, allocations: 59.27 kB / 413.3 MB, free: 3.852 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.6471, allocations: 0.5987 MB / 413.9 MB, free: 3.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.968e-05/0.6472, allocations: 36.45 kB / 414 MB, free: 3.625 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.6476, allocations: 0.6456 MB / 414.6 MB, free: 3.156 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.6477, allocations: 147.2 kB / 414.7 MB, free: 3.051 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.6478, allocations: 9.625 kB / 414.7 MB, free: 3.051 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.6479, allocations: 335.8 kB / 415.1 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.6484, allocations: 259.2 kB / 415.3 MB, free: 2.691 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.649, allocations: 388.5 kB / 415.7 MB, free: 2.504 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.6496, allocations: 326.7 kB / 416 MB, free: 2.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6497, allocations: 0 / 416 MB, free: 2.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001684/0.6514, allocations: 0.7847 MB / 416.8 MB, free: 2.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.6514, allocations: 9.594 kB / 416.8 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.6514, allocations: 3.875 kB / 416.8 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004234/0.6519, allocations: 110 kB / 416.9 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008591/0.6528, allocations: 112.6 kB / 417 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.6554, allocations: 2.129 MB / 419.2 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/0.6562, allocations: 30.84 kB / 419.2 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.6563, allocations: 18.88 kB / 419.2 MB, free: 0.6445 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.0001682/0.6565, allocations: 140.8 kB / 419.4 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.6566, allocations: 66.14 kB / 419.4 MB, free: 500 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.6569, allocations: 74.88 kB / 419.5 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.6569, allocations: 3.906 kB / 419.5 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.6569, allocations: 3.875 kB / 419.5 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.6569, allocations: 3.984 kB / 419.5 MB, free: 476 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004708/0.6616, allocations: 1.986 MB / 421.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.6617, allocations: 7.938 kB / 421.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/0.6623, allocations: 77.36 kB / 421.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003977/0.6627, allocations: 96.19 kB / 421.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/0.6628, allocations: 14.56 kB / 421.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/0.6658, allocations: 2.088 MB / 423.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6659, allocations: 0 / 423.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.6682, allocations: 1.114 MB / 424.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000492/0.6687, allocations: 198.3 kB / 425.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.6688, allocations: 15.56 kB / 425.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006473/0.6695, allocations: 44.28 kB / 425.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.6697, allocations: 36.36 kB / 425.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.6697, allocations: 10.22 kB / 425.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009474/0.6707, allocations: 486.4 kB / 425.7 MB, free: 13.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6707, allocations: 4 kB / 425.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001227/0.672, allocations: 205.6 kB / 425.9 MB, free: 13.34 MB / 330.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.00289/0.6749, allocations: 2.011 MB / 427.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.6767, allocations: 0.7092 MB / 428.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/0.6768, allocations: 4.938 kB / 428.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.6779, allocations: 444.3 kB / 429 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.6794, allocations: 159.1 kB / 429.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006129/0.6856, allocations: 2.193 MB / 431.4 MB, free: 9.797 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.6871, allocations: 1.412 MB / 432.8 MB, free: 8.719 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009788/0.6882, allocations: 413.9 kB / 433.2 MB, free: 8.352 MB / 330.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6882, allocations: 0 / 433.2 MB, free: 8.352 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.178/3.866, allocations: 25.32 MB / 458.5 MB, free: 2.723 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat