Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.516/2.516, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.472e-05/3.49e-05, allocations: 3.875 kB / 249.8 MB, free: 5.285 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 44.5 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4682/0.581, allocations: 71.23 MB / 365.5 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.5814, allocations: 67.69 kB / 365.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02085/0.6022, allocations: 4.131 MB / 369.7 MB, free: 22.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6023, allocations: 0 / 369.7 MB, free: 22.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.6023, allocations: 3.75 kB / 369.7 MB, free: 22.63 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008459/0.6032, allocations: 431.7 kB / 370.1 MB, free: 22.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.6033, allocations: 11.59 kB / 370.1 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004875/0.6038, allocations: 36.62 kB / 370.2 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.604, allocations: 192.1 kB / 370.4 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.604, allocations: 3.844 kB / 370.4 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.6041, allocations: 10.89 kB / 370.4 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001455/0.6042, allocations: 33.83 kB / 370.4 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.6045, allocations: 103.5 kB / 370.5 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.6045, allocations: 4 kB / 370.5 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.6045, allocations: 0 / 370.5 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.6045, allocations: 0 / 370.5 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009124/0.6055, allocations: 360.2 kB / 370.9 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.6058, allocations: 102 kB / 371 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.6059, allocations: 44.11 kB / 371 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.6059, allocations: 0 / 371 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003132/0.6062, allocations: 135.4 kB / 371.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.385e-06/0.6063, allocations: 0 / 371.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005671/0.6068, allocations: 163 kB / 371.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.6069, allocations: 96 kB / 371.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.6071, allocations: 149.5 kB / 371.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/0.6072, allocations: 45.45 kB / 371.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.6073, allocations: 109.3 kB / 371.7 MB, free: 21.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/0.6074, allocations: 34.09 kB / 371.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.6074, allocations: 4 kB / 371.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.6075, allocations: 333.2 kB / 372.1 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.6078, allocations: 72.81 kB / 372.1 MB, free: 20.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.6081, allocations: 103.6 kB / 372.2 MB, free: 20.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/0.6086, allocations: 108.1 kB / 372.3 MB, free: 20.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.6086, allocations: 0 / 372.3 MB, free: 20.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009136/0.6096, allocations: 251 kB / 372.6 MB, free: 20.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.6096, allocations: 11.56 kB / 372.6 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/0.6097, allocations: 0 / 372.6 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.6097, allocations: 3.875 kB / 372.6 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.61, allocations: 28.41 kB / 372.6 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.61, allocations: 0 / 372.6 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.6102, allocations: 23.44 kB / 372.6 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/0.6103, allocations: 21.28 kB / 372.7 MB, free: 20.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0001983/0.6105, allocations: 137 kB / 372.8 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000454/0.611, allocations: 159.9 kB / 373 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.611, allocations: 13.28 kB / 373 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.6111, allocations: 14.38 kB / 373 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.6111, allocations: 5.266 kB / 373 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6111, allocations: 1.375 kB / 373 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.6111, allocations: 1.344 kB / 373 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.6114, allocations: 190.6 kB / 373.2 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6115, allocations: 5.312 kB / 373.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.6116, allocations: 10.39 kB / 373.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.6116, allocations: 1.25 kB / 373.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.6116, allocations: 2.438 kB / 373.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.6116, allocations: 5.281 kB / 373.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6117, allocations: 0 / 373.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.6121, allocations: 222.2 kB / 373.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.6122, allocations: 91.78 kB / 373.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.6123, allocations: 13.48 kB / 373.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.6124, allocations: 6.734 kB / 373.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.6125, allocations: 13.38 kB / 373.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.6126, allocations: 7.781 kB / 373.6 MB, free: 20.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001472/0.6127, allocations: 116.7 kB / 373.7 MB, free: 20.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.6127, allocations: 4 kB / 373.7 MB, free: 20.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006143/0.6134, allocations: 56.45 kB / 373.7 MB, free: 20.11 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001644/0.615, allocations: 1.014 MB / 374.7 MB, free: 19.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005388/0.6156, allocations: 217.7 kB / 375 MB, free: 19.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6156, allocations: 0 / 375 MB, free: 19.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.6158, allocations: 48.56 kB / 375 MB, free: 19.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.616, allocations: 3.906 kB / 375 MB, free: 19.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008622/0.6169, allocations: 236.8 kB / 375.2 MB, free: 19.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.6173, allocations: 0.7138 MB / 375.9 MB, free: 18.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.6174, allocations: 17.59 kB / 376 MB, free: 18.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.6175, allocations: 36.11 kB / 376 MB, free: 18.42 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6175, allocations: 0 / 376 MB, free: 18.42 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04542/0.6629, allocations: 3.382 MB / 379.4 MB, free: 18 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003341/0.6633, allocations: 185.6 kB / 379.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.064/3.727, allocations: 0 / 379.6 MB, free: 17.8 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat does not exist to compare? outputFormat=mat