Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.436/2.436, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.475e-05, allocations: 2.75 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6121/0.7276, allocations: 76.92 MB / 371.2 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.728, allocations: 69.22 kB / 371.3 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0807/0.8087, allocations: 16.04 MB / 387.3 MB, free: 18.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.8088, allocations: 0 / 387.3 MB, free: 18.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.377e-05/0.8088, allocations: 15.69 kB / 387.3 MB, free: 18.66 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.003673/0.8125, allocations: 1.075 MB / 388.4 MB, free: 17.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.8126, allocations: 11.62 kB / 388.4 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004991/0.8131, allocations: 112.6 kB / 388.5 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.8148, allocations: 0.5243 MB / 389.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000326/0.8152, allocations: 133.1 kB / 389.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.8154, allocations: 39.03 kB / 389.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001681/0.8171, allocations: 493.3 kB / 389.7 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.8189, allocations: 0.7198 MB / 390.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/0.819, allocations: 0 / 390.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.8191, allocations: 3.875 kB / 390.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.8191, allocations: 11.59 kB / 390.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006361/0.8255, allocations: 2.052 MB / 392.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/0.8276, allocations: 0.9436 MB / 393.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008574/0.8285, allocations: 329.1 kB / 393.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.8287, allocations: 12.47 kB / 393.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.8288, allocations: 46.75 kB / 393.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 4.608e-06/0.8288, allocations: 0 / 393.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.004234/0.833, allocations: 0.863 MB / 394.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005267/0.8336, allocations: 0.8223 MB / 395.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.8347, allocations: 479.2 kB / 396 MB, free: 14.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002648/0.835, allocations: 29.58 kB / 396 MB, free: 14.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.8354, allocations: 327.5 kB / 396.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004296/0.8359, allocations: 262.2 kB / 396.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/0.836, allocations: 2.938 kB / 396.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002541/0.8362, allocations: 392.8 kB / 397 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006855/0.8369, allocations: 205 kB / 397.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.838, allocations: 473.3 kB / 397.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008226/0.8389, allocations: 262.7 kB / 397.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.8389, allocations: 3.938 kB / 397.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004561/0.8434, allocations: 0.9185 MB / 398.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.8436, allocations: 80.92 kB / 398.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.8436, allocations: 3.984 kB / 398.9 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.8449, allocations: 199.1 kB / 399.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.8466, allocations: 157.3 kB / 399.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.8582, allocations: 6.024 MB / 405.3 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.8598, allocations: 101.5 kB / 405.4 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.86, allocations: 25.62 kB / 405.4 MB, free: 7.324 MB / 314.7 MB 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: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004293/0.8604, allocations: 136.7 kB / 405.5 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004539/0.865, allocations: 0.8558 MB / 406.4 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000565/0.8656, allocations: 85.33 kB / 406.5 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.866, allocations: 79.75 kB / 406.5 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.8661, allocations: 7.75 kB / 406.5 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.8661, allocations: 7.953 kB / 406.5 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005164/0.8713, allocations: 1.149 MB / 407.7 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008778/0.8801, allocations: 1.77 MB / 409.5 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.8802, allocations: 3.938 kB / 409.5 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/0.8826, allocations: 159.5 kB / 409.6 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.8837, allocations: 159.9 kB / 409.8 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/0.8839, allocations: 15.41 kB / 409.8 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/0.8968, allocations: 4.638 MB / 414.4 MB, free: 1.434 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.8969, allocations: 0 / 414.4 MB, free: 1.434 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006945/0.9038, allocations: 1.261 MB / 415.7 MB, free: 1.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/0.9044, allocations: 156.4 kB / 415.9 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004173/0.9049, allocations: 15.73 kB / 415.9 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/0.9067, allocations: 46.56 kB / 415.9 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004516/0.9071, allocations: 69.58 kB / 416 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.9073, allocations: 15.31 kB / 416 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001124/0.9084, allocations: 377.7 kB / 416.4 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.9084, allocations: 0 / 416.4 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002395/0.9109, allocations: 263.4 kB / 416.6 MB, free: 0.7578 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007924/0.9188, allocations: 1.832 MB / 418.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00445/0.9233, allocations: 1.198 MB / 419.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.9234, allocations: 8.062 kB / 419.7 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003395/0.9268, allocations: 0.7082 MB / 420.4 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/0.9297, allocations: 179.1 kB / 420.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008231/0.9379, allocations: 1.346 MB / 421.9 MB, free: 12.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.9392, allocations: 0.9559 MB / 422.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001323/0.9406, allocations: 94 kB / 422.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/0.9417, allocations: 291.3 kB / 423.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.703e-06/0.9418, allocations: 0 / 423.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1537/1.095, allocations: 20.52 MB / 443.7 MB, free: 6.625 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003514/1.096, allocations: 157.4 kB / 443.9 MB, free: 6.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.511/5.607, allocations: 0 / 443.9 MB, free: 6.43 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat