Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.04/2.04, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.993e-05/5.005e-05, allocations: 4 kB / 292.7 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 50.42 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4869/0.6078, allocations: 78.75 MB / 421.9 MB, free: 15.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.6082, allocations: 78.58 kB / 422 MB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01068/0.6189, allocations: 2.458 MB / 424.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.619, allocations: 8 kB / 424.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.26e-05/0.619, allocations: 4 kB / 424.5 MB, free: 12.96 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006531/0.6197, allocations: 419.3 kB / 424.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.6197, allocations: 8.031 kB / 424.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.396e-05/0.6198, allocations: 44.33 kB / 424.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.6199, allocations: 15.81 kB / 424.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.6203, allocations: 241.3 kB / 425.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.6203, allocations: 7.312 kB / 425.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.6204, allocations: 7 kB / 425.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/0.621, allocations: 259.7 kB / 425.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.621, allocations: 0 / 425.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.621, allocations: 3.938 kB / 425.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.6211, allocations: 4 kB / 425.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.6212, allocations: 50.17 kB / 425.5 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007049/0.6219, allocations: 443.2 kB / 425.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004451/0.6224, allocations: 259.6 kB / 426.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.6226, allocations: 92.5 kB / 426.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.6227, allocations: 7.938 kB / 426.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.6227, allocations: 45.88 kB / 426.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 3.517e-06/0.6227, allocations: 0 / 426.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004433/0.6232, allocations: 133.5 kB / 426.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.6233, allocations: 207 kB / 426.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.6236, allocations: 154.4 kB / 426.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.6236, allocations: 36.86 kB / 426.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.6237, allocations: 98.75 kB / 426.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.6237, allocations: 18.58 kB / 427 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.6238, allocations: 0 / 427 MB, free: 10.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6239, allocations: 326 kB / 427.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.51e-05/0.624, allocations: 23.02 kB / 427.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.6242, allocations: 125.8 kB / 427.4 MB, free: 9.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.6243, allocations: 51.7 kB / 427.5 MB, free: 9.828 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6243, allocations: 0 / 427.5 MB, free: 9.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003481/0.6247, allocations: 151.2 kB / 427.6 MB, free: 9.691 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.6247, allocations: 12.03 kB / 427.6 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.6247, allocations: 4 kB / 427.6 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.6248, allocations: 4 kB / 427.6 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.625, allocations: 39.92 kB / 427.7 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/0.6251, allocations: 7.984 kB / 427.7 MB, free: 9.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.6252, allocations: 19.72 kB / 427.7 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.6253, allocations: 8 kB / 427.7 MB, free: 9.602 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001141/0.6254, allocations: 127.2 kB / 427.8 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.6257, allocations: 126.1 kB / 428 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.645e-05/0.6258, allocations: 20.83 kB / 428 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.6258, allocations: 4 kB / 428 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.6259, allocations: 0 / 428 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6259, allocations: 4 kB / 428 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.6263, allocations: 221.2 kB / 428.2 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6263, allocations: 0 / 428.2 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.6266, allocations: 47.91 kB / 428.3 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.6266, allocations: 4.031 kB / 428.3 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.6266, allocations: 7.312 kB / 428.3 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.6266, allocations: 0 / 428.3 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.6267, allocations: 7.984 kB / 428.3 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/0.6271, allocations: 379.3 kB / 428.6 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.6272, allocations: 107.6 kB / 428.7 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.6273, allocations: 11.58 kB / 428.8 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.6275, allocations: 15.97 kB / 428.8 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.6276, allocations: 8 kB / 428.8 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.6276, allocations: 7.188 kB / 428.8 MB, free: 8.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.6278, allocations: 138.4 kB / 428.9 MB, free: 8.391 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6278, allocations: 0 / 428.9 MB, free: 8.391 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005015/0.6283, allocations: 27.44 kB / 429 MB, free: 8.371 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001008/0.6293, allocations: 1.232 MB / 430.2 MB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003286/0.6297, allocations: 103 kB / 430.3 MB, free: 7.062 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.6297, allocations: 0 / 430.3 MB, free: 7.062 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.6298, allocations: 11.88 kB / 430.3 MB, free: 7.051 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007008/0.6305, allocations: 93.2 kB / 430.4 MB, free: 6.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009493/0.6314, allocations: 265.3 kB / 430.6 MB, free: 6.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.6318, allocations: 0.7241 MB / 431.4 MB, free: 5.957 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.6319, allocations: 13.55 kB / 431.4 MB, free: 5.945 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.6321, allocations: 39.11 kB / 431.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6321, allocations: 4 kB / 431.4 MB, free: 5.922 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.6577, allocations: 3.059 MB / 434.5 MB, free: 2.969 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003206/0.6581, allocations: 178.5 kB / 434.7 MB, free: 2.738 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.158, allocations: 0 / 434.7 MB, free: 2.738 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat does not exist to compare? outputFormat=mat