Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.238/2.238, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.428e-05/5.423e-05, allocations: 4 kB / 292.7 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1261, allocations: 50.41 MB / 343.1 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5202/0.6464, allocations: 79.29 MB / 422.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.6467, allocations: 73.84 kB / 422.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0285/0.6753, allocations: 6.146 MB / 428.7 MB, free: 9.547 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6753, allocations: 0 / 428.7 MB, free: 9.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.6753, allocations: 0 / 428.7 MB, free: 9.547 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007558/0.6761, allocations: 436.9 kB / 429.1 MB, free: 9.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.6762, allocations: 8.031 kB / 429.1 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.802e-05/0.6763, allocations: 109.8 kB / 429.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.063e-05/0.6763, allocations: 83.23 kB / 429.3 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.6766, allocations: 238.3 kB / 429.5 MB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.445e-05/0.6766, allocations: 158.5 kB / 429.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.052e-05/0.6767, allocations: 150.6 kB / 429.8 MB, free: 8.297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.344e-05/0.6768, allocations: 104.2 kB / 429.9 MB, free: 8.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/0.6768, allocations: 79.28 kB / 430 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/0.6769, allocations: 150.6 kB / 430.1 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.889e-05/0.677, allocations: 154.5 kB / 430.3 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.803e-05/0.6771, allocations: 150.6 kB / 430.4 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.6774, allocations: 449.5 kB / 430.9 MB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.846e-05/0.6775, allocations: 173.1 kB / 431 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.6776, allocations: 80.14 kB / 431.1 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.6776, allocations: 75.28 kB / 431.2 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.6777, allocations: 46.59 kB / 431.2 MB, free: 6.789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 3.697e-06/0.6778, allocations: 7.938 kB / 431.2 MB, free: 6.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.6779, allocations: 41.55 kB / 431.3 MB, free: 6.734 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.678, allocations: 55.36 kB / 431.3 MB, free: 6.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.6781, allocations: 96.55 kB / 431.4 MB, free: 6.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.6781, allocations: 25.7 kB / 431.5 MB, free: 6.539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.6782, allocations: 84.14 kB / 431.5 MB, free: 6.453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.6782, allocations: 0 / 431.5 MB, free: 6.453 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.6782, allocations: 0 / 431.5 MB, free: 6.453 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6783, allocations: 314.6 kB / 431.8 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.6784, allocations: 4.031 kB / 431.9 MB, free: 6.137 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.6784, allocations: 0 / 431.9 MB, free: 6.137 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.095e-05/0.6784, allocations: 4 kB / 431.9 MB, free: 6.133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6784, allocations: 0 / 431.9 MB, free: 6.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.803e-05/0.6785, allocations: 29.7 kB / 431.9 MB, free: 6.098 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6785, allocations: 7.984 kB / 431.9 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.6786, allocations: 4 kB / 431.9 MB, free: 6.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.6786, allocations: 3.938 kB / 431.9 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-05/0.6786, allocations: 4.031 kB / 431.9 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.6786, allocations: 4 kB / 431.9 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.6787, allocations: 3.953 kB / 431.9 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.6787, allocations: 0 / 431.9 MB, free: 6.07 MB / 346.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 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.403e-05/0.6788, allocations: 105 kB / 432 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.6788, allocations: 0 / 432 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.6789, allocations: 7.062 kB / 432 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6789, allocations: 0 / 432 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6789, allocations: 0 / 432 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.6789, allocations: 3.984 kB / 432 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.6791, allocations: 157.6 kB / 432.2 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6791, allocations: 0 / 432.2 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-06/0.6791, allocations: 0 / 432.2 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.6791, allocations: 0 / 432.2 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.6791, allocations: 8.172 kB / 432.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6791, allocations: 0 / 432.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6791, allocations: 0 / 432.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.892e-05/0.6793, allocations: 64.8 kB / 432.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/0.6793, allocations: 89.12 kB / 432.3 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.6794, allocations: 3.938 kB / 432.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.6794, allocations: 0 / 432.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.6794, allocations: 0 / 432.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.6794, allocations: 0 / 432.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.358e-05/0.6795, allocations: 82.72 kB / 432.4 MB, free: 5.477 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6795, allocations: 4 kB / 432.4 MB, free: 5.473 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007892/0.6803, allocations: 158.1 kB / 432.6 MB, free: 5.328 MB / 346.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 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.002047/0.6824, allocations: 1.015 MB / 433.6 MB, free: 4.363 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.6825, allocations: 4 kB / 433.6 MB, free: 4.359 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6825, allocations: 0 / 433.6 MB, free: 4.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.554e-05/0.6826, allocations: 8 kB / 433.6 MB, free: 4.355 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.6827, allocations: 7.344 kB / 433.6 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/0.6835, allocations: 170.7 kB / 433.8 MB, free: 4.152 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.6838, allocations: 0.6809 MB / 434.5 MB, free: 3.445 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.443e-05/0.6838, allocations: 7.984 kB / 434.5 MB, free: 3.438 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.6839, allocations: 11.44 kB / 434.5 MB, free: 3.426 MB / 346.7 MB Notification: Performance of SimCode: time 1.432e-06/0.6839, allocations: 3.938 kB / 434.5 MB, free: 3.422 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03458/0.7185, allocations: 3.658 MB / 438.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000363/0.719, allocations: 206.3 kB / 438.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/3.499, allocations: 0 / 438.3 MB, free: 15.61 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat