Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.485/2.485, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.96e-05/3.963e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1351, allocations: 61.89 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5196/0.6547, allocations: 85.56 MB / 495.9 MB, free: 2.484 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.655, allocations: 57.34 kB / 496 MB, free: 2.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006759/0.6618, allocations: 1.744 MB / 497.7 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.6618, allocations: 0 / 497.7 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.6618, allocations: 0.75 kB / 497.7 MB, free: 0.6953 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003493/0.6622, allocations: 352.8 kB / 498.1 MB, free: 308 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.6623, allocations: 16.03 kB / 498.1 MB, free: 292 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.6623, allocations: 30.56 kB / 498.1 MB, free: 252 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.6623, allocations: 3.906 kB / 498.1 MB, free: 248 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.6625, allocations: 159.1 kB / 498.3 MB, free: 48 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.6625, allocations: 0 / 498.3 MB, free: 48 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.6625, allocations: 3.953 kB / 498.3 MB, free: 44 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.6626, allocations: 41.61 kB / 498.3 MB, free: 16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.6627, allocations: 0 / 498.3 MB, free: 16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.6627, allocations: 0 / 498.3 MB, free: 16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.6627, allocations: 4 kB / 498.3 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.014e-05/0.6627, allocations: 4 kB / 498.3 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.6629, allocations: 149.6 kB / 498.5 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.662e-05/0.6629, allocations: 18.61 kB / 498.5 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.043e-05/0.663, allocations: 8.844 kB / 498.5 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-06/0.663, allocations: 0 / 498.5 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.663, allocations: 64.2 kB / 498.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.961e-06/0.6631, allocations: 4 kB / 498.6 MB, free: 15.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001673/0.6632, allocations: 71.34 kB / 498.6 MB, free: 15.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.6633, allocations: 77.11 kB / 498.7 MB, free: 15.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.147e-05/0.6634, allocations: 89 kB / 498.8 MB, free: 15.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.6634, allocations: 25.7 kB / 498.8 MB, free: 15.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.6635, allocations: 80.14 kB / 498.9 MB, free: 15.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.6635, allocations: 0 / 498.9 MB, free: 15.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.6635, allocations: 0 / 498.9 MB, free: 15.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.6636, allocations: 319 kB / 499.2 MB, free: 14.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.6636, allocations: 8 kB / 499.2 MB, free: 14.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.6637, allocations: 0 / 499.2 MB, free: 14.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/0.6637, allocations: 25.7 kB / 499.2 MB, free: 14.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.6637, allocations: 4 kB / 499.3 MB, free: 14.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.779e-05/0.6638, allocations: 59.34 kB / 499.3 MB, free: 14.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.6639, allocations: 37.69 kB / 499.3 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.6639, allocations: 4.828 kB / 499.4 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.6639, allocations: 4.094 kB / 499.4 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.6639, allocations: 0 / 499.4 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.6639, allocations: 0 / 499.4 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.664, allocations: 0 / 499.4 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.664, allocations: 4 kB / 499.4 MB, free: 14.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 8.308e-05/0.6641, allocations: 126.7 kB / 499.5 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-06/0.6641, allocations: 0 / 499.5 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.6641, allocations: 7.078 kB / 499.5 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.6641, allocations: 7.953 kB / 499.5 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6642, allocations: 8 kB / 499.5 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6642, allocations: 0 / 499.5 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.6643, allocations: 149.7 kB / 499.7 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6643, allocations: 0 / 499.7 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.6643, allocations: 0 / 499.7 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.6643, allocations: 4 kB / 499.7 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.6643, allocations: 0 / 499.7 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6643, allocations: 0 / 499.7 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6644, allocations: 3.953 kB / 499.7 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.6645, allocations: 98.77 kB / 499.8 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.6645, allocations: 77.11 kB / 499.8 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.6646, allocations: 0 / 499.8 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.477e-05/0.6646, allocations: 7.875 kB / 499.8 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.6646, allocations: 11.94 kB / 499.9 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.6646, allocations: 0 / 499.9 MB, free: 14.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.692e-05/0.6647, allocations: 75.28 kB / 499.9 MB, free: 14.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6647, allocations: 0 / 499.9 MB, free: 14.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002982/0.665, allocations: 24.12 kB / 499.9 MB, free: 14.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0008052/0.6658, allocations: 0.7338 MB / 0.4889 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.666, allocations: 63.33 kB / 0.489 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.666, allocations: 0 / 0.489 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.666, allocations: 59.47 kB / 0.4891 GB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.6661, allocations: 0 / 0.4891 GB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.6665, allocations: 97.33 kB / 0.4892 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.6667, allocations: 0.6731 MB / 0.4898 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.646e-06/0.6667, allocations: 0 / 0.4898 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.6668, allocations: 7.438 kB / 0.4898 GB, free: 12.38 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.6668, allocations: 0 / 0.4898 GB, free: 12.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.6971, allocations: 1.208 MB / 0.491 GB, free: 11.26 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/0.6974, allocations: 190.7 kB / 0.4912 GB, free: 11.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/3.219, allocations: 0 / 0.4912 GB, free: 11.03 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat