Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.458/2.458, allocations: 235.1 MB / 242.3 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.944e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3595, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.585, allocations: 332.6 MB / 0.671 GB, free: 135.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.586, allocations: 96.55 kB / 0.6711 GB, free: 135.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.296/3.882, allocations: 444.5 MB / 1.105 GB, free: 58.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.014e-06/3.882, allocations: 0 / 1.105 GB, free: 58.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001635/3.883, allocations: 48.97 kB / 1.105 GB, free: 58.78 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.006325/3.889, allocations: 1.916 MB / 1.107 GB, free: 57.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/3.889, allocations: 13.77 kB / 1.107 GB, free: 57.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/3.891, allocations: 232.4 kB / 1.107 GB, free: 57.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/3.895, allocations: 1.181 MB / 1.108 GB, free: 57.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.129e-05/3.895, allocations: 42.69 kB / 1.108 GB, free: 57.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/3.895, allocations: 75.38 kB / 1.109 GB, free: 57.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003409/3.898, allocations: 1.371 MB / 1.11 GB, free: 57.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003619/3.902, allocations: 1.59 MB / 1.111 GB, free: 56.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.545e-05/3.902, allocations: 8.438 kB / 1.111 GB, free: 56.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002925/3.902, allocations: 6.938 kB / 1.111 GB, free: 56.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.845e-05/3.903, allocations: 34.31 kB / 1.111 GB, free: 56.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01477/3.917, allocations: 10.89 MB / 1.122 GB, free: 48.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/3.919, allocations: 0.5059 MB / 1.123 GB, free: 48.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006476/3.919, allocations: 285.8 kB / 1.123 GB, free: 48.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006578/3.926, allocations: 4.3 MB / 1.127 GB, free: 45.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/3.926, allocations: 41.41 kB / 1.127 GB, free: 45.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 3.527e-06/3.926, allocations: 2.969 kB / 1.127 GB, free: 45.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.007082/3.933, allocations: 0.9157 MB / 1.128 GB, free: 45.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/3.933, allocations: 373.2 kB / 1.128 GB, free: 44.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/3.935, allocations: 1.01 MB / 1.129 GB, free: 44.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/3.935, allocations: 25.7 kB / 1.129 GB, free: 44.35 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007617/3.936, allocations: 0.9951 MB / 1.13 GB, free: 43.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/3.936, allocations: 160.4 kB / 1.13 GB, free: 43.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/3.936, allocations: 2.031 kB / 1.13 GB, free: 43.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/3.936, allocations: 366 kB / 1.131 GB, free: 43.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006131/3.937, allocations: 235.6 kB / 1.131 GB, free: 43.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/3.938, allocations: 1.3 MB / 1.132 GB, free: 42.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006379/3.945, allocations: 0.9438 MB / 1.133 GB, free: 41.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-05/3.945, allocations: 11.47 kB / 1.133 GB, free: 41.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.008916/3.954, allocations: 1.797 MB / 1.135 GB, free: 41.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.47e-05/3.954, allocations: 22.41 kB / 1.135 GB, free: 41.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.046e-05/3.954, allocations: 34.03 kB / 1.135 GB, free: 41.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.262e-05/3.954, allocations: 54.28 kB / 1.135 GB, free: 41.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008255/3.962, allocations: 0.6933 MB / 1.136 GB, free: 41.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/3.964, allocations: 1.929 MB / 1.138 GB, free: 39.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002873/3.967, allocations: 238.6 kB / 1.138 GB, free: 39.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/3.967, allocations: 113 kB / 1.138 GB, free: 39.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003223/3.968, allocations: 196.4 kB / 1.138 GB, free: 39.62 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006125/3.974, allocations: 0.927 MB / 1.139 GB, free: 39.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/3.974, allocations: 141.3 kB / 1.139 GB, free: 39.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006249/3.98, allocations: 1.441 MB / 1.141 GB, free: 39.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/3.98, allocations: 6.844 kB / 1.141 GB, free: 39.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/3.98, allocations: 0 / 1.141 GB, free: 39.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/3.98, allocations: 4.531 kB / 1.141 GB, free: 39.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/3.983, allocations: 0.8302 MB / 1.141 GB, free: 39.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/3.983, allocations: 3.938 kB / 1.141 GB, free: 39.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/3.984, allocations: 194 kB / 1.142 GB, free: 39.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003646/3.985, allocations: 38.27 kB / 1.142 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.553e-05/3.985, allocations: 14.12 kB / 1.142 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/3.986, allocations: 1.781 MB / 1.143 GB, free: 37.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/3.986, allocations: 0 / 1.143 GB, free: 37.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004026/3.99, allocations: 0.9708 MB / 1.144 GB, free: 37.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005921/3.991, allocations: 261.2 kB / 1.145 GB, free: 36.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004509/3.991, allocations: 3.312 kB / 1.145 GB, free: 36.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/3.993, allocations: 48.33 kB / 1.145 GB, free: 36.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/3.993, allocations: 42.7 kB / 1.145 GB, free: 36.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/3.993, allocations: 31.34 kB / 1.145 GB, free: 36.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001438/3.994, allocations: 0.7538 MB / 1.146 GB, free: 36.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.91e-07/3.994, allocations: 0 / 1.146 GB, free: 36.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003977/3.998, allocations: 0.7489 MB / 1.146 GB, free: 36.67 MB / 490.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 (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.007117/4.005, allocations: 2.536 MB / 1.149 GB, free: 35.58 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00767/4.013, allocations: 1.062 MB / 1.15 GB, free: 35.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/4.013, allocations: 3.969 kB / 1.15 GB, free: 35.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001552/4.015, allocations: 348.7 kB / 1.15 GB, free: 35.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004855/4.02, allocations: 0.5292 MB / 1.151 GB, free: 35.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007842/4.027, allocations: 2.352 MB / 1.153 GB, free: 34.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008293/4.028, allocations: 1.279 MB / 1.154 GB, free: 34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002537/4.031, allocations: 378.2 kB / 1.155 GB, free: 33.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/4.032, allocations: 0.5943 MB / 1.155 GB, free: 33.88 MB / 490.7 MB Notification: Performance of SimCode: time 1.553e-06/4.032, allocations: 4 kB / 1.155 GB, free: 33.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1366/4.169, allocations: 42.83 MB / 1.197 GB, free: 4.129 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002982/4.169, allocations: 213.2 kB / 1.197 GB, free: 3.836 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.55/8.719, allocations: 4 kB / 1.197 GB, free: 3.832 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat does not exist to compare? outputFormat=mat