Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.442e-05, allocations: 4 kB / 292.7 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1207, allocations: 50.42 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4479/0.5686, allocations: 77.12 MB / 420.3 MB, free: 1.078 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.5689, allocations: 82.19 kB / 420.4 MB, free: 1.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007525/0.5765, allocations: 1.744 MB / 422.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5765, allocations: 0 / 422.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.5766, allocations: 11.5 kB / 422.1 MB, free: 15.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005107/0.5771, allocations: 361.8 kB / 422.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.5772, allocations: 12.03 kB / 422.5 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.5772, allocations: 42.08 kB / 422.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.5773, allocations: 11.81 kB / 422.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.5775, allocations: 201.9 kB / 422.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.5776, allocations: 0 / 422.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.5776, allocations: 7.375 kB / 422.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.578, allocations: 118.1 kB / 422.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.5781, allocations: 3.938 kB / 422.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.5781, allocations: 0 / 422.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.5781, allocations: 3.953 kB / 422.9 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.5782, allocations: 23.61 kB / 422.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.5791, allocations: 379.5 kB / 423.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.5792, allocations: 60.88 kB / 423.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.5793, allocations: 30.33 kB / 423.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.5794, allocations: 7.375 kB / 423.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.5794, allocations: 38.52 kB / 423.4 MB, free: 14.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.214e-06/0.5794, allocations: 0 / 423.4 MB, free: 14.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003645/0.5798, allocations: 73.27 kB / 423.5 MB, free: 14.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.872e-05/0.5799, allocations: 106.8 kB / 423.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.5802, allocations: 138.2 kB / 423.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.5802, allocations: 29.8 kB / 423.7 MB, free: 13.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.5803, allocations: 99.67 kB / 423.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.5803, allocations: 0 / 423.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.5803, allocations: 3.5 kB / 423.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.5805, allocations: 321.7 kB / 424.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.237e-05/0.5806, allocations: 4 kB / 424.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.97e-05/0.5807, allocations: 37.48 kB / 424.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.038e-05/0.5808, allocations: 19.12 kB / 424.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5808, allocations: 0 / 424.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002362/0.5811, allocations: 68.39 kB / 424.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.5811, allocations: 11.94 kB / 424.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.5811, allocations: 3.953 kB / 424.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.5811, allocations: 4.125 kB / 424.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.5814, allocations: 15.98 kB / 424.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.5814, allocations: 4 kB / 424.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.5815, allocations: 8 kB / 424.3 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.5816, allocations: 0 / 424.3 MB, free: 13.13 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 0.0001005/0.5817, allocations: 108.2 kB / 424.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.5819, allocations: 57.12 kB / 424.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.669e-05/0.5819, allocations: 19.11 kB / 424.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.582, allocations: 3.953 kB / 424.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.582, allocations: 4 kB / 424.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.582, allocations: 96 / 424.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.5825, allocations: 183.7 kB / 424.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5825, allocations: 4 kB / 424.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.5827, allocations: 11.98 kB / 424.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.5827, allocations: 4 kB / 424.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.5827, allocations: 0 / 424.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.5827, allocations: 0 / 424.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/0.5827, allocations: 7.953 kB / 424.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.5831, allocations: 276.8 kB / 425 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.5833, allocations: 96.83 kB / 425.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.5833, allocations: 4 kB / 425.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.5836, allocations: 11.98 kB / 425.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.5837, allocations: 0 / 425.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.5837, allocations: 4 kB / 425.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.5839, allocations: 111.9 kB / 425.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5839, allocations: 0 / 425.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006143/0.5845, allocations: 11.38 kB / 425.2 MB, free: 12.17 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.000811/0.5853, allocations: 0.9489 MB / 426.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.5855, allocations: 30.98 kB / 426.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5856, allocations: 4.25 kB / 426.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.484e-05/0.5856, allocations: 11.81 kB / 426.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.5862, allocations: 27.52 kB / 426.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009255/0.5871, allocations: 167.2 kB / 426.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.5876, allocations: 0.7004 MB / 427.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.5877, allocations: 12.39 kB / 427.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/0.5878, allocations: 25.36 kB / 427.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5878, allocations: 0 / 427.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07217/0.66, allocations: 1.586 MB / 428.7 MB, free: 8.68 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.6603, allocations: 186.7 kB / 428.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/3.008, allocations: 0 / 428.9 MB, free: 8.453 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat