Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.566e-05, allocations: 4 kB / 292.8 MB, free: 8.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 50.41 MB / 343.2 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4817/0.5938, allocations: 77.24 MB / 420.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.5942, allocations: 76.64 kB / 420.5 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006099/0.6003, allocations: 1.513 MB / 422 MB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6003, allocations: 0 / 422 MB, free: 15.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.6003, allocations: 4 kB / 422 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004353/0.6008, allocations: 349.6 kB / 422.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.6009, allocations: 16.02 kB / 422.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.6009, allocations: 37.77 kB / 422.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.601, allocations: 7.906 kB / 422.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.6012, allocations: 194.1 kB / 422.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.6012, allocations: 0 / 422.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.6013, allocations: 7.5 kB / 422.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.6016, allocations: 105.8 kB / 422.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.6016, allocations: 7.938 kB / 422.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.6016, allocations: 0 / 422.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6016, allocations: 0 / 422.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.904e-05/0.6017, allocations: 18.81 kB / 422.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.6021, allocations: 276.2 kB / 423 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.6023, allocations: 64.81 kB / 423.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.085e-05/0.6023, allocations: 34.28 kB / 423.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.6024, allocations: 0 / 423.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.6024, allocations: 34.56 kB / 423.1 MB, free: 14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.512e-06/0.6024, allocations: 0 / 423.1 MB, free: 14 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002278/0.6027, allocations: 60.22 kB / 423.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.6028, allocations: 110.9 kB / 423.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.6029, allocations: 131.8 kB / 423.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.6029, allocations: 25.7 kB / 423.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.603, allocations: 95.36 kB / 423.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.603, allocations: 3.438 kB / 423.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.603, allocations: 3.938 kB / 423.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6032, allocations: 318.4 kB / 423.9 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/0.6032, allocations: 8 kB / 423.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.6033, allocations: 30.56 kB / 423.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.586e-05/0.6033, allocations: 11.88 kB / 423.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6033, allocations: 0 / 423.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001324/0.6035, allocations: 65.42 kB / 424 MB, free: 13.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.6035, allocations: 8 kB / 424 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6035, allocations: 0 / 424 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.6035, allocations: 0 / 424 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.6037, allocations: 11.98 kB / 424 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.6037, allocations: 7.938 kB / 424 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.6038, allocations: 7.938 kB / 424 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.6038, allocations: 4 kB / 424 MB, free: 13.08 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 7.912e-05/0.6039, allocations: 109.1 kB / 424.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.604, allocations: 52.23 kB / 424.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.6041, allocations: 11.59 kB / 424.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6041, allocations: 0 / 424.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6041, allocations: 0 / 424.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.6041, allocations: 7.984 kB / 424.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.6043, allocations: 167.6 kB / 424.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6043, allocations: 4 kB / 424.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.673e-05/0.6045, allocations: 12.03 kB / 424.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.6045, allocations: 15.98 kB / 424.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.6045, allocations: 0 / 424.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.6045, allocations: 4 kB / 424.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6045, allocations: 0 / 424.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.6047, allocations: 193.6 kB / 424.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.6048, allocations: 89 kB / 424.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.6049, allocations: 0 / 424.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.605, allocations: 11.36 kB / 424.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.605, allocations: 7.938 kB / 424.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.605, allocations: 0 / 424.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.759e-05/0.6051, allocations: 108.8 kB / 424.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6052, allocations: 0 / 424.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.6055, allocations: 7.5 kB / 424.8 MB, free: 12.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005276/0.606, allocations: 0.8689 MB / 425.7 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.6061, allocations: 29.81 kB / 425.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6062, allocations: 0 / 425.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.287e-05/0.6062, allocations: 0 / 425.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.6066, allocations: 39.47 kB / 425.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005227/0.6071, allocations: 134.9 kB / 425.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.6074, allocations: 0.7085 MB / 426.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.375e-05/0.6075, allocations: 4.188 kB / 426.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.6076, allocations: 14.8 kB / 426.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6076, allocations: 0 / 426.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.6288, allocations: 1.439 MB / 428 MB, free: 8.996 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003505/0.6293, allocations: 164 kB / 428.2 MB, free: 8.773 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.427/3.056, allocations: 0 / 428.2 MB, free: 8.773 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat