Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_FluxTubes_Sources",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.605/2.605, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.325e-05/2.326e-05, allocations: 0 / 299.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4405, allocations: 54.85 MB / 354.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.6011, allocations: 82.18 MB / 436.6 MB, free: 0 / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.6015, allocations: 68.02 kB / 436.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03554/0.637, allocations: 6.805 MB / 443.5 MB, free: 9.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6371, allocations: 0 / 443.5 MB, free: 9.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.6371, allocations: 8 kB / 443.5 MB, free: 9.094 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001629/0.6388, allocations: 0.588 MB / 444.1 MB, free: 8.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.6388, allocations: 16.03 kB / 444.1 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.639, allocations: 43.48 kB / 444.1 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005649/0.6396, allocations: 284.2 kB / 444.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.6396, allocations: 12 kB / 444.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.6397, allocations: 16 kB / 444.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006794/0.6404, allocations: 189.5 kB / 444.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007408/0.6411, allocations: 270.4 kB / 444.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.6412, allocations: 7.953 kB / 444.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.6412, allocations: 0 / 444.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.6412, allocations: 8 kB / 444.9 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.6442, allocations: 1.217 MB / 446.1 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.6448, allocations: 158.6 kB / 446.3 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.645, allocations: 60.22 kB / 446.3 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.645, allocations: 7.953 kB / 446.3 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.6451, allocations: 30.56 kB / 446.4 MB, free: 5.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 3.105e-06/0.6451, allocations: 0 / 446.4 MB, free: 5.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005667/0.6457, allocations: 133.2 kB / 446.5 MB, free: 5.832 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/0.6457, allocations: 136.5 kB / 446.6 MB, free: 5.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003897/0.6462, allocations: 234.2 kB / 446.9 MB, free: 5.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.6462, allocations: 25.7 kB / 446.9 MB, free: 5.398 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.6464, allocations: 247.6 kB / 447.1 MB, free: 5.152 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.496e-05/0.6465, allocations: 51.34 kB / 447.2 MB, free: 5.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.6465, allocations: 0 / 447.2 MB, free: 5.102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.6467, allocations: 330.8 kB / 447.5 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.6469, allocations: 48.56 kB / 447.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.6471, allocations: 132.7 kB / 447.7 MB, free: 4.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.6474, allocations: 71.91 kB / 447.8 MB, free: 4.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.6474, allocations: 0 / 447.8 MB, free: 4.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006397/0.6481, allocations: 217.1 kB / 448 MB, free: 4.262 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.6481, allocations: 9.188 kB / 448 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.6481, allocations: 11.94 kB / 448 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.6482, allocations: 4 kB / 448 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.6489, allocations: 83.83 kB / 448.1 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.6489, allocations: 4.156 kB / 448.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/0.6494, allocations: 39.67 kB / 448.1 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.6495, allocations: 16 kB / 448.1 MB, free: 4.098 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001255/0.6496, allocations: 112.9 kB / 448.2 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004507/0.6501, allocations: 133.5 kB / 448.4 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.6502, allocations: 31.61 kB / 448.4 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.6503, allocations: 29.64 kB / 448.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.6504, allocations: 4 kB / 448.4 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6504, allocations: 0 / 448.4 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.6504, allocations: 4.172 kB / 448.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.6516, allocations: 0.5297 MB / 449 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.6516, allocations: 3.938 kB / 449 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.652, allocations: 52.06 kB / 449 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.652, allocations: 7.984 kB / 449 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.6521, allocations: 7.984 kB / 449 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.6521, allocations: 0 / 449 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.6521, allocations: 4 kB / 449 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.6526, allocations: 408.9 kB / 449.4 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.6528, allocations: 104.7 kB / 449.5 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.08e-05/0.6529, allocations: 7.922 kB / 449.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.6533, allocations: 19.98 kB / 449.6 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.6534, allocations: 11.98 kB / 449.6 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.6535, allocations: 4 kB / 449.6 MB, free: 2.473 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002721/0.6537, allocations: 178 kB / 449.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6538, allocations: 4 kB / 449.8 MB, free: 2.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000685/0.6545, allocations: 79.62 kB / 449.8 MB, free: 2.219 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.001029/0.6555, allocations: 1.346 MB / 451.2 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004617/0.656, allocations: 127.9 kB / 451.3 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.656, allocations: 0 / 451.3 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.6562, allocations: 51.88 kB / 451.4 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.6566, allocations: 17.44 kB / 451.4 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.6582, allocations: 397.4 kB / 451.8 MB, free: 176 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.6587, allocations: 0.7791 MB / 452.6 MB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.659, allocations: 21.84 kB / 452.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.6592, allocations: 95.41 kB / 452.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6593, allocations: 4 kB / 452.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04555/0.7048, allocations: 3.62 MB / 456.3 MB, free: 11.65 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0005269/0.7054, allocations: 134.4 kB / 456.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.765/3.47, allocations: 3.938 kB / 456.4 MB, free: 11.45 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat