Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.07/2.07, allocations: 225.8 MB / 239.3 MB, free: 1.25 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.481e-05, allocations: 2.875 kB / 292.7 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 50.41 MB / 343.2 MB, free: 8.965 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4627/0.5741, allocations: 76.96 MB / 420.1 MB, free: 7.953 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.5744, allocations: 83.58 kB / 420.2 MB, free: 7.949 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005422/0.5798, allocations: 1.471 MB / 421.7 MB, free: 7.562 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5799, allocations: 0 / 421.7 MB, free: 7.562 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.5799, allocations: 3.938 kB / 421.7 MB, free: 7.559 MB / 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.0003508/0.5803, allocations: 353.5 kB / 422 MB, free: 7.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.5803, allocations: 11.22 kB / 422 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.5804, allocations: 35.39 kB / 422.1 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.5804, allocations: 7.531 kB / 422.1 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.5806, allocations: 203.5 kB / 422.3 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.5806, allocations: 3.188 kB / 422.3 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.5807, allocations: 3.844 kB / 422.3 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.5809, allocations: 107 kB / 422.4 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.581, allocations: 0 / 422.4 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.581, allocations: 3.047 kB / 422.4 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.581, allocations: 11.8 kB / 422.4 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.581, allocations: 7.656 kB / 422.4 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.5814, allocations: 275.6 kB / 422.7 MB, free: 6.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.5816, allocations: 135.6 kB / 422.8 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.5817, allocations: 25.72 kB / 422.8 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.5817, allocations: 0 / 422.8 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.5818, allocations: 45.44 kB / 422.9 MB, free: 6.375 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.5818, allocations: 0 / 422.9 MB, free: 6.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001887/0.582, allocations: 50.36 kB / 422.9 MB, free: 6.344 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.582, allocations: 81.14 kB / 423 MB, free: 6.246 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.5822, allocations: 134.5 kB / 423.1 MB, free: 6.145 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.5822, allocations: 25.7 kB / 423.2 MB, free: 6.113 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.5822, allocations: 86.95 kB / 423.2 MB, free: 6.031 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.5822, allocations: 7.047 kB / 423.2 MB, free: 6.031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/0.5823, allocations: 0 / 423.2 MB, free: 6.031 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.88e-05/0.5823, allocations: 314.8 kB / 423.6 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.5824, allocations: 3.125 kB / 423.6 MB, free: 5.719 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/0.5824, allocations: 37.42 kB / 423.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.295e-05/0.5824, allocations: 3.812 kB / 423.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5825, allocations: 0 / 423.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001106/0.5826, allocations: 62.48 kB / 423.7 MB, free: 5.645 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5826, allocations: 12 kB / 423.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5826, allocations: 2.297 kB / 423.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.5826, allocations: 7.797 kB / 423.7 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.5828, allocations: 7.688 kB / 423.7 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.5828, allocations: 5.953 kB / 423.7 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.527e-05/0.5829, allocations: 7.781 kB / 423.7 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.5829, allocations: 3.844 kB / 423.7 MB, free: 5.625 MB / 330.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 5.25e-05/0.5829, allocations: 101 kB / 423.8 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.99e-05/0.5831, allocations: 57.03 kB / 423.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.5831, allocations: 13.56 kB / 423.9 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5831, allocations: 3.953 kB / 423.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5831, allocations: 0 / 423.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5832, allocations: 6.188 kB / 423.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.5833, allocations: 165.2 kB / 424 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5833, allocations: 192 / 424 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-05/0.5834, allocations: 10.34 kB / 424.1 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.5835, allocations: 3.844 kB / 424.1 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.5835, allocations: 3.984 kB / 424.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5835, allocations: 7.938 kB / 424.1 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.5835, allocations: 3.953 kB / 424.1 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.5836, allocations: 169.3 kB / 424.2 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.5837, allocations: 89.91 kB / 424.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.5838, allocations: 7.625 kB / 424.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.952e-05/0.5839, allocations: 7.953 kB / 424.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.5839, allocations: 6.141 kB / 424.4 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.5839, allocations: 0 / 424.4 MB, free: 5.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.482e-05/0.584, allocations: 109.2 kB / 424.5 MB, free: 4.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.584, allocations: 0 / 424.5 MB, free: 4.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000299/0.5843, allocations: 3.875 kB / 424.5 MB, free: 4.93 MB / 330.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.0007021/0.585, allocations: 0.7754 MB / 425.2 MB, free: 20.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.5852, allocations: 25 kB / 425.3 MB, free: 20.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5852, allocations: 0 / 425.3 MB, free: 20.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.495e-05/0.5852, allocations: 3.562 kB / 425.3 MB, free: 20.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.5856, allocations: 25.11 kB / 425.3 MB, free: 20.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.5861, allocations: 136.4 kB / 425.4 MB, free: 20.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.5864, allocations: 0.6963 MB / 426.1 MB, free: 19.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.888e-05/0.5865, allocations: 8.344 kB / 426.1 MB, free: 19.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.5865, allocations: 13.66 kB / 426.1 MB, free: 19.33 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5865, allocations: 3.938 kB / 426.1 MB, free: 19.33 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.6068, allocations: 1.282 MB / 427.4 MB, free: 19.1 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/0.6072, allocations: 159.5 kB / 427.6 MB, free: 18.88 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/2.927, allocations: 4 kB / 427.6 MB, free: 18.88 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat does not exist to compare? outputFormat=mat