Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.547/3.547, allocations: 326.3 MB / 339.3 MB, free: 11.27 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 4.403e-05/4.428e-05, allocations: 4 kB / 423.3 MB, free: 15.57 MB / 347.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2174, allocations: 80 MB / 0.4915 GB, free: 15.46 MB / 427.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7682/0.9857, allocations: 124.5 MB / 0.6131 GB, free: 12.52 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.986, allocations: 49.16 kB / 0.6132 GB, free: 12.49 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.06385/1.05, allocations: 9.65 MB / 0.6226 GB, free: 3.52 MB / 0.4953 GB Notification: Performance of FrontEnd: time 2.445e-06/1.05, allocations: 4 kB / 0.6226 GB, free: 3.516 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 3.079e-05/1.05, allocations: 12 kB / 0.6226 GB, free: 3.504 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00655/1.057, allocations: 1.281 MB / 0.6238 GB, free: 2.203 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/1.057, allocations: 8.031 kB / 0.6238 GB, free: 2.195 MB / 0.4953 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004211/1.057, allocations: 83.89 kB / 0.6239 GB, free: 2.129 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/1.057, allocations: 43.62 kB / 0.624 GB, free: 2.086 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/1.059, allocations: 387.3 kB / 0.6243 GB, free: 1.668 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-05/1.059, allocations: 50.81 kB / 0.6244 GB, free: 1.637 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003577/1.06, allocations: 85.8 kB / 0.6245 GB, free: 1.578 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/1.062, allocations: 0.7253 MB / 0.6252 GB, free: 1.016 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/1.062, allocations: 0 / 0.6252 GB, free: 1.016 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/1.062, allocations: 17.5 kB / 0.6252 GB, free: 1.012 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/1.062, allocations: 8 kB / 0.6252 GB, free: 1.004 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/1.064, allocations: 0.6508 MB / 0.6258 GB, free: 0.5156 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003663/1.068, allocations: 1.006 MB / 0.6268 GB, free: 15.62 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003109/1.071, allocations: 0.9515 MB / 0.6278 GB, free: 14.97 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/1.073, allocations: 0.6451 MB / 0.6284 GB, free: 14.54 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/1.074, allocations: 9 kB / 0.6284 GB, free: 14.54 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.855e-05/1.074, allocations: 51.25 kB / 0.6284 GB, free: 14.48 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=99): time 5.42e-06/1.074, allocations: 0 / 0.6284 GB, free: 14.48 MB / 0.5109 GB Notification: Performance of matching and sorting (n=99): time 0.004329/1.078, allocations: 1.147 MB / 0.6296 GB, free: 13.59 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/1.078, allocations: 60.41 kB / 0.6296 GB, free: 13.52 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/1.079, allocations: 140.1 kB / 0.6298 GB, free: 13.39 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 0.0003403/1.079, allocations: 48.83 kB / 0.6298 GB, free: 13.36 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/1.079, allocations: 109.3 kB / 0.6299 GB, free: 13.26 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006214/1.08, allocations: 411.8 kB / 0.6303 GB, free: 12.91 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/1.08, allocations: 22.5 kB / 0.6303 GB, free: 12.9 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0002139/1.08, allocations: 366 kB / 0.6307 GB, free: 12.56 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/1.082, allocations: 0.5507 MB / 0.6312 GB, free: 12.16 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002057/1.084, allocations: 0.5568 MB / 0.6317 GB, free: 11.75 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/1.086, allocations: 0.6434 MB / 0.6324 GB, free: 11.27 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/1.087, allocations: 4 kB / 0.6324 GB, free: 11.26 MB / 0.5109 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005083/1.092, allocations: 1.438 MB / 0.6338 GB, free: 10.16 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/1.092, allocations: 6.5 kB / 0.6338 GB, free: 10.16 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/1.092, allocations: 0 / 0.6338 GB, free: 10.16 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.312e-05/1.092, allocations: 8 kB / 0.6338 GB, free: 10.15 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005044/1.097, allocations: 0.5343 MB / 0.6343 GB, free: 9.625 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.746e-05/1.097, allocations: 4 kB / 0.6343 GB, free: 9.621 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/1.099, allocations: 118 kB / 0.6344 GB, free: 9.523 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/1.099, allocations: 31.69 kB / 0.6345 GB, free: 9.5 MB / 0.5109 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 (157): * Single equations (assignments): 157 * 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.0004254/1.1, allocations: 159.6 kB / 0.6346 GB, free: 9.371 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/1.1, allocations: 43.53 kB / 0.6347 GB, free: 9.328 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/1.1, allocations: 150.4 kB / 0.6348 GB, free: 9.312 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/1.1, allocations: 8 kB / 0.6348 GB, free: 9.305 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/1.1, allocations: 3.984 kB / 0.6348 GB, free: 9.301 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/1.1, allocations: 7.922 kB / 0.6348 GB, free: 9.293 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/1.103, allocations: 0.7495 MB / 0.6356 GB, free: 8.613 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.103, allocations: 4 kB / 0.6356 GB, free: 8.609 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006459/1.109, allocations: 0.5305 MB / 0.6361 GB, free: 8.09 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.817e-05/1.109, allocations: 0 / 0.6361 GB, free: 8.09 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004595/1.11, allocations: 43.64 kB / 0.6361 GB, free: 8.059 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.386e-05/1.11, allocations: 4 kB / 0.6361 GB, free: 8.055 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.11, allocations: 0 / 0.6361 GB, free: 8.055 MB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006235/1.116, allocations: 1.931 MB / 0.638 GB, free: 6.594 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/1.116, allocations: 132.4 kB / 0.6381 GB, free: 6.445 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005046/1.117, allocations: 44.97 kB / 0.6382 GB, free: 6.414 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/1.118, allocations: 49.88 kB / 0.6382 GB, free: 6.375 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002918/1.119, allocations: 56.34 kB / 0.6383 GB, free: 6.328 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/1.119, allocations: 26.69 kB / 0.6383 GB, free: 6.309 MB / 0.5109 GB Notification: Performance of sorting global known variables: time 0.0001382/1.119, allocations: 104.3 kB / 0.6384 GB, free: 6.211 MB / 0.5109 GB Notification: Performance of sort global known variables: time 4.3e-07/1.119, allocations: 0 / 0.6384 GB, free: 6.211 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.001206/1.12, allocations: 284.5 kB / 0.6387 GB, free: 5.965 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 57 (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],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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 99 * 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.006229/1.126, allocations: 2.529 MB / 0.6411 GB, free: 3.914 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.00415/1.131, allocations: 1.286 MB / 0.6424 GB, free: 2.965 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.131, allocations: 0 / 0.6424 GB, free: 2.965 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/1.133, allocations: 0.6376 MB / 0.643 GB, free: 2.508 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/1.134, allocations: 122.8 kB / 0.6431 GB, free: 2.418 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/1.149, allocations: 5.51 MB / 0.6485 GB, free: 13.02 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006604/1.15, allocations: 0.8848 MB / 0.6494 GB, free: 12.11 MB / 0.5265 GB Notification: Performance of simCode: alias equations: time 0.002392/1.152, allocations: 392.5 kB / 0.6498 GB, free: 11.72 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008896/1.153, allocations: 159.4 kB / 0.6499 GB, free: 11.66 MB / 0.5265 GB Notification: Performance of SimCode: time 1.744e-06/1.153, allocations: 4 kB / 0.6499 GB, free: 11.66 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06169/1.215, allocations: 15.42 MB / 0.665 GB, free: 12.35 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004172/1.215, allocations: 207.1 kB / 0.6652 GB, free: 12.13 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.25/4.465, allocations: 0 / 0.6652 GB, free: 12.13 MB / 0.5421 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_20_res.mat does not exist to compare? outputFormat=mat