Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.567/2.567, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.48e-05, allocations: 3.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1376, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/1.379, allocations: 317.4 MB / 0.7107 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/1.38, allocations: 82.2 kB / 0.7108 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.459/1.839, allocations: 99.73 MB / 0.8082 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.717e-06/1.839, allocations: 0 / 0.8082 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000123/1.839, allocations: 11.98 kB / 0.8082 GB, free: 5.637 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.003398/1.842, allocations: 0.8235 MB / 0.809 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.82e-05/1.843, allocations: 8.031 kB / 0.809 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002236/1.843, allocations: 78.45 kB / 0.8091 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004189/1.843, allocations: 59.42 kB / 0.8091 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/1.845, allocations: 463.9 kB / 0.8096 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.287e-05/1.845, allocations: 20.56 kB / 0.8096 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/1.845, allocations: 27.98 kB / 0.8096 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/1.847, allocations: 0.5191 MB / 0.8101 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/1.847, allocations: 0 / 0.8101 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.179e-05/1.847, allocations: 19.92 kB / 0.8101 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.391e-05/1.847, allocations: 24.55 kB / 0.8102 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/1.848, allocations: 437.1 kB / 0.8106 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00596/1.854, allocations: 2.262 MB / 0.8128 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007179/1.855, allocations: 214.7 kB / 0.813 GB, free: 420 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/1.855, allocations: 128.8 kB / 0.8131 GB, free: 288 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3621/2.217, allocations: 1.055 MB / 0.8141 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004931/2.218, allocations: 210.4 kB / 0.8143 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.374e-06/2.218, allocations: 0 / 0.8143 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0009671/2.219, allocations: 306.7 kB / 0.8146 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/2.219, allocations: 237.6 kB / 0.8149 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009293/2.22, allocations: 462.5 kB / 0.8153 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/2.22, allocations: 33.27 kB / 0.8153 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/2.22, allocations: 286 kB / 0.8156 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.904e-05/2.22, allocations: 58.05 kB / 0.8157 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/2.22, allocations: 9.969 kB / 0.8157 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001254/2.221, allocations: 357.6 kB / 0.816 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/2.221, allocations: 117.2 kB / 0.8161 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/2.221, allocations: 293.2 kB / 0.8164 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/2.222, allocations: 200.6 kB / 0.8166 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/2.222, allocations: 1.844 kB / 0.8166 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001399/2.223, allocations: 0.4898 MB / 0.8171 GB, free: 143 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000424/2.224, allocations: 1.688 MB / 0.8187 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/2.224, allocations: 4.281 kB / 0.8187 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.23e-05/2.224, allocations: 8.25 kB / 0.8187 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/2.224, allocations: 77.81 kB / 0.8188 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.321e-05/2.224, allocations: 10.11 kB / 0.8188 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008178/2.225, allocations: 63.45 kB / 0.8189 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.189e-05/2.225, allocations: 27.62 kB / 0.8189 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/2.225, allocations: 4.5 kB / 0.8189 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001327/2.227, allocations: 451.2 kB / 0.8193 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/2.227, allocations: 5.375 kB / 0.8194 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/2.227, allocations: 8.812 kB / 0.8194 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005727/2.227, allocations: 78.11 kB / 0.8194 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/2.227, allocations: 7.484 kB / 0.8194 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007268/2.228, allocations: 48.98 kB / 0.8195 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.951e-05/2.228, allocations: 21.44 kB / 0.8195 GB, free: 141.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * 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.0002701/2.229, allocations: 172.2 kB / 0.8197 GB, free: 141 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/2.229, allocations: 50.09 kB / 0.8197 GB, free: 141 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/2.23, allocations: 365.6 kB / 0.8201 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/2.23, allocations: 2.703 kB / 0.8201 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/2.23, allocations: 0 / 0.8201 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/2.23, allocations: 0.9844 kB / 0.8201 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008719/2.231, allocations: 412 kB / 0.8205 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/2.231, allocations: 1.25 kB / 0.8205 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/2.231, allocations: 25.98 kB / 0.8205 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/2.231, allocations: 1.781 kB / 0.8205 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/2.231, allocations: 12.47 kB / 0.8205 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/2.231, allocations: 1.406 kB / 0.8205 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/2.231, allocations: 0 / 0.8205 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000948/2.232, allocations: 362.8 kB / 0.8209 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/2.232, allocations: 133.4 kB / 0.821 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/2.233, allocations: 14.97 kB / 0.821 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/2.233, allocations: 20.31 kB / 0.821 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.756e-05/2.233, allocations: 13.31 kB / 0.821 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.172e-05/2.233, allocations: 10.62 kB / 0.821 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007374/2.234, allocations: 364 kB / 0.8214 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.01e-07/2.234, allocations: 2.844 kB / 0.8214 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002264/2.236, allocations: 478.5 kB / 0.8218 GB, free: 140.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.003123/2.239, allocations: 1.303 MB / 0.8231 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001728/2.241, allocations: 0.6371 MB / 0.8237 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/2.241, allocations: 1.344 kB / 0.8237 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003288/2.242, allocations: 179.9 kB / 0.8239 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/2.244, allocations: 186 kB / 0.8241 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/2.248, allocations: 0.7713 MB / 0.8248 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/2.248, allocations: 0.8539 MB / 0.8257 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001791/2.25, allocations: 197.6 kB / 0.8259 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/2.251, allocations: 149.6 kB / 0.826 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.813e-06/2.251, allocations: 2.531 kB / 0.826 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/2.353, allocations: 17.54 MB / 0.8431 GB, free: 138 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/2.353, allocations: 203.4 kB / 0.8433 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.343/5.696, allocations: 0 / 0.8433 GB, free: 137.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat