Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestStreams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 270.1 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.771e-05/3.777e-05, allocations: 3.984 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1415, allocations: 61.9 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5247/0.6663, allocations: 85.97 MB / 496.3 MB, free: 2.008 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.6666, allocations: 67.97 kB / 496.4 MB, free: 1.941 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009443/0.6761, allocations: 2.29 MB / 498.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6761, allocations: 0 / 498.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.6761, allocations: 4 kB / 498.7 MB, free: 15.66 MB / 410.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.0003482/0.6765, allocations: 356.3 kB / 499 MB, free: 15.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.6765, allocations: 16.02 kB / 499.1 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.6766, allocations: 30.56 kB / 499.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.6766, allocations: 0 / 499.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.6767, allocations: 164 kB / 499.3 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.6768, allocations: 0 / 499.3 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.6768, allocations: 7.953 kB / 499.3 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.362e-05/0.6769, allocations: 25.7 kB / 499.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.036e-06/0.6769, allocations: 0 / 499.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.6769, allocations: 4 kB / 499.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.6769, allocations: 0 / 499.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.677, allocations: 7.938 kB / 499.3 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.6771, allocations: 153.6 kB / 499.4 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/0.6772, allocations: 18.61 kB / 499.5 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.6772, allocations: 8.797 kB / 499.5 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.6772, allocations: 0 / 499.5 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/0.6773, allocations: 68.22 kB / 499.5 MB, free: 14.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.813e-06/0.6773, allocations: 0 / 499.5 MB, free: 14.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001943/0.6775, allocations: 67.44 kB / 499.6 MB, free: 14.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.6776, allocations: 81.11 kB / 499.7 MB, free: 14.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.071e-05/0.6776, allocations: 88.91 kB / 499.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.6777, allocations: 25.7 kB / 499.8 MB, free: 14.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.6777, allocations: 80.14 kB / 499.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.6777, allocations: 4 kB / 499.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.6777, allocations: 0 / 499.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.6779, allocations: 314.9 kB / 0.4885 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.6779, allocations: 0 / 0.4885 GB, free: 13.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-06/0.6779, allocations: 0 / 0.4885 GB, free: 13.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.981e-05/0.6779, allocations: 29.7 kB / 0.4885 GB, free: 13.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.678, allocations: 3.938 kB / 0.4885 GB, free: 13.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.283e-05/0.6781, allocations: 67.39 kB / 0.4886 GB, free: 13.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.6781, allocations: 29.7 kB / 0.4886 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.6781, allocations: 0 / 0.4886 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.6782, allocations: 8.047 kB / 0.4886 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.6782, allocations: 0 / 0.4886 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.6782, allocations: 0 / 0.4886 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.6782, allocations: 4 kB / 0.4886 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.6782, allocations: 0 / 0.4886 GB, free: 13.77 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 9.347e-05/0.6783, allocations: 130.7 kB / 0.4887 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.6783, allocations: 4 kB / 0.4887 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.678e-05/0.6784, allocations: 11.06 kB / 0.4887 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6784, allocations: 3.953 kB / 0.4887 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.6784, allocations: 4 kB / 0.4887 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.6784, allocations: 0 / 0.4887 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.6785, allocations: 141.7 kB / 0.4889 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.6785, allocations: 0 / 0.4889 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-06/0.6786, allocations: 7.984 kB / 0.4889 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.6786, allocations: 3.938 kB / 0.4889 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.6786, allocations: 0 / 0.4889 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6786, allocations: 0 / 0.4889 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.6786, allocations: 3.953 kB / 0.4889 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.6787, allocations: 94.78 kB / 0.489 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.6788, allocations: 81.09 kB / 0.4891 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.6788, allocations: 0 / 0.4891 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.181e-05/0.6788, allocations: 3.938 kB / 0.4891 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.6789, allocations: 4 kB / 0.4891 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.6789, allocations: 3.953 kB / 0.4891 GB, free: 13.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.059e-05/0.6789, allocations: 75.28 kB / 0.4891 GB, free: 13.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6789, allocations: 0 / 0.4891 GB, free: 13.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003671/0.6793, allocations: 43.98 kB / 0.4892 GB, free: 13.05 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.001057/0.6804, allocations: 0.8242 MB / 0.49 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.944e-05/0.6805, allocations: 55.41 kB / 0.49 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.6805, allocations: 0 / 0.49 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.324e-05/0.6806, allocations: 59.47 kB / 0.4901 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.639e-05/0.6807, allocations: 0 / 0.4901 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.681, allocations: 106.6 kB / 0.4902 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.6813, allocations: 0.677 MB / 0.4909 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.31e-06/0.6813, allocations: 0 / 0.4909 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.6813, allocations: 7.438 kB / 0.4909 GB, free: 11.27 MB / 410.7 MB Notification: Performance of SimCode: time 6.72e-07/0.6813, allocations: 0 / 0.4909 GB, free: 11.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.7019, allocations: 1.528 MB / 0.4924 GB, free: 9.812 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003511/0.7023, allocations: 186.2 kB / 0.4925 GB, free: 9.586 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/3.174, allocations: 4 kB / 0.4925 GB, free: 9.582 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams_res.mat does not exist to compare? outputFormat=mat