Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.584/2.584, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.35e-05, allocations: 0 / 299.5 MB, free: 6.363 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3896, allocations: 54.87 MB / 354.3 MB, free: 124 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.5538, allocations: 81.75 MB / 436.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.5541, allocations: 63.97 kB / 436.2 MB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01468/0.5688, allocations: 2.73 MB / 438.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5689, allocations: 0 / 438.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.5689, allocations: 4 kB / 438.9 MB, free: 11.46 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0009151/0.5698, allocations: 418.3 kB / 439.3 MB, free: 11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.5699, allocations: 8.031 kB / 439.3 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.439e-05/0.57, allocations: 19.77 kB / 439.3 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.5704, allocations: 211.1 kB / 439.5 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.5704, allocations: 8 kB / 439.5 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.5705, allocations: 4 kB / 439.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003306/0.5708, allocations: 68.56 kB / 439.6 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.5712, allocations: 103.6 kB / 439.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.5712, allocations: 0 / 439.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.5712, allocations: 0 / 439.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.5713, allocations: 7.953 kB / 439.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.5727, allocations: 0.5192 MB / 440.2 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.573, allocations: 62.52 kB / 440.3 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.912e-05/0.5731, allocations: 16.98 kB / 440.3 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.5731, allocations: 4 kB / 440.3 MB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.5732, allocations: 30.56 kB / 440.4 MB, free: 9.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.274e-06/0.5732, allocations: 0 / 440.4 MB, free: 9.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002785/0.5735, allocations: 61.59 kB / 440.4 MB, free: 9.762 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.5736, allocations: 63.34 kB / 440.5 MB, free: 9.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.5738, allocations: 122.1 kB / 440.6 MB, free: 9.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.5738, allocations: 29.64 kB / 440.6 MB, free: 9.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.574, allocations: 139.5 kB / 440.8 MB, free: 9.387 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.574, allocations: 23.66 kB / 440.8 MB, free: 9.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.574, allocations: 0 / 440.8 MB, free: 9.363 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5742, allocations: 318.8 kB / 441.1 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.913e-05/0.5743, allocations: 16 kB / 441.1 MB, free: 9.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.5744, allocations: 44.23 kB / 441.2 MB, free: 8.969 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.601e-05/0.5746, allocations: 27.98 kB / 441.2 MB, free: 8.941 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5746, allocations: 0 / 441.2 MB, free: 8.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002958/0.5749, allocations: 85.53 kB / 441.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.5749, allocations: 8 kB / 441.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.5749, allocations: 3.953 kB / 441.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.575, allocations: 4 kB / 441.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.5753, allocations: 36.03 kB / 441.3 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.5753, allocations: 4 kB / 441.3 MB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.5755, allocations: 8 kB / 441.3 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.5756, allocations: 4 kB / 441.3 MB, free: 8.785 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.5757, allocations: 101 kB / 441.4 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002009/0.5759, allocations: 65.53 kB / 441.5 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.576, allocations: 11.86 kB / 441.5 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.576, allocations: 16.39 kB / 441.5 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.5761, allocations: 4 kB / 441.5 MB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5761, allocations: 0 / 441.5 MB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5761, allocations: 0 / 441.5 MB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.5764, allocations: 178.1 kB / 441.7 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5765, allocations: 0 / 441.7 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.5767, allocations: 15.98 kB / 441.7 MB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5767, allocations: 0 / 441.7 MB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/0.5767, allocations: 4.078 kB / 441.7 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.5768, allocations: 15.94 kB / 441.7 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5768, allocations: 0 / 441.7 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.577, allocations: 159.4 kB / 441.9 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.5771, allocations: 81.02 kB / 442 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.5772, allocations: 4 kB / 442 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.5774, allocations: 11.94 kB / 442 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.5775, allocations: 4 kB / 442 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.5775, allocations: 4 kB / 442 MB, free: 8.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.5776, allocations: 103.3 kB / 442.1 MB, free: 7.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5777, allocations: 0 / 442.1 MB, free: 7.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006152/0.5783, allocations: 23.91 kB / 442.1 MB, free: 7.914 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006668/0.579, allocations: 0.6928 MB / 442.8 MB, free: 7.195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.5792, allocations: 43.94 kB / 442.9 MB, free: 7.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5792, allocations: 3.938 kB / 442.9 MB, free: 7.148 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/0.5793, allocations: 23.92 kB / 442.9 MB, free: 7.125 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.5797, allocations: 7.953 kB / 442.9 MB, free: 7.117 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000922/0.5806, allocations: 166.4 kB / 443 MB, free: 6.914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.5811, allocations: 0.716 MB / 443.8 MB, free: 6.172 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.975e-05/0.5812, allocations: 7.953 kB / 443.8 MB, free: 6.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.5813, allocations: 39.42 kB / 443.8 MB, free: 6.125 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5814, allocations: 0 / 443.8 MB, free: 6.125 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.6176, allocations: 1.509 MB / 445.3 MB, free: 4.621 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/0.6179, allocations: 117.8 kB / 445.4 MB, free: 4.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/2.887, allocations: 0 / 445.4 MB, free: 4.43 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat