Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.486e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4074, allocations: 54.85 MB / 359.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.5618, allocations: 81.6 MB / 441.5 MB, free: 15.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.5622, allocations: 63.97 kB / 441.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178/1.74, allocations: 48.56 MB / 490.1 MB, free: 14.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.308e-06/1.74, allocations: 4 kB / 490.1 MB, free: 14.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/1.74, allocations: 0 / 490.1 MB, free: 14.55 MB / 426.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.002994/1.743, allocations: 431.9 kB / 490.5 MB, free: 14.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/1.743, allocations: 16.03 kB / 490.5 MB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.915e-05/1.743, allocations: 38.5 kB / 490.6 MB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/1.743, allocations: 0 / 490.6 MB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/1.743, allocations: 163 kB / 490.7 MB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/1.743, allocations: 0 / 490.7 MB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/1.743, allocations: 7.938 kB / 490.8 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.747e-05/1.744, allocations: 29.7 kB / 490.8 MB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.744, allocations: 4 kB / 490.8 MB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/1.744, allocations: 0 / 490.8 MB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/1.744, allocations: 3.953 kB / 490.8 MB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.25e-05/1.744, allocations: 4 kB / 490.8 MB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/1.744, allocations: 225 kB / 491 MB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.531e-05/1.744, allocations: 23.14 kB / 491 MB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/1.744, allocations: 12.86 kB / 491 MB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/1.744, allocations: 4 kB / 491.1 MB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-05/1.744, allocations: 68.25 kB / 491.1 MB, free: 13.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/1.744, allocations: 0 / 491.1 MB, free: 13.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001973/1.744, allocations: 63.36 kB / 491.2 MB, free: 13.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/1.744, allocations: 83.73 kB / 491.3 MB, free: 13.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.268e-05/1.744, allocations: 85 kB / 491.3 MB, free: 13.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/1.744, allocations: 25.7 kB / 491.4 MB, free: 13.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/1.745, allocations: 80.14 kB / 491.5 MB, free: 12.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/1.745, allocations: 11.89 kB / 491.5 MB, free: 12.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/1.745, allocations: 4.031 kB / 491.5 MB, free: 12.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/1.745, allocations: 314.8 kB / 491.8 MB, free: 12.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/1.745, allocations: 4 kB / 491.8 MB, free: 12.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-06/1.745, allocations: 0 / 491.8 MB, free: 12.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.081e-05/1.745, allocations: 33.64 kB / 491.8 MB, free: 12.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.745, allocations: 0 / 491.8 MB, free: 12.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001012/1.745, allocations: 64.28 kB / 491.9 MB, free: 12.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/1.745, allocations: 39.41 kB / 491.9 MB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.745, allocations: 96 / 491.9 MB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.745, allocations: 4 kB / 491.9 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.861e-05/1.745, allocations: 3.953 kB / 491.9 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.745, allocations: 0 / 491.9 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/1.745, allocations: 0 / 491.9 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/1.745, allocations: 7.984 kB / 491.9 MB, free: 12.47 MB / 426.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: 2 (result,$outputAlias_result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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.988e-05/1.745, allocations: 126.7 kB / 492.1 MB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/1.745, allocations: 4 kB / 492.1 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/1.745, allocations: 12.27 kB / 492.1 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.745, allocations: 0 / 492.1 MB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.745, allocations: 11.94 kB / 492.1 MB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/1.745, allocations: 0 / 492.1 MB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/1.746, allocations: 296.3 kB / 492.4 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.746, allocations: 0 / 492.4 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-06/1.746, allocations: 4 kB / 492.4 MB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.746, allocations: 1.031 kB / 492.4 MB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/1.746, allocations: 0 / 492.4 MB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.746, allocations: 5.641 kB / 492.4 MB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/1.746, allocations: 0 / 492.4 MB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/1.746, allocations: 169.3 kB / 492.5 MB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/1.746, allocations: 77.11 kB / 492.6 MB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/1.746, allocations: 0 / 492.6 MB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.431e-05/1.746, allocations: 4 kB / 492.6 MB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/1.746, allocations: 7.938 kB / 492.6 MB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/1.746, allocations: 0 / 492.6 MB, free: 11.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.257e-05/1.746, allocations: 79.22 kB / 492.7 MB, free: 11.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.746, allocations: 4.688 kB / 492.7 MB, free: 11.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007326/1.753, allocations: 1.312 MB / 494 MB, free: 10.26 MB / 426.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: 2 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.01123/1.765, allocations: 1.808 MB / 495.8 MB, free: 8.426 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001601/1.765, allocations: 63.34 kB / 495.9 MB, free: 8.352 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.765, allocations: 0 / 495.9 MB, free: 8.352 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.561e-05/1.765, allocations: 56.44 kB / 495.9 MB, free: 8.285 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/1.765, allocations: 11.27 kB / 496 MB, free: 8.277 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/1.768, allocations: 174.2 kB / 496.1 MB, free: 8.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/1.768, allocations: 0.674 MB / 496.8 MB, free: 7.371 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.478e-05/1.768, allocations: 0 / 496.8 MB, free: 7.371 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/1.768, allocations: 11.44 kB / 496.8 MB, free: 7.359 MB / 426.7 MB Notification: Performance of SimCode: time 1.322e-06/1.768, allocations: 0 / 496.8 MB, free: 7.359 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.496/2.264, allocations: 68.91 MB / 0.5525 GB, free: 109.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/2.265, allocations: 196.3 kB / 0.5527 GB, free: 109.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.716/10.98, allocations: 3.938 kB / 0.5527 GB, free: 109.7 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat