Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.22/2.22, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.382e-05, allocations: 6.031 kB / 292.8 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.451/0.5688, allocations: 83.31 MB / 426.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.5692, allocations: 73.53 kB / 426.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04232/0.6115, allocations: 9.492 MB / 436 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6116, allocations: 0 / 436 MB, free: 2.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.607e-05/0.6116, allocations: 8 kB / 436 MB, free: 2.598 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001192/0.6128, allocations: 0.5812 MB / 436.6 MB, free: 1.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.6129, allocations: 8.031 kB / 436.6 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.613, allocations: 67.44 kB / 436.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.6132, allocations: 47.44 kB / 436.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/0.6138, allocations: 310 kB / 437.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.6139, allocations: 18.62 kB / 437.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.614, allocations: 30.38 kB / 437.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.6146, allocations: 294 kB / 437.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.6147, allocations: 10.59 kB / 437.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/0.6147, allocations: 6.5 kB / 437.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.6148, allocations: 8 kB / 437.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.6152, allocations: 178.1 kB / 437.6 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.6173, allocations: 0.873 MB / 438.5 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007254/0.6181, allocations: 247.6 kB / 438.7 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.6184, allocations: 99.55 kB / 438.8 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.6184, allocations: 4.281 kB / 438.8 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004217/0.6188, allocations: 167.5 kB / 439 MB, free: 20 kB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 3.206e-06/0.6189, allocations: 0 / 439 MB, free: 20 kB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.003033/0.6219, allocations: 1.148 MB / 440.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.6221, allocations: 191.7 kB / 440.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/0.6226, allocations: 289.9 kB / 440.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.6226, allocations: 35.7 kB / 440.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.6228, allocations: 184.6 kB / 440.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.623, allocations: 139.2 kB / 440.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.623, allocations: 7.875 kB / 440.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6232, allocations: 348.6 kB / 441.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.6234, allocations: 85.56 kB / 441.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.6238, allocations: 176 kB / 441.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.6241, allocations: 123.2 kB / 441.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6241, allocations: 0 / 441.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008666/0.625, allocations: 343.8 kB / 442 MB, free: 13.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.6251, allocations: 8 kB / 442 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.6251, allocations: 64 / 442 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001214/0.6252, allocations: 24.48 kB / 442 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/0.6259, allocations: 95.64 kB / 442.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.6271, allocations: 1.278 MB / 443.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.6274, allocations: 16.03 kB / 443.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.6275, allocations: 15.25 kB / 443.4 MB, free: 11.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.6277, allocations: 138.7 kB / 443.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-05/0.6278, allocations: 35.62 kB / 443.6 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008426/0.6286, allocations: 338.2 kB / 443.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.6286, allocations: 4 kB / 443.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.6286, allocations: 0 / 443.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008046/0.6295, allocations: 0.6521 MB / 444.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.6312, allocations: 0.8638 MB / 445.4 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6312, allocations: 0 / 445.4 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/0.6319, allocations: 82.89 kB / 445.5 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.6319, allocations: 4.125 kB / 445.5 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.632, allocations: 7.312 kB / 445.5 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.632, allocations: 4 kB / 445.5 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.632, allocations: 0 / 445.5 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.6331, allocations: 0.6003 MB / 446.1 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.6334, allocations: 143.9 kB / 446.3 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/0.6335, allocations: 9.875 kB / 446.3 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.6338, allocations: 14.98 kB / 446.3 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.6339, allocations: 31.27 kB / 446.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.634, allocations: 19.19 kB / 446.4 MB, free: 9.125 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003732/0.6343, allocations: 231.8 kB / 446.6 MB, free: 8.941 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6344, allocations: 0 / 446.6 MB, free: 8.941 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006194/0.635, allocations: 116.3 kB / 446.7 MB, free: 8.844 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002629/0.6376, allocations: 1.732 MB / 448.4 MB, free: 7.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000863/0.6385, allocations: 348.7 kB / 448.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6385, allocations: 4.062 kB / 448.8 MB, free: 7.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.6389, allocations: 140.8 kB / 448.9 MB, free: 6.914 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.6396, allocations: 69.92 kB / 449 MB, free: 6.867 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.6421, allocations: 0.9157 MB / 449.9 MB, free: 5.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.6426, allocations: 0.8187 MB / 450.7 MB, free: 5.137 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003001/0.6429, allocations: 55.23 kB / 450.8 MB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.6432, allocations: 131.1 kB / 450.9 MB, free: 5.039 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6432, allocations: 4 kB / 450.9 MB, free: 5.035 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03861/0.6818, allocations: 8.471 MB / 459.4 MB, free: 12.7 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000421/0.6823, allocations: 231.4 kB / 459.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.14/3.822, allocations: 0 / 459.6 MB, free: 12.43 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat does not exist to compare? outputFormat=mat