Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.09/2.09, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.101e-05/3.11e-05, allocations: 4 kB / 292.8 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 50.41 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4595/0.5753, allocations: 77.26 MB / 420.4 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.5757, allocations: 77.89 kB / 420.5 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005486/0.5812, allocations: 1.429 MB / 421.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5812, allocations: 0 / 421.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.5813, allocations: 4 kB / 421.9 MB, free: 15.25 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004553/0.5817, allocations: 360.9 kB / 422.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.5818, allocations: 12.03 kB / 422.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.512e-05/0.5819, allocations: 37.92 kB / 422.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.5819, allocations: 11.86 kB / 422.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.5822, allocations: 194.2 kB / 422.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.5822, allocations: 6.875 kB / 422.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.5822, allocations: 11.48 kB / 422.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.5826, allocations: 152.8 kB / 422.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5827, allocations: 0 / 422.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.5827, allocations: 6.828 kB / 422.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.5827, allocations: 0 / 422.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.5828, allocations: 26.94 kB / 422.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.5833, allocations: 375.6 kB / 423.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.5836, allocations: 105.7 kB / 423.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.5838, allocations: 52.27 kB / 423.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.5838, allocations: 7.984 kB / 423.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.5839, allocations: 37.38 kB / 423.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.345e-06/0.5839, allocations: 4 kB / 423.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002856/0.5842, allocations: 82.66 kB / 423.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.319e-05/0.5843, allocations: 110.6 kB / 423.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.5844, allocations: 125.2 kB / 423.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.5845, allocations: 25.7 kB / 423.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.5845, allocations: 90.69 kB / 423.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.5846, allocations: 11.84 kB / 423.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.5846, allocations: 7.188 kB / 423.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5847, allocations: 322.2 kB / 424.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.635e-05/0.5848, allocations: 11.25 kB / 424.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.5848, allocations: 67.05 kB / 424.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.655e-05/0.5849, allocations: 19.36 kB / 424.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.5849, allocations: 4 kB / 424.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002017/0.5851, allocations: 90.94 kB / 424.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.5852, allocations: 14.75 kB / 424.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.5852, allocations: 4 kB / 424.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5852, allocations: 0 / 424.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.5854, allocations: 16 kB / 424.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.5854, allocations: 4 kB / 424.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.695e-05/0.5855, allocations: 14.77 kB / 424.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.5855, allocations: 12.28 kB / 424.3 MB, free: 12.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.035e-05/0.5856, allocations: 108 kB / 424.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.5858, allocations: 75.55 kB / 424.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.5859, allocations: 19.45 kB / 424.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.5859, allocations: 4 kB / 424.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.5859, allocations: 4 kB / 424.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5859, allocations: 0 / 424.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.5863, allocations: 182.5 kB / 424.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5863, allocations: 0 / 424.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.5865, allocations: 27 kB / 424.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.5865, allocations: 4 kB / 424.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.5865, allocations: 0 / 424.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.5865, allocations: 8.094 kB / 424.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.5865, allocations: 4 kB / 424.7 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.587, allocations: 326.2 kB / 425.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.5871, allocations: 100.7 kB / 425.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.5872, allocations: 0 / 425.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.5873, allocations: 11.05 kB / 425.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.5874, allocations: 7.953 kB / 425.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.5874, allocations: 0 / 425.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.5875, allocations: 112.5 kB / 425.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5875, allocations: 0 / 425.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004252/0.588, allocations: 8.281 kB / 425.3 MB, free: 11.7 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 (10): * Single equations (assignments): 10 * 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.0008321/0.5888, allocations: 1.001 MB / 426.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.589, allocations: 47.06 kB / 426.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5891, allocations: 0 / 426.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.211e-05/0.5891, allocations: 11.31 kB / 426.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.5895, allocations: 43.72 kB / 426.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.5902, allocations: 169.1 kB / 426.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.5906, allocations: 0.7043 MB / 427.3 MB, free: 9.684 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.773e-05/0.5906, allocations: 4.672 kB / 427.3 MB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.5907, allocations: 22.55 kB / 427.3 MB, free: 9.66 MB / 346.7 MB Notification: Performance of SimCode: time 2.885e-06/0.5907, allocations: 4 kB / 427.3 MB, free: 9.656 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.6151, allocations: 1.58 MB / 428.9 MB, free: 8.145 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/0.6155, allocations: 159.6 kB / 429 MB, free: 7.922 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/2.961, allocations: 0 / 429 MB, free: 7.922 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat does not exist to compare? outputFormat=mat