Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.714/2.714, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.536e-05/4.54e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1407, allocations: 61.9 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.186/9.327, allocations: 2.77 GB / 3.171 GB, free: 79.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/9.327, allocations: 87.08 kB / 3.171 GB, free: 79.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.186/11.51, allocations: 360.7 MB / 3.523 GB, free: 71.39 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.384e-06/11.51, allocations: 0 / 3.523 GB, free: 71.39 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.437e-05/11.51, allocations: 17.45 kB / 3.523 GB, free: 71.38 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.00871/11.52, allocations: 1.653 MB / 3.525 GB, free: 70.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/11.52, allocations: 14.28 kB / 3.525 GB, free: 70.62 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003598/11.52, allocations: 107.5 kB / 3.525 GB, free: 70.58 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005382/11.53, allocations: 442.6 kB / 3.525 GB, free: 70.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/11.53, allocations: 0.5611 MB / 3.526 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/11.53, allocations: 114 kB / 3.526 GB, free: 70.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/11.53, allocations: 60.28 kB / 3.526 GB, free: 70.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003983/11.53, allocations: 1.139 MB / 3.527 GB, free: 70.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/11.53, allocations: 6.469 kB / 3.527 GB, free: 70.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/11.53, allocations: 27.22 kB / 3.527 GB, free: 70.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.458e-05/11.53, allocations: 28.59 kB / 3.527 GB, free: 70.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003768/11.54, allocations: 0.9989 MB / 3.528 GB, free: 70.03 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/11.55, allocations: 4.996 MB / 3.533 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00326/11.55, allocations: 0.8651 MB / 3.534 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007967/11.55, allocations: 331 kB / 3.534 GB, free: 67.08 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07883/11.63, allocations: 24.16 MB / 3.558 GB, free: 52.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/11.63, allocations: 47.19 kB / 3.558 GB, free: 52.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 4.047e-06/11.63, allocations: 3.375 kB / 3.558 GB, free: 52.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.005674/11.64, allocations: 1.314 MB / 3.559 GB, free: 52.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/11.64, allocations: 111.6 kB / 3.559 GB, free: 52.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009805/11.64, allocations: 0.5133 MB / 3.56 GB, free: 52.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/11.64, allocations: 36.92 kB / 3.56 GB, free: 52.01 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/11.64, allocations: 319.1 kB / 3.56 GB, free: 51.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/11.64, allocations: 163.9 kB / 3.56 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/11.64, allocations: 11.78 kB / 3.56 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000128/11.64, allocations: 376.6 kB / 3.56 GB, free: 51.31 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006876/11.64, allocations: 272.9 kB / 3.561 GB, free: 51.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007885/11.64, allocations: 432.9 kB / 3.561 GB, free: 50.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/11.64, allocations: 307.1 kB / 3.561 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/11.64, allocations: 0 / 3.561 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002605/11.65, allocations: 0.9355 MB / 3.562 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/11.65, allocations: 7.594 kB / 3.562 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/11.65, allocations: 3.781 kB / 3.562 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/11.65, allocations: 402.6 kB / 3.563 GB, free: 50.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009147/11.65, allocations: 117.3 kB / 3.563 GB, free: 50.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/11.65, allocations: 1.593 MB / 3.564 GB, free: 49.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/11.65, allocations: 118.7 kB / 3.564 GB, free: 49.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/11.65, allocations: 33.5 kB / 3.564 GB, free: 49.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002874/11.65, allocations: 140.3 kB / 3.565 GB, free: 48.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/11.65, allocations: 63.72 kB / 3.565 GB, free: 48.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008049/11.66, allocations: 3.508 MB / 3.568 GB, free: 47.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-05/11.66, allocations: 42.45 kB / 3.568 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/11.66, allocations: 0 / 3.568 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/11.66, allocations: 5.297 kB / 3.568 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/11.66, allocations: 1.573 MB / 3.57 GB, free: 46.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/11.66, allocations: 0 / 3.57 GB, free: 46.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007454/11.66, allocations: 92.72 kB / 3.57 GB, free: 46.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002272/11.67, allocations: 1.064 MB / 3.571 GB, free: 46.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/11.67, allocations: 15.38 kB / 3.571 GB, free: 46.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/11.67, allocations: 2.323 MB / 3.573 GB, free: 44.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/11.67, allocations: 5.938 kB / 3.573 GB, free: 44.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007461/11.68, allocations: 2.463 MB / 3.576 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/11.68, allocations: 350.5 kB / 3.576 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/11.68, allocations: 14.92 kB / 3.576 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002178/11.68, allocations: 68.98 kB / 3.576 GB, free: 43.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000471/11.68, allocations: 69.8 kB / 3.576 GB, free: 43.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/11.68, allocations: 22.95 kB / 3.576 GB, free: 43.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001632/11.68, allocations: 0.4961 MB / 3.576 GB, free: 43.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.72e-07/11.68, allocations: 3.969 kB / 3.576 GB, free: 43.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009671/11.69, allocations: 1.209 MB / 3.578 GB, free: 42.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.02252/11.72, allocations: 4.031 MB / 3.582 GB, free: 41.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004486/11.72, allocations: 1.022 MB / 3.583 GB, free: 40.89 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/11.72, allocations: 3.156 kB / 3.583 GB, free: 40.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003/11.72, allocations: 0.8243 MB / 3.583 GB, free: 40.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005097/11.73, allocations: 342.8 kB / 3.584 GB, free: 40.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/11.74, allocations: 2.446 MB / 3.586 GB, free: 39.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/11.74, allocations: 1.177 MB / 3.587 GB, free: 38.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001694/11.74, allocations: 359.7 kB / 3.588 GB, free: 38.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009486/11.74, allocations: 398.3 kB / 3.588 GB, free: 38.37 MB / 0.5261 GB Notification: Performance of SimCode: time 2.254e-06/11.74, allocations: 0 / 3.588 GB, free: 38.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1356/11.88, allocations: 57.22 MB / 3.644 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/11.88, allocations: 225 kB / 3.644 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.25/17.13, allocations: 0 / 3.644 GB, free: 7.418 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat