Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.259/2.259, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.065e-05, allocations: 8 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1096, allocations: 50.41 MB / 342.7 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.489/0.5986, allocations: 77.45 MB / 420.1 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.599, allocations: 78.31 kB / 420.2 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00661/0.6056, allocations: 1.62 MB / 421.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6056, allocations: 0 / 421.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.6057, allocations: 4 kB / 421.8 MB, free: 15.29 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004483/0.6061, allocations: 362.2 kB / 422.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.6062, allocations: 8.031 kB / 422.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.545e-05/0.6062, allocations: 38.52 kB / 422.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.6063, allocations: 11.84 kB / 422.2 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.6066, allocations: 195.1 kB / 422.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.6066, allocations: 11.81 kB / 422.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.6066, allocations: 4 kB / 422.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.6069, allocations: 118.1 kB / 422.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.607, allocations: 0 / 422.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.607, allocations: 3.812 kB / 422.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.607, allocations: 11.94 kB / 422.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.137e-05/0.6071, allocations: 23.75 kB / 422.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.6077, allocations: 362 kB / 422.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.6078, allocations: 87.22 kB / 423 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.608, allocations: 39.48 kB / 423.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.608, allocations: 7.938 kB / 423.1 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.608, allocations: 42.27 kB / 423.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.953e-06/0.6081, allocations: 0 / 423.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002711/0.6083, allocations: 73.34 kB / 423.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.6085, allocations: 128.5 kB / 423.3 MB, free: 13.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.6087, allocations: 143.5 kB / 423.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.6087, allocations: 25.7 kB / 423.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.6088, allocations: 91.95 kB / 423.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.6088, allocations: 7.906 kB / 423.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.6088, allocations: 0 / 423.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.609, allocations: 318.6 kB / 423.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.442e-05/0.609, allocations: 7.875 kB / 423.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.18e-05/0.6091, allocations: 40.17 kB / 423.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.032e-05/0.6091, allocations: 15.86 kB / 423.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6092, allocations: 0 / 423.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001682/0.6093, allocations: 73.41 kB / 424 MB, free: 12.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.6094, allocations: 8 kB / 424 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6094, allocations: 0 / 424 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.6094, allocations: 7.953 kB / 424 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.6096, allocations: 11.98 kB / 424 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.6096, allocations: 4.125 kB / 424 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.6097, allocations: 15.69 kB / 424.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.6097, allocations: 0 / 424.1 MB, free: 12.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001048/0.6098, allocations: 105.7 kB / 424.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.61, allocations: 65.38 kB / 424.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.61, allocations: 15.55 kB / 424.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.61, allocations: 3.953 kB / 424.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6101, allocations: 4 kB / 424.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.6101, allocations: 3.984 kB / 424.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.6104, allocations: 169.4 kB / 424.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.6104, allocations: 4 kB / 424.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.6105, allocations: 11.98 kB / 424.4 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.6106, allocations: 4 kB / 424.4 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.6106, allocations: 4.062 kB / 424.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.6106, allocations: 0 / 424.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.6106, allocations: 11.89 kB / 424.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.6109, allocations: 296.4 kB / 424.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.992e-05/0.611, allocations: 96.69 kB / 424.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.611, allocations: 3.938 kB / 424.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.6112, allocations: 4 kB / 424.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.6112, allocations: 7.984 kB / 424.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.6113, allocations: 0 / 424.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.6114, allocations: 114.3 kB / 425 MB, free: 11.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6114, allocations: 7.938 kB / 425 MB, free: 11.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003708/0.6118, allocations: 8 kB / 425 MB, free: 11.85 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0006398/0.6124, allocations: 1.029 MB / 426 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.6126, allocations: 31.48 kB / 426 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6126, allocations: 3.938 kB / 426 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.319e-05/0.6126, allocations: 4 kB / 426 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.6131, allocations: 37 kB / 426.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.6137, allocations: 164.9 kB / 426.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.614, allocations: 0.6965 MB / 426.9 MB, free: 9.812 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.218e-05/0.6141, allocations: 4 kB / 426.9 MB, free: 9.809 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.6142, allocations: 23.23 kB / 427 MB, free: 9.793 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6142, allocations: 0 / 427 MB, free: 9.793 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.639, allocations: 1.568 MB / 428.5 MB, free: 8.301 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000302/0.6394, allocations: 159.6 kB / 428.7 MB, free: 8.074 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/3.03, allocations: 0 / 428.7 MB, free: 8.074 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat does not exist to compare? outputFormat=mat