Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.868/1.868, allocations: 171.2 MB / 178.8 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.42e-05, allocations: 4 kB / 219.5 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3553, allocations: 38.76 MB / 258.3 MB, free: 12.06 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.5077, allocations: 66.81 MB / 325.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.508, allocations: 71.94 kB / 325.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02673/0.5348, allocations: 5.741 MB / 330.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.5348, allocations: 4 kB / 330.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.5348, allocations: 7.938 kB / 330.9 MB, free: 5.191 MB / 282.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.0006152/0.5355, allocations: 411.9 kB / 331.3 MB, free: 4.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.5355, allocations: 8.031 kB / 331.4 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.5356, allocations: 79.27 kB / 331.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.5358, allocations: 242.4 kB / 331.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.875e-05/0.5359, allocations: 150.6 kB / 331.8 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/0.536, allocations: 158.5 kB / 332 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.924e-05/0.536, allocations: 158.4 kB / 332.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.098e-05/0.5361, allocations: 116.9 kB / 332.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/0.5362, allocations: 75.28 kB / 332.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.496e-05/0.5362, allocations: 154.5 kB / 332.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/0.5363, allocations: 150.6 kB / 332.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.5366, allocations: 430.5 kB / 333 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.532e-05/0.5367, allocations: 169.1 kB / 333.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.5368, allocations: 80.14 kB / 333.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.5368, allocations: 75.28 kB / 333.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.5369, allocations: 109.8 kB / 333.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.894e-06/0.5369, allocations: 0 / 333.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 9.216e-05/0.537, allocations: 41.69 kB / 333.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.5371, allocations: 51.41 kB / 333.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.5372, allocations: 93 kB / 333.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.5372, allocations: 29.64 kB / 333.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.5373, allocations: 150.6 kB / 333.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-06/0.5373, allocations: 4 kB / 333.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-07/0.5373, allocations: 0 / 333.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5375, allocations: 318.8 kB / 334.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.958e-06/0.5375, allocations: 0 / 334.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-06/0.5375, allocations: 0 / 334.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.514e-05/0.5375, allocations: 75.28 kB / 334.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.79e-05/0.5376, allocations: 75.28 kB / 334.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.423e-05/0.5376, allocations: 29.69 kB / 334.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.5377, allocations: 83.28 kB / 334.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.733e-05/0.5377, allocations: 79.28 kB / 334.5 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.791e-05/0.5378, allocations: 154.5 kB / 334.6 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.26e-05/0.5379, allocations: 75.28 kB / 334.7 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.305e-05/0.5379, allocations: 158.5 kB / 334.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.387e-05/0.538, allocations: 79.23 kB / 334.9 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.5381, allocations: 75.28 kB / 335 MB, free: 0.9258 MB / 282.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.000127/0.5382, allocations: 259.5 kB / 335.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.401e-05/0.5383, allocations: 138.6 kB / 335.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.5384, allocations: 101 kB / 335.5 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.5385, allocations: 108.7 kB / 335.6 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.256e-05/0.5385, allocations: 188.1 kB / 335.8 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.825e-05/0.5387, allocations: 184.2 kB / 336 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.956e-05/0.5387, allocations: 176.3 kB / 336.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.539, allocations: 389.7 kB / 336.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.411e-05/0.5391, allocations: 105 kB / 336.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.5391, allocations: 101 kB / 336.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.268e-05/0.5392, allocations: 185 kB / 336.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.759e-05/0.5393, allocations: 184.2 kB / 337.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.132e-05/0.5394, allocations: 180.2 kB / 337.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.355e-05/0.5395, allocations: 180.2 kB / 337.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.5396, allocations: 311.6 kB / 337.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.5398, allocations: 190.5 kB / 337.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.987e-05/0.5399, allocations: 176.3 kB / 338.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.54, allocations: 101 kB / 338.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.5401, allocations: 180.2 kB / 338.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.5401, allocations: 113 kB / 338.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.744e-05/0.5402, allocations: 83.27 kB / 338.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5402, allocations: 4 kB / 338.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000914/0.5411, allocations: 151.8 kB / 338.7 MB, free: 13 MB / 298.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001746/0.5429, allocations: 1.181 MB / 339.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.904e-05/0.5429, allocations: 0 / 339.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.543, allocations: 7.938 kB / 339.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.543, allocations: 7.938 kB / 339.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.5434, allocations: 0.5185 MB / 340.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.5457, allocations: 0.6895 MB / 341.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.546, allocations: 0.6768 MB / 341.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.5461, allocations: 19.38 kB / 341.8 MB, free: 9.82 MB / 298.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5461, allocations: 0 / 341.8 MB, free: 9.82 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.664/3.21, allocations: 3.335 MB / 345.1 MB, free: 6.473 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat