Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.526/3.526, allocations: 326.3 MB / 339.3 MB, free: 11.27 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.664e-05/3.67e-05, allocations: 4 kB / 423.3 MB, free: 15.57 MB / 347.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2116, allocations: 80 MB / 0.4915 GB, free: 15.46 MB / 427.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7465/0.9581, allocations: 124.5 MB / 0.6131 GB, free: 12.49 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.9584, allocations: 48.48 kB / 0.6132 GB, free: 12.47 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.1313/1.09, allocations: 19.08 MB / 0.6318 GB, free: 10.65 MB / 0.5109 GB Notification: Performance of FrontEnd: time 2.916e-06/1.09, allocations: 0 / 0.6318 GB, free: 10.65 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 4.091e-05/1.09, allocations: 16 kB / 0.6318 GB, free: 10.63 MB / 0.5109 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.0153/1.105, allocations: 2.699 MB / 0.6344 GB, free: 7.93 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 7.053e-05/1.105, allocations: 12.03 kB / 0.6345 GB, free: 7.918 MB / 0.5109 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001019/1.106, allocations: 134 kB / 0.6346 GB, free: 7.828 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008256/1.107, allocations: 87.25 kB / 0.6347 GB, free: 7.742 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004188/1.111, allocations: 0.6002 MB / 0.6353 GB, free: 7.105 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/1.112, allocations: 90.72 kB / 0.6353 GB, free: 7.055 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/1.113, allocations: 176.3 kB / 0.6355 GB, free: 6.934 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00646/1.119, allocations: 1.447 MB / 0.6369 GB, free: 5.828 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.116e-05/1.12, allocations: 0 / 0.6369 GB, free: 5.828 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002697/1.12, allocations: 37.44 kB / 0.637 GB, free: 5.816 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/1.12, allocations: 16 kB / 0.637 GB, free: 5.801 MB / 0.5109 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004919/1.125, allocations: 1.337 MB / 0.6383 GB, free: 4.816 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007476/1.132, allocations: 1.845 MB / 0.6401 GB, free: 3.242 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006459/1.139, allocations: 1.997 MB / 0.642 GB, free: 1.914 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004531/1.143, allocations: 1.335 MB / 0.6433 GB, free: 1.062 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005852/1.144, allocations: 22 kB / 0.6434 GB, free: 1.043 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.733e-05/1.144, allocations: 56.25 kB / 0.6434 GB, free: 0.9883 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=199): time 6.633e-06/1.144, allocations: 3.938 kB / 0.6434 GB, free: 0.9844 MB / 0.5109 GB Notification: Performance of matching and sorting (n=199): time 0.009919/1.154, allocations: 2.317 MB / 0.6457 GB, free: 15.2 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.154, allocations: 73.41 kB / 0.6457 GB, free: 15.12 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/1.155, allocations: 149 kB / 0.6459 GB, free: 14.98 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0008849/1.156, allocations: 80.27 kB / 0.646 GB, free: 14.94 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/1.156, allocations: 123.5 kB / 0.6461 GB, free: 14.83 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.001707/1.157, allocations: 0.8114 MB / 0.6469 GB, free: 14.12 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003661/1.158, allocations: 50.94 kB / 0.6469 GB, free: 14.11 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0003779/1.158, allocations: 422.5 kB / 0.6473 GB, free: 13.73 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004221/1.162, allocations: 1.132 MB / 0.6484 GB, free: 12.91 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004333/1.167, allocations: 1.149 MB / 0.6496 GB, free: 12.08 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005015/1.172, allocations: 1.319 MB / 0.6508 GB, free: 11.08 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.718e-05/1.172, allocations: 0 / 0.6508 GB, free: 11.08 MB / 0.5265 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01105/1.183, allocations: 2.891 MB / 0.6537 GB, free: 8.859 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/1.183, allocations: 6.5 kB / 0.6537 GB, free: 8.855 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/1.183, allocations: 3.984 kB / 0.6537 GB, free: 8.852 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.674e-05/1.183, allocations: 12 kB / 0.6537 GB, free: 8.84 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01037/1.194, allocations: 1.076 MB / 0.6547 GB, free: 7.781 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-05/1.194, allocations: 12 kB / 0.6547 GB, free: 7.77 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003808/1.198, allocations: 236.7 kB / 0.655 GB, free: 7.574 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008474/1.199, allocations: 69.94 kB / 0.655 GB, free: 7.527 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (317): * Single equations (assignments): 317 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009727/1.2, allocations: 218.3 kB / 0.6552 GB, free: 7.367 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004434/1.2, allocations: 79.14 kB / 0.6553 GB, free: 7.289 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008668/1.201, allocations: 292.7 kB / 0.6556 GB, free: 7.273 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.218e-05/1.201, allocations: 20 kB / 0.6556 GB, free: 7.254 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/1.201, allocations: 0 / 0.6556 GB, free: 7.254 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/1.201, allocations: 11.97 kB / 0.6556 GB, free: 7.242 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004567/1.206, allocations: 1.422 MB / 0.657 GB, free: 6.031 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/1.206, allocations: 0 / 0.657 GB, free: 6.031 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01303/1.219, allocations: 1.08 MB / 0.6581 GB, free: 4.969 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.631e-05/1.219, allocations: 4 kB / 0.6581 GB, free: 4.965 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001041/1.22, allocations: 83.11 kB / 0.6582 GB, free: 4.906 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.177e-05/1.22, allocations: 8 kB / 0.6582 GB, free: 4.898 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.22, allocations: 0 / 0.6582 GB, free: 4.898 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/1.234, allocations: 3.831 MB / 0.6619 GB, free: 2.051 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/1.234, allocations: 167.8 kB / 0.6621 GB, free: 1.867 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/1.236, allocations: 78.5 kB / 0.6621 GB, free: 1.816 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003771/1.239, allocations: 110.9 kB / 0.6622 GB, free: 1.73 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001104/1.24, allocations: 117.4 kB / 0.6624 GB, free: 1.633 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004429/1.241, allocations: 51.61 kB / 0.6624 GB, free: 1.594 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0001552/1.241, allocations: 107.1 kB / 0.6625 GB, free: 1.492 MB / 0.5265 GB Notification: Performance of sort global known variables: time 7.02e-07/1.241, allocations: 0 / 0.6625 GB, free: 1.492 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.003089/1.244, allocations: 0.5486 MB / 0.663 GB, free: 1.008 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 117 (TA[2],TA[3],TA[4],TA[5],TA[6],TA[7],TA[8],TA[9],TA[10],TA[11],TA[12],TA[13],TA[14],TA[15],TA[16],TA[17],TA[18],TA[19],TA[20],TA[21],TA[22],TA[23],TA[24],TA[25],TA[26],TA[27],TA[28],TA[29],TA[30],TA[31],TA[32],TA[33],TA[34],TA[35],TA[36],TA[37],TA[38],TA[39],TA[40],TB[1],TB[2],TB[3],TB[4],TB[5],TB[6],TB[7],TB[8],TB[9],TB[10],TB[11],TB[12],TB[13],TB[14],TB[15],TB[16],TB[17],TB[18],TB[19],TB[20],TB[21],TB[22],TB[23],TB[24],TB[25],TB[26],TB[27],TB[28],TB[29],TB[30],TB[31],TB[32],TB[33],TB[34],TB[35],TB[36],TB[37],TB[38],TB[39],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19],TW[20],TW[21],TW[22],TW[23],TW[24],TW[25],TW[26],TW[27],TW[28],TW[29],TW[30],TW[31],TW[32],TW[33],TW[34],TW[35],TW[36],TW[37],TW[38],TW[39]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 199 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01501/1.259, allocations: 4.487 MB / 0.6674 GB, free: 13.53 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.009718/1.269, allocations: 2.65 MB / 0.67 GB, free: 11.59 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.269, allocations: 0 / 0.67 GB, free: 11.59 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.004838/1.274, allocations: 1.301 MB / 0.6713 GB, free: 10.66 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/1.277, allocations: 230.9 kB / 0.6715 GB, free: 10.49 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03241/1.309, allocations: 11.63 MB / 0.6829 GB, free: 15.13 MB / 0.5578 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/1.31, allocations: 1.091 MB / 0.6839 GB, free: 14.01 MB / 0.5578 GB Notification: Performance of simCode: alias equations: time 0.005942/1.316, allocations: 0.809 MB / 0.6847 GB, free: 13.2 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002188/1.318, allocations: 323.5 kB / 0.685 GB, free: 13.09 MB / 0.5578 GB Notification: Performance of SimCode: time 1.473e-06/1.318, allocations: 0 / 0.685 GB, free: 13.09 MB / 0.5578 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1281/1.447, allocations: 30.28 MB / 0.7146 GB, free: 14.89 MB / 0.589 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004065/1.447, allocations: 203.3 kB / 0.7148 GB, free: 14.66 MB / 0.589 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.979/5.426, allocations: 0 / 0.7148 GB, free: 14.66 MB / 0.589 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40_res.mat does not exist to compare? outputFormat=mat