Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.874e-05, allocations: 0 / 292.7 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 50.41 MB / 343.1 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4793/0.5904, allocations: 79.17 MB / 422.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.5907, allocations: 69.59 kB / 422.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01811/0.6089, allocations: 3.688 MB / 426.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6089, allocations: 0 / 426.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.03e-05/0.609, allocations: 4 kB / 426.1 MB, free: 11.55 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009992/0.61, allocations: 0.5028 MB / 426.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.61, allocations: 15.97 kB / 426.6 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.089e-05/0.6101, allocations: 49.31 kB / 426.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.374e-05/0.6102, allocations: 31.62 kB / 426.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/0.6108, allocations: 312.2 kB / 427 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.6109, allocations: 13.78 kB / 427 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.6109, allocations: 14.25 kB / 427 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008709/0.6118, allocations: 341.1 kB / 427.3 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.6118, allocations: 4 kB / 427.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.6119, allocations: 7.203 kB / 427.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.6119, allocations: 4 kB / 427.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.6122, allocations: 73.73 kB / 427.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.6132, allocations: 0.5302 MB / 428 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.6143, allocations: 308.3 kB / 428.3 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.6146, allocations: 129 kB / 428.4 MB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.6147, allocations: 8.031 kB / 428.4 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.6147, allocations: 42.06 kB / 428.4 MB, free: 9.316 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.815e-06/0.6147, allocations: 0 / 428.4 MB, free: 9.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.003102/0.6178, allocations: 1.154 MB / 429.6 MB, free: 8.262 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.618, allocations: 129.4 kB / 429.7 MB, free: 8.121 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005069/0.6185, allocations: 294.2 kB / 430 MB, free: 7.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.6186, allocations: 35.77 kB / 430 MB, free: 7.848 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.6187, allocations: 143.3 kB / 430.2 MB, free: 7.746 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.719e-05/0.6188, allocations: 45.72 kB / 430.2 MB, free: 7.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.92e-05/0.6188, allocations: 6.75 kB / 430.2 MB, free: 7.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.619, allocations: 356.5 kB / 430.6 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.6192, allocations: 63.48 kB / 430.6 MB, free: 7.324 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.6196, allocations: 268.7 kB / 430.9 MB, free: 6.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.6198, allocations: 115.5 kB / 431 MB, free: 6.898 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.6199, allocations: 4 kB / 431 MB, free: 6.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008243/0.6207, allocations: 347.4 kB / 431.3 MB, free: 6.602 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.6207, allocations: 8 kB / 431.4 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.6208, allocations: 8 kB / 431.4 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/0.6208, allocations: 12 kB / 431.4 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.6213, allocations: 88.42 kB / 431.5 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/0.6214, allocations: 11.94 kB / 431.5 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.6217, allocations: 31.3 kB / 431.5 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.6218, allocations: 22.69 kB / 431.5 MB, free: 6.434 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001585/0.622, allocations: 138.1 kB / 431.7 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000695/0.6227, allocations: 273.9 kB / 431.9 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009483/0.6236, allocations: 346 kB / 432.3 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.6237, allocations: 4 kB / 432.3 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.6237, allocations: 4.656 kB / 432.3 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.6237, allocations: 7.984 kB / 432.3 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.6242, allocations: 313.8 kB / 432.6 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.6243, allocations: 0 / 432.6 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.6253, allocations: 119.6 kB / 432.7 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/0.6254, allocations: 4 kB / 432.7 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.6254, allocations: 6.938 kB / 432.7 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.435e-06/0.6254, allocations: 4 kB / 432.7 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6254, allocations: 0 / 432.7 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.6268, allocations: 0.6895 MB / 433.4 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.627, allocations: 112.6 kB / 433.5 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.483e-05/0.6271, allocations: 11 kB / 433.5 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.6275, allocations: 23.42 kB / 433.6 MB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.6276, allocations: 7.562 kB / 433.6 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.6276, allocations: 11.98 kB / 433.6 MB, free: 4.672 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003894/0.628, allocations: 236.2 kB / 433.8 MB, free: 4.492 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.628, allocations: 0 / 433.8 MB, free: 4.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00064/0.6287, allocations: 62.5 kB / 433.9 MB, free: 4.441 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.001773/0.6304, allocations: 1.377 MB / 435.2 MB, free: 3.184 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006914/0.6312, allocations: 243.8 kB / 435.5 MB, free: 3.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6312, allocations: 4.062 kB / 435.5 MB, free: 3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.705e-05/0.6313, allocations: 32.69 kB / 435.5 MB, free: 2.977 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008374/0.6321, allocations: 174.9 kB / 435.7 MB, free: 2.859 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.6342, allocations: 0.64 MB / 436.3 MB, free: 2.254 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.6348, allocations: 0.8132 MB / 437.1 MB, free: 1.422 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000173/0.635, allocations: 39.25 kB / 437.2 MB, free: 1.383 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.6352, allocations: 109.3 kB / 437.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of SimCode: time 1.643e-06/0.6352, allocations: 0 / 437.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.6673, allocations: 6.169 MB / 443.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003293/0.6678, allocations: 160.4 kB / 443.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/3.308, allocations: 0 / 443.6 MB, free: 11.04 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat does not exist to compare? outputFormat=mat