Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.07/2.07, allocations: 225.8 MB / 239.3 MB, free: 1.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.277e-05/4.293e-05, allocations: 4 kB / 292.7 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1291, allocations: 50.42 MB / 343.2 MB, free: 8.996 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4683/0.5975, allocations: 77.21 MB / 420.4 MB, free: 7.891 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.5979, allocations: 78.02 kB / 420.4 MB, free: 7.891 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00784/0.6058, allocations: 1.627 MB / 422.1 MB, free: 7.473 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6058, allocations: 0 / 422.1 MB, free: 7.473 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.6059, allocations: 3.906 kB / 422.1 MB, free: 7.473 MB / 330.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.000477/0.6064, allocations: 358.2 kB / 422.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.6064, allocations: 11.19 kB / 422.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.6065, allocations: 42.33 kB / 422.5 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.6066, allocations: 11.72 kB / 422.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.6068, allocations: 191.6 kB / 422.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.6069, allocations: 7.844 kB / 422.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.6069, allocations: 11.53 kB / 422.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.6073, allocations: 126.2 kB / 422.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.6073, allocations: 0 / 422.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.6074, allocations: 0 / 422.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.6074, allocations: 3.953 kB / 422.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.6075, allocations: 24.8 kB / 422.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.6081, allocations: 361.6 kB / 423.2 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.6082, allocations: 91.73 kB / 423.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.6084, allocations: 37.25 kB / 423.3 MB, free: 6.246 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.6084, allocations: 7.25 kB / 423.3 MB, free: 6.246 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.6085, allocations: 45.08 kB / 423.4 MB, free: 6.195 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.595e-06/0.6085, allocations: 0 / 423.4 MB, free: 6.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003342/0.6088, allocations: 70.97 kB / 423.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.6089, allocations: 132.5 kB / 423.6 MB, free: 6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.6091, allocations: 136.1 kB / 423.7 MB, free: 5.906 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.6091, allocations: 29.64 kB / 423.7 MB, free: 5.871 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.6092, allocations: 88.88 kB / 423.8 MB, free: 5.789 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.6092, allocations: 11.69 kB / 423.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.6093, allocations: 3.25 kB / 423.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.924e-05/0.6093, allocations: 316.6 kB / 424.1 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.279e-05/0.6094, allocations: 7.656 kB / 424.2 MB, free: 5.469 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.566e-05/0.6095, allocations: 45.31 kB / 424.2 MB, free: 5.426 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.634e-05/0.6096, allocations: 3.844 kB / 424.2 MB, free: 5.426 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6096, allocations: 3.844 kB / 424.2 MB, free: 5.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002037/0.6098, allocations: 74.75 kB / 424.3 MB, free: 5.383 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.6098, allocations: 3.844 kB / 424.3 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.6098, allocations: 3.844 kB / 424.3 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.6099, allocations: 7.891 kB / 424.3 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.6101, allocations: 14.47 kB / 424.3 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.6101, allocations: 3.844 kB / 424.3 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.6102, allocations: 7.75 kB / 424.3 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.6102, allocations: 7.125 kB / 424.3 MB, free: 5.367 MB / 330.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 6.734e-05/0.6103, allocations: 108.1 kB / 424.4 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.6105, allocations: 59.33 kB / 424.5 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.344e-05/0.6106, allocations: 17.48 kB / 424.5 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.6106, allocations: 7.828 kB / 424.5 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6106, allocations: 0 / 424.5 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.6106, allocations: 0 / 424.5 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.611, allocations: 180 kB / 424.7 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.611, allocations: 0 / 424.7 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.6112, allocations: 13.72 kB / 424.7 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.6112, allocations: 0 / 424.7 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.6113, allocations: 7.625 kB / 424.7 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.6113, allocations: 0 / 424.7 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.6113, allocations: 7.891 kB / 424.7 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.6116, allocations: 301 kB / 425 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.6117, allocations: 94.17 kB / 425.1 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.6117, allocations: 2.625 kB / 425.1 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.612, allocations: 3.875 kB / 425.1 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.612, allocations: 7.594 kB / 425.1 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.612, allocations: 6.328 kB / 425.1 MB, free: 4.629 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.6122, allocations: 111.2 kB / 425.2 MB, free: 4.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6122, allocations: 4 kB / 425.2 MB, free: 4.547 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000581/0.6128, allocations: 7.688 kB / 425.2 MB, free: 4.547 MB / 330.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.001021/0.6138, allocations: 1.037 MB / 426.3 MB, free: 19.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.614, allocations: 34.75 kB / 426.3 MB, free: 19.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.614, allocations: 0 / 426.3 MB, free: 19.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.971e-05/0.6141, allocations: 3.531 kB / 426.3 MB, free: 19.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.6146, allocations: 32.44 kB / 426.3 MB, free: 19.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/0.6155, allocations: 168 kB / 426.5 MB, free: 19.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.616, allocations: 0.6944 MB / 427.2 MB, free: 18.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.597e-05/0.6161, allocations: 3.688 kB / 427.2 MB, free: 18.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.6162, allocations: 20.14 kB / 427.2 MB, free: 18.67 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6162, allocations: 0 / 427.2 MB, free: 18.67 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0759/0.6921, allocations: 1.564 MB / 428.8 MB, free: 18.43 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.6923, allocations: 156.2 kB / 428.9 MB, free: 18.21 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/3.021, allocations: 4 kB / 429 MB, free: 18.2 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat does not exist to compare? outputFormat=mat