Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.131/2.131, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.161e-05/4.168e-05, allocations: 4 kB / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1238, allocations: 50.42 MB / 342.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4663/0.5902, allocations: 78.81 MB / 421.4 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.5905, allocations: 82.06 kB / 421.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01024/0.6008, allocations: 2.398 MB / 423.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6009, allocations: 0 / 423.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.6009, allocations: 8 kB / 423.9 MB, free: 12.86 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.0006238/0.6015, allocations: 416.8 kB / 424.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.6016, allocations: 12.03 kB / 424.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.606e-05/0.6017, allocations: 40.95 kB / 424.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.6017, allocations: 23.8 kB / 424.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.6021, allocations: 230.2 kB / 424.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.6022, allocations: 7.625 kB / 424.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.6022, allocations: 11.38 kB / 424.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005713/0.6028, allocations: 249 kB / 424.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.6028, allocations: 0 / 424.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.6029, allocations: 11.52 kB / 424.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.6029, allocations: 4 kB / 424.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.603, allocations: 45.94 kB / 425 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/0.6038, allocations: 431 kB / 425.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004474/0.6043, allocations: 253.3 kB / 425.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.6045, allocations: 108.2 kB / 425.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.6045, allocations: 7.938 kB / 425.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.6046, allocations: 42.06 kB / 425.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.146e-06/0.6046, allocations: 0 / 425.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.000425/0.605, allocations: 139.7 kB / 425.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.6052, allocations: 194.6 kB / 426.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.6054, allocations: 158.1 kB / 426.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.6055, allocations: 28.58 kB / 426.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.6056, allocations: 163.7 kB / 426.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.6056, allocations: 19.31 kB / 426.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.6056, allocations: 3.438 kB / 426.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.6057, allocations: 322.2 kB / 426.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.215e-05/0.6058, allocations: 15.12 kB / 426.8 MB, free: 9.895 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.606, allocations: 127.6 kB / 426.9 MB, free: 9.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.6061, allocations: 35.02 kB / 427 MB, free: 9.703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.6061, allocations: 4 kB / 427 MB, free: 9.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003204/0.6065, allocations: 136.8 kB / 427.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.6065, allocations: 10.77 kB / 427.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.6065, allocations: 7.984 kB / 427.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.6066, allocations: 8 kB / 427.1 MB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.6068, allocations: 31.92 kB / 427.2 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.6068, allocations: 4.5 kB / 427.2 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.607, allocations: 19.67 kB / 427.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.607, allocations: 8 kB / 427.2 MB, free: 9.492 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.0001457/0.6072, allocations: 124.5 kB / 427.3 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003027/0.6075, allocations: 115.6 kB / 427.4 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.54e-05/0.6076, allocations: 24.48 kB / 427.4 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.6076, allocations: 4 kB / 427.5 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6076, allocations: 3.938 kB / 427.5 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.6077, allocations: 12.02 kB / 427.5 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.608, allocations: 216.6 kB / 427.7 MB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.6081, allocations: 4 kB / 427.7 MB, free: 9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.6084, allocations: 39.91 kB / 427.7 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.6084, allocations: 4 kB / 427.7 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.6084, allocations: 3.5 kB / 427.7 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.6084, allocations: 7.953 kB / 427.7 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.6084, allocations: 0 / 427.7 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.6089, allocations: 379.9 kB / 428.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.609, allocations: 116.3 kB / 428.2 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.609, allocations: 2.938 kB / 428.2 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.6093, allocations: 19.36 kB / 428.2 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.6093, allocations: 0 / 428.2 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.6094, allocations: 7.984 kB / 428.2 MB, free: 8.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001498/0.6095, allocations: 133.9 kB / 428.4 MB, free: 8.297 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6096, allocations: 0 / 428.4 MB, free: 8.297 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004617/0.61, allocations: 23.5 kB / 428.4 MB, free: 8.277 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.0008158/0.6109, allocations: 1.189 MB / 429.6 MB, free: 7.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003272/0.6112, allocations: 88.17 kB / 429.7 MB, free: 7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.6112, allocations: 3.312 kB / 429.7 MB, free: 7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.053e-05/0.6113, allocations: 5 kB / 429.7 MB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006595/0.612, allocations: 87.92 kB / 429.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.6139, allocations: 401.6 kB / 430.2 MB, free: 6.516 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.6142, allocations: 0.7241 MB / 430.9 MB, free: 5.766 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.6144, allocations: 43.3 kB / 430.9 MB, free: 5.742 MB / 346.7 MB Notification: Performance of SimCode: time 1.203e-06/0.6144, allocations: 0 / 430.9 MB, free: 5.742 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.437/3.052, allocations: 2.294 MB / 433.2 MB, free: 3.484 MB / 346.7 MB