Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.081/2.081, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.347e-05, allocations: 0 / 292.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.149, allocations: 50.42 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.466/0.6151, allocations: 78.75 MB / 421.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.6155, allocations: 78.58 kB / 422 MB, free: 15.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01038/0.6259, allocations: 2.402 MB / 424.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6259, allocations: 0 / 424.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.55e-05/0.6259, allocations: 8 kB / 424.4 MB, free: 13 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.0006701/0.6266, allocations: 412.1 kB / 424.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.6267, allocations: 16.02 kB / 424.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.836e-05/0.6268, allocations: 45.7 kB / 424.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.6268, allocations: 15.81 kB / 424.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.6273, allocations: 238.7 kB / 425.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.6273, allocations: 7.125 kB / 425.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.6273, allocations: 11.06 kB / 425.1 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.6279, allocations: 245.5 kB / 425.4 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.628, allocations: 3.984 kB / 425.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.628, allocations: 11.52 kB / 425.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.628, allocations: 3.984 kB / 425.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.6282, allocations: 49.31 kB / 425.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.6289, allocations: 426.6 kB / 425.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.6294, allocations: 257.7 kB / 426.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.6297, allocations: 99.06 kB / 426.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.6297, allocations: 15.91 kB / 426.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.6298, allocations: 41.75 kB / 426.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.286e-06/0.6298, allocations: 0 / 426.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004341/0.6302, allocations: 143 kB / 426.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.6304, allocations: 187.2 kB / 426.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.6306, allocations: 161.7 kB / 426.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.6307, allocations: 29.33 kB / 426.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.6308, allocations: 98.88 kB / 426.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.6308, allocations: 19.27 kB / 426.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.6308, allocations: 0 / 426.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.631, allocations: 331.6 kB / 427.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.6311, allocations: 15.31 kB / 427.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.6312, allocations: 128.4 kB / 427.3 MB, free: 9.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.6313, allocations: 39.02 kB / 427.4 MB, free: 9.902 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.6314, allocations: 4 kB / 427.4 MB, free: 9.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003369/0.6317, allocations: 138.2 kB / 427.5 MB, free: 9.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.6318, allocations: 11.95 kB / 427.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6318, allocations: 4 kB / 427.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.6318, allocations: 4 kB / 427.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.6321, allocations: 39.48 kB / 427.6 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.6321, allocations: 4.5 kB / 427.6 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.6323, allocations: 12 kB / 427.6 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.6323, allocations: 15.55 kB / 427.6 MB, free: 9.688 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001241/0.6324, allocations: 115.5 kB / 427.7 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/0.6328, allocations: 117.5 kB / 427.8 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.71e-05/0.6328, allocations: 28.34 kB / 427.9 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.6329, allocations: 0 / 427.9 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6329, allocations: 4 kB / 427.9 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6329, allocations: 0 / 427.9 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003945/0.6333, allocations: 224.8 kB / 428.1 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6333, allocations: 0 / 428.1 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.6336, allocations: 43.91 kB / 428.1 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.6336, allocations: 192 / 428.1 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.6337, allocations: 7.438 kB / 428.1 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.188e-06/0.6337, allocations: 11.89 kB / 428.2 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6337, allocations: 0 / 428.2 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.6341, allocations: 378.1 kB / 428.5 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.6343, allocations: 110.5 kB / 428.6 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.6344, allocations: 15.31 kB / 428.6 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.6346, allocations: 14.92 kB / 428.7 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.6347, allocations: 4 kB / 428.7 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.6347, allocations: 4 kB / 428.7 MB, free: 8.609 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001718/0.6349, allocations: 136.7 kB / 428.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6349, allocations: 0 / 428.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004611/0.6354, allocations: 21.94 kB / 428.8 MB, free: 8.477 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 (17): * Single equations (assignments): 17 * 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.0009624/0.6363, allocations: 1.192 MB / 430 MB, free: 7.266 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.6366, allocations: 87.3 kB / 430.1 MB, free: 7.199 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.6367, allocations: 4 kB / 430.1 MB, free: 7.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.6367, allocations: 5.062 kB / 430.1 MB, free: 7.191 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006708/0.6374, allocations: 90.67 kB / 430.2 MB, free: 7.125 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.6393, allocations: 362.9 kB / 430.6 MB, free: 6.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.6397, allocations: 0.735 MB / 431.3 MB, free: 5.992 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.857e-05/0.6398, allocations: 13.33 kB / 431.3 MB, free: 5.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.238e-05/0.6399, allocations: 39.92 kB / 431.3 MB, free: 5.961 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6399, allocations: 0 / 431.3 MB, free: 5.961 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.6643, allocations: 2.955 MB / 434.3 MB, free: 3.109 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003079/0.6647, allocations: 170.5 kB / 434.5 MB, free: 2.887 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/3.082, allocations: 2.5 kB / 434.5 MB, free: 2.887 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat does not exist to compare? outputFormat=mat