Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.436e-05, allocations: 1.406 kB / 292.8 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 50.41 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5488, allocations: 77.19 MB / 420.3 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/0.5492, allocations: 78.39 kB / 420.4 MB, free: 0.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008022/0.5573, allocations: 1.51 MB / 421.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5573, allocations: 4 kB / 421.9 MB, free: 15.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.5574, allocations: 0 / 421.9 MB, free: 15.61 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.0005261/0.5579, allocations: 349.4 kB / 422.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.888e-05/0.558, allocations: 8.031 kB / 422.3 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.408e-05/0.5581, allocations: 38.44 kB / 422.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.5582, allocations: 11.86 kB / 422.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.5585, allocations: 194.7 kB / 422.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.5585, allocations: 4 kB / 422.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.5585, allocations: 4 kB / 422.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.5589, allocations: 99.86 kB / 422.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.5589, allocations: 0 / 422.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.5589, allocations: 3.953 kB / 422.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.5589, allocations: 0 / 422.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.357e-05/0.559, allocations: 11.92 kB / 422.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.5596, allocations: 273.1 kB / 422.9 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.154e-05/0.5597, allocations: 38.41 kB / 423 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.5597, allocations: 17.66 kB / 423 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.5598, allocations: 7.953 kB / 423 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.5598, allocations: 30.56 kB / 423 MB, free: 14.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 2.294e-06/0.5598, allocations: 0 / 423 MB, free: 14.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002263/0.5601, allocations: 53.16 kB / 423.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.5602, allocations: 77.11 kB / 423.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.5604, allocations: 127.1 kB / 423.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.5604, allocations: 33.77 kB / 423.3 MB, free: 14.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.5605, allocations: 88.06 kB / 423.4 MB, free: 14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.5605, allocations: 11.59 kB / 423.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/0.5605, allocations: 0 / 423.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5607, allocations: 314.8 kB / 423.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.5608, allocations: 7.812 kB / 423.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/0.5608, allocations: 17.7 kB / 423.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/0.5609, allocations: 8.062 kB / 423.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5609, allocations: 0 / 423.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001374/0.561, allocations: 49.41 kB / 423.8 MB, free: 13.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.5611, allocations: 4 kB / 423.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5611, allocations: 0 / 423.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5611, allocations: 7.984 kB / 423.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.5612, allocations: 4 kB / 423.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5613, allocations: 0 / 423.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.5614, allocations: 8.062 kB / 423.8 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.5614, allocations: 0 / 423.8 MB, free: 13.56 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.91e-05/0.5615, allocations: 105 kB / 423.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.5616, allocations: 49.17 kB / 423.9 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.5617, allocations: 7.656 kB / 424 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5617, allocations: 0 / 424 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5617, allocations: 0 / 424 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5617, allocations: 4 kB / 424 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.562, allocations: 165.5 kB / 424.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5621, allocations: 8.031 kB / 424.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.473e-05/0.5622, allocations: 11.98 kB / 424.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5622, allocations: 0 / 424.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.5622, allocations: 7.766 kB / 424.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5622, allocations: 0 / 424.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5622, allocations: 0 / 424.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.5625, allocations: 161.8 kB / 424.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5626, allocations: 96.83 kB / 424.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.5626, allocations: 0 / 424.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.5628, allocations: 7.938 kB / 424.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.5628, allocations: 0 / 424.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.5629, allocations: 7.984 kB / 424.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.563, allocations: 105.8 kB / 424.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.563, allocations: 0 / 424.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004652/0.5635, allocations: 15.97 kB / 424.5 MB, free: 12.76 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006108/0.5641, allocations: 0.7597 MB / 425.3 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.5643, allocations: 19.91 kB / 425.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5643, allocations: 3.938 kB / 425.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.355e-05/0.5643, allocations: 4 kB / 425.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.5648, allocations: 23.83 kB / 425.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/0.5654, allocations: 123.4 kB / 425.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.5659, allocations: 0.6926 MB / 426.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.926e-05/0.566, allocations: 12.77 kB / 426.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.5661, allocations: 11.19 kB / 426.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5661, allocations: 0 / 426.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06593/0.632, allocations: 1.323 MB / 427.5 MB, free: 9.789 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003254/0.6324, allocations: 168.3 kB / 427.7 MB, free: 9.566 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/2.814, allocations: 3.938 kB / 427.7 MB, free: 9.562 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat