Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 224.7 MB / 241.1 MB, free: 1.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.741e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 50.42 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003072/0.1173, allocations: 1.515 MB / 346.5 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1188, allocations: 0.5536 MB / 347.1 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.119, allocations: 11.94 kB / 347.1 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.67e-05/0.1191, allocations: 7.922 kB / 347.1 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1193, allocations: 27.89 kB / 347.1 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.1198, allocations: 83.75 kB / 347.2 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.12, allocations: 71.8 kB / 347.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1202, allocations: 32.17 kB / 347.3 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1203, allocations: 35.78 kB / 347.3 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1204, allocations: 35.84 kB / 347.4 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.491e-05/0.1205, allocations: 4 kB / 347.4 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.1205, allocations: 4 kB / 347.4 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.1206, allocations: 15.92 kB / 347.4 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.1206, allocations: 8 kB / 347.4 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.1208, allocations: 99.78 kB / 347.5 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1208, allocations: 0 / 347.5 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1208, allocations: 0 / 347.5 MB, free: 6.426 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.1208, allocations: 4 kB / 347.5 MB, free: 6.422 MB / 282.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.0006646/0.1215, allocations: 415.4 kB / 347.9 MB, free: 5.969 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1216, allocations: 8.031 kB / 347.9 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.1216, allocations: 23.67 kB / 347.9 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.122, allocations: 231.8 kB / 348.1 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.1221, allocations: 8.125 kB / 348.2 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.1221, allocations: 12 kB / 348.2 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008984/0.123, allocations: 289.5 kB / 348.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.123, allocations: 0 / 348.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.1231, allocations: 11.95 kB / 348.5 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1231, allocations: 0 / 348.5 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000389/0.1235, allocations: 87.89 kB / 348.5 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.1241, allocations: 419.5 kB / 349 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007327/0.1248, allocations: 310.4 kB / 349.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.1249, allocations: 4 kB / 349.3 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.1249, allocations: 50.5 kB / 349.3 MB, free: 4.336 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 2.043e-06/0.125, allocations: 0 / 349.3 MB, free: 4.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008974/0.1259, allocations: 233.3 kB / 349.5 MB, free: 4.102 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.126, allocations: 196.2 kB / 349.7 MB, free: 3.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.1262, allocations: 166.3 kB / 349.9 MB, free: 3.699 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.1263, allocations: 29.7 kB / 349.9 MB, free: 3.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.1264, allocations: 162.6 kB / 350.1 MB, free: 3.504 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.1264, allocations: 15.83 kB / 350.1 MB, free: 3.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.1265, allocations: 8 kB / 350.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1266, allocations: 310.8 kB / 350.4 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.1267, allocations: 27.98 kB / 350.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.1269, allocations: 129.2 kB / 350.6 MB, free: 2.965 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.1271, allocations: 51.95 kB / 350.6 MB, free: 2.914 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1271, allocations: 384 / 350.6 MB, free: 2.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004147/0.1275, allocations: 161.4 kB / 350.8 MB, free: 2.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1276, allocations: 4 kB / 350.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.1276, allocations: 7.953 kB / 350.8 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.1276, allocations: 11.94 kB / 350.8 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.1279, allocations: 35.91 kB / 350.8 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.1279, allocations: 8 kB / 350.8 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.1281, allocations: 16.22 kB / 350.9 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.1281, allocations: 12 kB / 350.9 MB, free: 2.656 MB / 282.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.0001577/0.1283, allocations: 137.7 kB / 351 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004626/0.1287, allocations: 145.3 kB / 351.1 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.1288, allocations: 21.39 kB / 351.2 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.1288, allocations: 7.953 kB / 351.2 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1289, allocations: 8.031 kB / 351.2 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1289, allocations: 0 / 351.2 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.1293, allocations: 209.6 kB / 351.4 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1293, allocations: 0 / 351.4 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.1295, allocations: 43.97 kB / 351.4 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1296, allocations: 0 / 351.4 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.1296, allocations: 4 kB / 351.4 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.1296, allocations: 0 / 351.4 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.435e-06/0.1296, allocations: 11.89 kB / 351.4 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006653/0.1303, allocations: 419.9 kB / 351.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.1304, allocations: 112.8 kB / 352 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.1305, allocations: 4 kB / 352 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.1307, allocations: 19.98 kB / 352 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1308, allocations: 7.938 kB / 352 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1308, allocations: 4 kB / 352 MB, free: 1.387 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001556/0.131, allocations: 137.1 kB / 352.1 MB, free: 1.254 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.695e-06/0.131, allocations: 0 / 352.1 MB, free: 1.254 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004139/0.1314, allocations: 23.94 kB / 352.2 MB, free: 1.23 MB / 282.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.0001453/0.1316, allocations: 103.2 kB / 352.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004391/0.132, allocations: 119.8 kB / 352.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.1321, allocations: 5 kB / 352.4 MB, free: 1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.1321, allocations: 12.06 kB / 352.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007322/0.1329, allocations: 112.1 kB / 352.5 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.1352, allocations: 0.5443 MB / 353 MB, free: 296 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.1356, allocations: 0.7241 MB / 353.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.1357, allocations: 15.44 kB / 353.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of SimCode: time 1.382e-06/0.1357, allocations: 0 / 353.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of Templates: time 0.004827/0.1405, allocations: 1.73 MB / 355.5 MB, free: 13.8 MB / 298.7 MB