Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.498/2.498, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.197e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4344, allocations: 44.48 MB / 294.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1759/0.6103, allocations: 77.46 MB / 371.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.6106, allocations: 75.95 kB / 371.8 MB, free: 4.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08656/0.6972, allocations: 13.63 MB / 385.4 MB, free: 6.559 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6973, allocations: 0 / 385.4 MB, free: 6.559 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.33e-05/0.6974, allocations: 12 kB / 385.5 MB, free: 6.547 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003592/0.701, allocations: 0.8802 MB / 386.3 MB, free: 5.609 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.096e-05/0.7011, allocations: 12.03 kB / 386.3 MB, free: 5.598 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004526/0.7016, allocations: 83.06 kB / 386.4 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.7031, allocations: 452 kB / 386.9 MB, free: 5.031 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/0.7035, allocations: 84.7 kB / 387 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002424/0.7037, allocations: 39.98 kB / 387 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001549/0.7053, allocations: 354.5 kB / 387.3 MB, free: 4.551 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.7071, allocations: 0.5343 MB / 387.9 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/0.7072, allocations: 0 / 387.9 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.7073, allocations: 4 kB / 387.9 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.7073, allocations: 12 kB / 387.9 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007133/0.7145, allocations: 1.777 MB / 389.7 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004214/0.7187, allocations: 0.6508 MB / 390.3 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008911/0.7197, allocations: 214.6 kB / 390.5 MB, free: 1.168 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.7199, allocations: 12.53 kB / 390.5 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.847e-05/0.7199, allocations: 55.08 kB / 390.6 MB, free: 1.094 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 4.949e-06/0.72, allocations: 0 / 390.6 MB, free: 1.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.004393/0.7244, allocations: 0.6528 MB / 391.2 MB, free: 440 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003634/0.7248, allocations: 0.5684 MB / 391.8 MB, free: 15.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.7259, allocations: 397.4 kB / 392.2 MB, free: 15.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001979/0.7261, allocations: 29.7 kB / 392.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.7265, allocations: 277.2 kB / 392.5 MB, free: 15.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003699/0.7269, allocations: 185.2 kB / 392.7 MB, free: 14.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.727, allocations: 4 kB / 392.7 MB, free: 14.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002432/0.7272, allocations: 362.8 kB / 393 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006367/0.7279, allocations: 153 kB / 393.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009193/0.7288, allocations: 359.5 kB / 393.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007467/0.7296, allocations: 185.5 kB / 393.7 MB, free: 13.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.7296, allocations: 0 / 393.7 MB, free: 13.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004518/0.7342, allocations: 0.7075 MB / 394.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.485e-05/0.7343, allocations: 29.7 kB / 394.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.7343, allocations: 4 kB / 394.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002121/0.7365, allocations: 218.3 kB / 394.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/0.7386, allocations: 131.8 kB / 394.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/0.7517, allocations: 4.858 MB / 399.7 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.7532, allocations: 71.69 kB / 399.7 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.7534, allocations: 20.05 kB / 399.8 MB, free: 7.301 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_b.m_flow:VARIABLE(flow=true unit = "kg/s" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real idealPump.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004033/0.7538, allocations: 129.2 kB / 399.9 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004294/0.7581, allocations: 0.6607 MB / 400.5 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.7586, allocations: 71.2 kB / 400.6 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004477/0.7631, allocations: 0.6984 MB / 401.3 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.7631, allocations: 8 kB / 401.3 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.7632, allocations: 0 / 401.3 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003999/0.7672, allocations: 0.949 MB / 402.3 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00642/0.7736, allocations: 1.343 MB / 403.6 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.7737, allocations: 0 / 403.6 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/0.776, allocations: 135.8 kB / 403.7 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001591/0.7776, allocations: 157.7 kB / 403.9 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.7778, allocations: 11.98 kB / 403.9 MB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009887/0.7877, allocations: 3.304 MB / 407.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.7878, allocations: 4.125 kB / 407.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005008/0.7928, allocations: 0.9334 MB / 408.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007041/0.7936, allocations: 196.2 kB / 408.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/0.7939, allocations: 4 kB / 408.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.795, allocations: 31.97 kB / 408.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/0.7954, allocations: 44.5 kB / 408.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-05/0.7955, allocations: 15.98 kB / 408.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008202/0.7963, allocations: 315 kB / 408.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.203e-06/0.7963, allocations: 0 / 408.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001751/0.7981, allocations: 207.7 kB / 408.9 MB, free: 13.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * 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 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.005597/0.8038, allocations: 1.505 MB / 410.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003495/0.8073, allocations: 0.8729 MB / 411.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.8074, allocations: 0 / 411.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002119/0.8095, allocations: 485.5 kB / 411.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.8114, allocations: 150.9 kB / 411.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/0.8161, allocations: 0.9444 MB / 412.9 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007614/0.8169, allocations: 0.8917 MB / 413.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008471/0.8178, allocations: 76.84 kB / 413.9 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007068/0.8186, allocations: 215.4 kB / 414.1 MB, free: 8.328 MB / 362.7 MB Notification: Performance of SimCode: time 1.954e-06/0.8186, allocations: 0 / 414.1 MB, free: 8.328 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4304/1.249, allocations: 15.88 MB / 429.9 MB, free: 106.8 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002626/1.249, allocations: 156.5 kB / 430.1 MB, free: 106.6 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.325/5.574, allocations: 0 / 430.1 MB, free: 106.6 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat does not exist to compare? outputFormat=mat