Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.086/2.086, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.672e-05/3.677e-05, allocations: 4 kB / 269.4 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1082, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.5758, allocations: 81.88 MB / 398.9 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.5761, allocations: 72.64 kB / 399 MB, free: 6.113 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04292/0.6191, allocations: 9.491 MB / 408.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.6191, allocations: 0 / 408.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.811e-05/0.6192, allocations: 14.98 kB / 408.5 MB, free: 14.14 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001214/0.6204, allocations: 0.5936 MB / 409.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.6205, allocations: 8.031 kB / 409.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.6206, allocations: 67.69 kB / 409.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.6208, allocations: 51.48 kB / 409.2 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006549/0.6214, allocations: 328 kB / 409.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.6215, allocations: 19.31 kB / 409.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.898e-05/0.6216, allocations: 30.17 kB / 409.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/0.6223, allocations: 293.9 kB / 409.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.6223, allocations: 0 / 409.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.6224, allocations: 13.75 kB / 409.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.6224, allocations: 11.95 kB / 409.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000501/0.6229, allocations: 173.8 kB / 410 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.6251, allocations: 0.8898 MB / 410.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007833/0.6259, allocations: 251.2 kB / 411.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.6262, allocations: 103.1 kB / 411.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.296e-05/0.6263, allocations: 4.281 kB / 411.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003962/0.6267, allocations: 147.4 kB / 411.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 3.807e-06/0.6267, allocations: 0 / 411.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.003117/0.6298, allocations: 1.156 MB / 412.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.63, allocations: 187.9 kB / 412.8 MB, free: 10.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.6306, allocations: 314.7 kB / 413.1 MB, free: 9.984 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.6307, allocations: 33.33 kB / 413.1 MB, free: 9.949 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.6309, allocations: 193.7 kB / 413.3 MB, free: 9.809 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.6311, allocations: 145.2 kB / 413.4 MB, free: 9.684 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.6311, allocations: 7.875 kB / 413.4 MB, free: 9.684 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6313, allocations: 350.1 kB / 413.8 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.6316, allocations: 87.12 kB / 413.9 MB, free: 9.293 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.6319, allocations: 170.5 kB / 414 MB, free: 9.133 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.6322, allocations: 112.9 kB / 414.1 MB, free: 9.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6323, allocations: 3.938 kB / 414.2 MB, free: 9.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009136/0.6332, allocations: 351.3 kB / 414.5 MB, free: 8.781 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.6332, allocations: 4 kB / 414.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.6333, allocations: 4 kB / 414.5 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.6334, allocations: 24.91 kB / 414.5 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.6341, allocations: 83.91 kB / 414.6 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.6356, allocations: 1.293 MB / 415.9 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.636, allocations: 19.39 kB / 415.9 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.6361, allocations: 11.94 kB / 415.9 MB, free: 7.277 MB / 330.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.0001767/0.6363, allocations: 128.4 kB / 416.1 MB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.636e-05/0.6364, allocations: 39.53 kB / 416.1 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009021/0.6373, allocations: 338.1 kB / 416.4 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.6373, allocations: 4.094 kB / 416.4 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6373, allocations: 4 kB / 416.4 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009013/0.6382, allocations: 0.6575 MB / 417.1 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.6402, allocations: 0.8704 MB / 418 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.6402, allocations: 0 / 418 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006768/0.6409, allocations: 87.28 kB / 418 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.6409, allocations: 7.938 kB / 418.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.641, allocations: 10.69 kB / 418.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.641, allocations: 3.938 kB / 418.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.641, allocations: 4 kB / 418.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.6422, allocations: 0.5959 MB / 418.7 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.6425, allocations: 139.6 kB / 418.8 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/0.6426, allocations: 10.25 kB / 418.8 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.6429, allocations: 18.62 kB / 418.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/0.6431, allocations: 35.28 kB / 418.9 MB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/0.6431, allocations: 14.38 kB / 418.9 MB, free: 4.574 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004347/0.6435, allocations: 248.6 kB / 419.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6436, allocations: 0 / 419.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006312/0.6442, allocations: 113.3 kB / 419.2 MB, free: 4.285 MB / 330.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.002858/0.6471, allocations: 1.72 MB / 421 MB, free: 2.703 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.6482, allocations: 350.5 kB / 421.3 MB, free: 2.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6482, allocations: 256 / 421.3 MB, free: 2.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.6486, allocations: 129.6 kB / 421.4 MB, free: 2.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007927/0.6494, allocations: 81.92 kB / 421.5 MB, free: 2.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.6521, allocations: 0.9364 MB / 422.4 MB, free: 1.359 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.6527, allocations: 0.8196 MB / 423.3 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000305/0.653, allocations: 58.23 kB / 423.3 MB, free: 472 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.6533, allocations: 132.1 kB / 423.4 MB, free: 428 kB / 330.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6533, allocations: 0 / 423.4 MB, free: 428 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/0.7572, allocations: 8.619 MB / 432.1 MB, free: 7.828 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003597/0.7576, allocations: 224.8 kB / 432.3 MB, free: 7.602 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.939/3.697, allocations: 0 / 432.3 MB, free: 7.602 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat does not exist to compare? outputFormat=mat