Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.085/2.085, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.712e-05, allocations: 4 kB / 292.7 MB, free: 8.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 50.42 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4276/0.5374, allocations: 76.66 MB / 419.8 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.5377, allocations: 76.89 kB / 419.9 MB, free: 1.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004278/0.542, allocations: 1.151 MB / 421.1 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd: time 4.549e-06/0.5421, allocations: 0 / 421.1 MB, free: 480 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.5421, allocations: 11.92 kB / 421.1 MB, free: 468 kB / 330.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.0004458/0.5426, allocations: 341.7 kB / 421.4 MB, free: 84 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.5426, allocations: 8.031 kB / 421.4 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.19e-05/0.5427, allocations: 37.75 kB / 421.4 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.5427, allocations: 11.86 kB / 421.5 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.543, allocations: 198 kB / 421.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.543, allocations: 0 / 421.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.5431, allocations: 7.25 kB / 421.7 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.5433, allocations: 104.4 kB / 421.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.5434, allocations: 0 / 421.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.5434, allocations: 4 kB / 421.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.5434, allocations: 3.953 kB / 421.8 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.354e-05/0.5435, allocations: 6.688 kB / 421.8 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.5439, allocations: 271.4 kB / 422 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.5441, allocations: 129.4 kB / 422.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.5442, allocations: 23.91 kB / 422.2 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.5442, allocations: 3.938 kB / 422.2 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.5443, allocations: 34.56 kB / 422.2 MB, free: 15.13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.824e-06/0.5443, allocations: 0 / 422.2 MB, free: 15.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001842/0.5445, allocations: 60.2 kB / 422.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.5445, allocations: 85.08 kB / 422.4 MB, free: 14.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.5447, allocations: 118.8 kB / 422.5 MB, free: 14.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.5447, allocations: 29.69 kB / 422.5 MB, free: 14.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.5448, allocations: 87.39 kB / 422.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.5448, allocations: 3.188 kB / 422.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.5448, allocations: 0 / 422.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.545, allocations: 314.8 kB / 422.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.545, allocations: 7.375 kB / 422.9 MB, free: 14.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.87e-05/0.5451, allocations: 31.42 kB / 422.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.5451, allocations: 8.594 kB / 423 MB, free: 14.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5451, allocations: 0 / 423 MB, free: 14.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001221/0.5453, allocations: 60.94 kB / 423 MB, free: 14.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.5453, allocations: 8 kB / 423 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5453, allocations: 0 / 423 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.5453, allocations: 3.953 kB / 423 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.634e-05/0.5454, allocations: 11.94 kB / 423 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5455, allocations: 4 kB / 423 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.013e-05/0.5455, allocations: 11.98 kB / 423.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.5455, allocations: 0 / 423.1 MB, free: 14.27 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.719e-05/0.5456, allocations: 111.8 kB / 423.2 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.366e-05/0.5457, allocations: 48.89 kB / 423.2 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.5458, allocations: 11.33 kB / 423.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5458, allocations: 3.953 kB / 423.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5458, allocations: 4 kB / 423.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5458, allocations: 0 / 423.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.5461, allocations: 168.2 kB / 423.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5461, allocations: 0 / 423.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.367e-05/0.5462, allocations: 12.12 kB / 423.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.5462, allocations: 4 kB / 423.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.5462, allocations: 0 / 423.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5462, allocations: 4 kB / 423.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-05/0.5462, allocations: 11.92 kB / 423.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.5464, allocations: 165.2 kB / 423.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.521e-05/0.5465, allocations: 96.94 kB / 423.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.5466, allocations: 0 / 423.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/0.5467, allocations: 14.7 kB / 423.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.5467, allocations: 0 / 423.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.5467, allocations: 0 / 423.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.5468, allocations: 106.7 kB / 423.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5468, allocations: 0 / 423.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000289/0.5471, allocations: 4 kB / 423.8 MB, free: 13.44 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 (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.0005282/0.5477, allocations: 0.7723 MB / 424.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.5478, allocations: 23.3 kB / 424.6 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5478, allocations: 0 / 424.6 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.722e-05/0.5478, allocations: 0 / 424.6 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.5482, allocations: 27.36 kB / 424.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.5487, allocations: 141.5 kB / 424.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.549, allocations: 0.6887 MB / 425.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.808e-05/0.5491, allocations: 0 / 425.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.5491, allocations: 19.05 kB / 425.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5492, allocations: 0 / 425.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.5728, allocations: 1.212 MB / 426.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003496/0.5733, allocations: 162.7 kB / 426.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/2.925, allocations: 7.938 kB / 426.8 MB, free: 10.34 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat does not exist to compare? outputFormat=mat