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.826/1.826, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 6.722e-05/6.73e-05, allocations: 11.42 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3708, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.5053, allocations: 72.54 MB / 336.4 MB, free: 1.227 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.5057, allocations: 79.89 kB / 336.5 MB, free: 1.148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09379/0.5995, allocations: 21.47 MB / 357.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5996, allocations: 0 / 357.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001444/0.5997, allocations: 39.94 kB / 358 MB, free: 11.5 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.005171/0.6049, allocations: 1.42 MB / 359.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.605, allocations: 12.03 kB / 359.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008053/0.6058, allocations: 210.9 kB / 359.6 MB, free: 9.809 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.6069, allocations: 174.2 kB / 359.8 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002954/0.6099, allocations: 0.9389 MB / 360.7 MB, free: 8.656 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.6101, allocations: 102.8 kB / 360.8 MB, free: 8.555 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005663/0.6107, allocations: 132 kB / 361 MB, free: 8.426 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005657/0.6164, allocations: 1.777 MB / 362.7 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.892e-05/0.6165, allocations: 0 / 362.7 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002417/0.6167, allocations: 63.98 kB / 362.8 MB, free: 6.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/0.6168, allocations: 32 kB / 362.8 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004528/0.6213, allocations: 1.298 MB / 364.1 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.6364, allocations: 5.018 MB / 369.1 MB, free: 0 / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2266/0.8631, allocations: 0.9375 MB / 370.1 MB, free: 82.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.8647, allocations: 463.3 kB / 370.5 MB, free: 82.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.348e-05/0.8648, allocations: 4.188 kB / 370.5 MB, free: 82.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.8649, allocations: 39.98 kB / 370.6 MB, free: 82.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 4.018e-06/0.8649, allocations: 0.5625 kB / 370.6 MB, free: 82.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.004363/0.8693, allocations: 1.565 MB / 372.1 MB, free: 81.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.8694, allocations: 56.88 kB / 372.2 MB, free: 81.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.8706, allocations: 0.6116 MB / 372.8 MB, free: 81.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.8708, allocations: 30.08 kB / 372.8 MB, free: 81.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/0.8712, allocations: 0.6484 MB / 373.5 MB, free: 81.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.8714, allocations: 156.3 kB / 373.6 MB, free: 81.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.8714, allocations: 10.28 kB / 373.6 MB, free: 81.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.438e-05/0.8715, allocations: 329.4 kB / 374 MB, free: 80.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/0.8721, allocations: 259.6 kB / 374.2 MB, free: 80.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.8727, allocations: 387.6 kB / 374.6 MB, free: 80.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.8734, allocations: 328.5 kB / 374.9 MB, free: 80.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.8734, allocations: 0 / 374.9 MB, free: 80.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001768/0.8752, allocations: 0.7828 MB / 375.7 MB, free: 80.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.8753, allocations: 6.938 kB / 375.7 MB, free: 80.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.8753, allocations: 5.562 kB / 375.7 MB, free: 80.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004328/0.8757, allocations: 103.6 kB / 375.8 MB, free: 80.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009109/0.8767, allocations: 120.5 kB / 375.9 MB, free: 80.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/0.8795, allocations: 2.127 MB / 378.1 MB, free: 79.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007902/0.8803, allocations: 32.94 kB / 378.1 MB, free: 79.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.8804, allocations: 18.75 kB / 378.1 MB, free: 79.23 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.0001914/0.8806, allocations: 140.6 kB / 378.2 MB, free: 79.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.8808, allocations: 61.09 kB / 378.3 MB, free: 79.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.8811, allocations: 81.94 kB / 378.4 MB, free: 79.08 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.8811, allocations: 7.031 kB / 378.4 MB, free: 79.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.8811, allocations: 7.578 kB / 378.4 MB, free: 79.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.8811, allocations: 0 / 378.4 MB, free: 79.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004878/0.886, allocations: 1.987 MB / 380.4 MB, free: 78.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.8861, allocations: 3.438 kB / 380.4 MB, free: 78.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/0.8867, allocations: 71.09 kB / 380.5 MB, free: 78.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/0.8871, allocations: 106.2 kB / 380.6 MB, free: 78.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/0.8872, allocations: 14.36 kB / 380.6 MB, free: 78.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.8898, allocations: 2.086 MB / 382.7 MB, free: 77.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.8899, allocations: 0 / 382.7 MB, free: 77.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.892, allocations: 1.112 MB / 383.8 MB, free: 76.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/0.8926, allocations: 202.6 kB / 384 MB, free: 76.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.8928, allocations: 11.41 kB / 384 MB, free: 76.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/0.8935, allocations: 37.94 kB / 384 MB, free: 76.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.8936, allocations: 44.05 kB / 384.1 MB, free: 76.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.8937, allocations: 17.84 kB / 384.1 MB, free: 76.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009318/0.8946, allocations: 483.5 kB / 384.6 MB, free: 76.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.8947, allocations: 0 / 384.6 MB, free: 76.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001375/0.896, allocations: 203.8 kB / 384.8 MB, free: 76.48 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.002553/0.8986, allocations: 2.022 MB / 386.8 MB, free: 75.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.9004, allocations: 0.7153 MB / 387.5 MB, free: 74.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.9005, allocations: 0 / 387.5 MB, free: 74.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.9015, allocations: 446.8 kB / 387.9 MB, free: 74.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.903, allocations: 152.4 kB / 388.1 MB, free: 74.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/0.9092, allocations: 2.19 MB / 390.3 MB, free: 73.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.9104, allocations: 1.426 MB / 391.7 MB, free: 72.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009933/0.9114, allocations: 410.7 kB / 392.1 MB, free: 72.39 MB / 314.7 MB Notification: Performance of SimCode: time 1.854e-06/0.9115, allocations: 3.281 kB / 392.1 MB, free: 72.39 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.131/4.042, allocations: 25.33 MB / 417.4 MB, free: 52.46 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