Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Mean,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Mean",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 270 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.388e-05/4.396e-05, allocations: 7.984 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1327, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5237/0.6565, allocations: 88.2 MB / 498.6 MB, free: 15.74 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.6568, allocations: 64.53 kB / 498.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02106/0.6778, allocations: 4.419 MB / 0.4913 GB, free: 11.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6779, allocations: 4 kB / 0.4913 GB, free: 11.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.968e-05/0.6779, allocations: 12 kB / 0.4913 GB, free: 11.23 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001345/0.6793, allocations: 0.5445 MB / 0.4918 GB, free: 10.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.6794, allocations: 8.031 kB / 0.4918 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.6795, allocations: 75.22 kB / 0.4919 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.6797, allocations: 43.53 kB / 0.4919 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006673/0.6804, allocations: 322.2 kB / 0.4922 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.6804, allocations: 28.73 kB / 0.4923 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-05/0.6805, allocations: 32 kB / 0.4923 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.6812, allocations: 266.1 kB / 0.4925 GB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.6813, allocations: 11.91 kB / 0.4926 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.6813, allocations: 12 kB / 0.4926 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.6814, allocations: 8 kB / 0.4926 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.6819, allocations: 177.5 kB / 0.4927 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.6842, allocations: 0.8511 MB / 0.4936 GB, free: 8.727 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.6847, allocations: 186.9 kB / 0.4937 GB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.685, allocations: 84.84 kB / 0.4938 GB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.6851, allocations: 8 kB / 0.4938 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005445/0.6856, allocations: 211 kB / 0.494 GB, free: 8.223 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 3.246e-06/0.6856, allocations: 0 / 0.494 GB, free: 8.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007731/0.6864, allocations: 253.3 kB / 0.4943 GB, free: 7.969 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.6865, allocations: 67.38 kB / 0.4943 GB, free: 7.891 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.6868, allocations: 205 kB / 0.4945 GB, free: 7.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.6869, allocations: 37.7 kB / 0.4946 GB, free: 7.637 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.6871, allocations: 180.7 kB / 0.4947 GB, free: 7.457 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.6872, allocations: 98.55 kB / 0.4948 GB, free: 7.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.6872, allocations: 8 kB / 0.4948 GB, free: 7.352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.6874, allocations: 342.8 kB / 0.4952 GB, free: 7.008 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.6876, allocations: 72.75 kB / 0.4952 GB, free: 6.934 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.688, allocations: 210.2 kB / 0.4954 GB, free: 6.668 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.6883, allocations: 107.9 kB / 0.4955 GB, free: 6.562 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.6883, allocations: 0 / 0.4955 GB, free: 6.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008423/0.6892, allocations: 321 kB / 0.4959 GB, free: 6.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.6892, allocations: 8 kB / 0.4959 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.6892, allocations: 7.938 kB / 0.4959 GB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.6893, allocations: 8 kB / 0.4959 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/0.6899, allocations: 75.89 kB / 0.496 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.6899, allocations: 12.47 kB / 0.496 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.6903, allocations: 39.62 kB / 0.496 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.6903, allocations: 23.98 kB / 0.496 GB, free: 6.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.mean.y_last,mean.y_last,$PRE.rectifiedMean.mean.y_last,rectifiedMean.mean.y_last,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last,$PRE.harmonic.mean1.y_last,harmonic.mean1.y_last,$PRE.harmonic.mean2.y_last,harmonic.mean2.y_last) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0001827/0.6905, allocations: 132.8 kB / 0.4961 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.6906, allocations: 23.72 kB / 0.4962 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009174/0.6915, allocations: 308.3 kB / 0.4965 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.6916, allocations: 4 kB / 0.4965 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6916, allocations: 0 / 0.4965 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.6916, allocations: 0 / 0.4965 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.6929, allocations: 0.6991 MB / 0.4972 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6929, allocations: 0 / 0.4972 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005313/0.6935, allocations: 55.95 kB / 0.4972 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.6935, allocations: 4 kB / 0.4972 GB, free: 4.789 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.063e-05/0.6936, allocations: 8 kB / 0.4972 GB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.6936, allocations: 4 kB / 0.4972 GB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6936, allocations: 3.984 kB / 0.4972 GB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.6947, allocations: 495.3 kB / 0.4977 GB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.567e-05/0.6948, allocations: 104.8 kB / 0.4978 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/0.6949, allocations: 8.188 kB / 0.4978 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.6953, allocations: 23.98 kB / 0.4978 GB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.854e-05/0.6954, allocations: 19.97 kB / 0.4978 GB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.6954, allocations: 19.98 kB / 0.4979 GB, free: 4.082 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002368/0.6957, allocations: 161.4 kB / 0.498 GB, free: 3.926 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6957, allocations: 0 / 0.498 GB, free: 3.926 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005742/0.6963, allocations: 75.75 kB / 0.4981 GB, free: 3.852 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.x,rectifiedMean.mean.x,rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,rectifiedMean.mean.y_last,rootMeanSquare.mean.y_last,harmonic.mean1.y_last,harmonic.mean2.y_last) * Number of discrete states: 5 (harmonic.mean2.x,harmonic.mean1.x,rootMeanSquare.mean.x,rectifiedMean.mean.x,mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001537/0.6978, allocations: 1.036 MB / 0.4991 GB, free: 2.785 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000669/0.6985, allocations: 223.7 kB / 0.4993 GB, free: 2.566 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6985, allocations: 112 / 0.4993 GB, free: 2.566 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.6989, allocations: 117.3 kB / 0.4994 GB, free: 2.453 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.6993, allocations: 20.44 kB / 0.4994 GB, free: 2.434 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.7009, allocations: 0.5454 MB / 0.5 GB, free: 1.855 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/0.7014, allocations: 0.8036 MB / 0.5008 GB, free: 1.023 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002518/0.7017, allocations: 38.33 kB / 0.5008 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.702, allocations: 115.4 kB / 0.5009 GB, free: 0.875 MB / 410.7 MB Notification: Performance of SimCode: time 2.886e-06/0.702, allocations: 0 / 0.5009 GB, free: 0.875 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.7324, allocations: 4.938 MB / 0.5057 GB, free: 12.04 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002804/0.7327, allocations: 128.4 kB / 0.5059 GB, free: 11.81 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.242, allocations: 0 / 0.5059 GB, free: 11.81 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Mean_res.mat does not exist to compare? outputFormat=mat