Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.415/2.415, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.035e-05/4.046e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1407, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.2/11.34, allocations: 3.553 GB / 3.954 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/11.34, allocations: 81.64 kB / 3.954 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.734/20.07, allocations: 1.406 GB / 5.36 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.434e-06/20.07, allocations: 0 / 5.36 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003331/20.07, allocations: 58.39 kB / 5.36 GB, free: 8.727 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.03736/20.11, allocations: 6.801 MB / 5.367 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/20.11, allocations: 9.156 kB / 5.367 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001403/20.11, allocations: 274.1 kB / 5.367 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/20.11, allocations: 281.1 kB / 5.367 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5861/20.7, allocations: 1.422 MB / 5.368 GB, free: 41.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004229/20.7, allocations: 143.2 kB / 5.369 GB, free: 41.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001315/20.7, allocations: 182.2 kB / 5.369 GB, free: 41.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/20.71, allocations: 2.88 MB / 5.372 GB, free: 41.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.276e-05/20.71, allocations: 2.938 kB / 5.372 GB, free: 41.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006094/20.71, allocations: 82.31 kB / 5.372 GB, free: 41.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004251/20.71, allocations: 160.3 kB / 5.372 GB, free: 41.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/20.73, allocations: 3.076 MB / 5.375 GB, free: 41.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0383/20.76, allocations: 11.3 MB / 5.386 GB, free: 37.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008475/20.77, allocations: 2.231 MB / 5.388 GB, free: 37.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00407/20.78, allocations: 0.9603 MB / 5.389 GB, free: 37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003812/20.78, allocations: 3.405 MB / 5.392 GB, free: 33.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.902e-05/20.78, allocations: 61.02 kB / 5.392 GB, free: 33.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002825/20.78, allocations: 272.9 kB / 5.393 GB, free: 33.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=155): time 7.754e-06/20.78, allocations: 0 / 5.393 GB, free: 33.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=155): time 0.00808/20.79, allocations: 2.218 MB / 5.395 GB, free: 33.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/20.79, allocations: 205.4 kB / 5.395 GB, free: 32.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004535/20.8, allocations: 1.675 MB / 5.397 GB, free: 32.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000978/20.8, allocations: 60.11 kB / 5.397 GB, free: 32.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/20.8, allocations: 0.9077 MB / 5.398 GB, free: 32.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/20.8, allocations: 0.5256 MB / 5.398 GB, free: 32.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/20.8, allocations: 42.06 kB / 5.398 GB, free: 32.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001992/20.8, allocations: 381.3 kB / 5.398 GB, free: 31.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/20.8, allocations: 0.9896 MB / 5.399 GB, free: 31.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003597/20.81, allocations: 1.377 MB / 5.401 GB, free: 31.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003956/20.81, allocations: 1.329 MB / 5.402 GB, free: 31.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.021e-05/20.81, allocations: 3.812 kB / 5.402 GB, free: 31.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01134/20.82, allocations: 3.09 MB / 5.405 GB, free: 30.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001135/20.82, allocations: 4.119 MB / 5.409 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.072e-05/20.82, allocations: 13.25 kB / 5.409 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006228/20.83, allocations: 0.6628 MB / 5.41 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004347/20.83, allocations: 443.5 kB / 5.41 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/20.84, allocations: 1.622 MB / 5.412 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004847/20.84, allocations: 151.9 kB / 5.412 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/20.84, allocations: 126.9 kB / 5.412 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/20.84, allocations: 6.281 kB / 5.412 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009193/20.85, allocations: 2.761 MB / 5.415 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-05/20.85, allocations: 15.02 kB / 5.415 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002152/20.85, allocations: 302.8 kB / 5.415 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004803/20.86, allocations: 0.4944 MB / 5.416 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/20.86, allocations: 1.312 MB / 5.417 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004403/20.87, allocations: 141.3 kB / 5.417 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/20.87, allocations: 122.2 kB / 5.417 GB, free: 24.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001021/20.87, allocations: 222.9 kB / 5.417 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009575/20.87, allocations: 216.8 kB / 5.418 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/20.88, allocations: 3.698 MB / 5.421 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.177e-05/20.88, allocations: 18.25 kB / 5.421 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/20.88, allocations: 0.9375 kB / 5.421 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-05/20.88, allocations: 6.703 kB / 5.421 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/20.9, allocations: 5.722 MB / 5.427 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/20.9, allocations: 7.844 kB / 5.427 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003001/20.9, allocations: 300.4 kB / 5.427 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005684/20.91, allocations: 0.6359 MB / 5.428 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007137/20.91, allocations: 59.03 kB / 5.428 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/20.91, allocations: 1.602 MB / 5.429 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/20.91, allocations: 11.95 kB / 5.429 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00849/20.92, allocations: 3.081 MB / 5.432 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/20.92, allocations: 364.6 kB / 5.433 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/20.92, allocations: 43.44 kB / 5.433 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004188/20.93, allocations: 128.1 kB / 5.433 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007211/20.93, allocations: 134.9 kB / 5.433 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004748/20.93, allocations: 106 kB / 5.433 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003739/20.93, allocations: 1.393 MB / 5.434 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.293e-06/20.93, allocations: 0 / 5.434 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01454/20.95, allocations: 2.843 MB / 5.437 GB, free: 20.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.02305/20.97, allocations: 8.743 MB / 5.446 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01323/20.98, allocations: 4.268 MB / 5.45 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.027e-05/20.98, allocations: 4.234 kB / 5.45 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003659/20.99, allocations: 1.083 MB / 5.451 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01168/21, allocations: 1.211 MB / 5.452 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/21.02, allocations: 4.548 MB / 5.457 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/21.02, allocations: 1.655 MB / 5.458 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.009721/21.03, allocations: 1.444 MB / 5.46 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002716/21.03, allocations: 0.8363 MB / 5.46 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of SimCode: time 1.893e-06/21.03, allocations: 1.719 kB / 5.46 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3227/21.35, allocations: 132.6 MB / 5.59 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003121/21.35, allocations: 233.3 kB / 5.59 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/31.68, allocations: 0 / 5.59 GB, free: 11.97 MB / 0.6511 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat