Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadModel(Modelica): time 2.245/2.245, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.097e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002849/0.1136, allocations: 1.519 MB / 346.5 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1152, allocations: 0.6002 MB / 347.1 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.1154, allocations: 4 kB / 347.1 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.423e-05/0.1155, allocations: 7.922 kB / 347.1 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1157, allocations: 19.91 kB / 347.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006663/0.1164, allocations: 119.6 kB / 347.2 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.1166, allocations: 71.84 kB / 347.3 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1167, allocations: 32.02 kB / 347.3 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.1169, allocations: 39.84 kB / 347.4 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.117, allocations: 39.78 kB / 347.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.1172, allocations: 35.97 kB / 347.5 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.1172, allocations: 4 kB / 347.5 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.217e-05/0.1173, allocations: 43.83 kB / 347.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.1174, allocations: 4 kB / 347.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.1176, allocations: 131.7 kB / 347.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1176, allocations: 0 / 347.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1176, allocations: 0 / 347.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1177, allocations: 0 / 347.6 MB, free: 6.266 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007977/0.1185, allocations: 443.3 kB / 348.1 MB, free: 5.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1185, allocations: 8.031 kB / 348.1 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.1186, allocations: 15.81 kB / 348.1 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.119, allocations: 230.8 kB / 348.3 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.119, allocations: 8.188 kB / 348.3 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.1191, allocations: 12 kB / 348.3 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.1202, allocations: 347.3 kB / 348.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1202, allocations: 0 / 348.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.1202, allocations: 4 kB / 348.7 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1202, allocations: 0 / 348.7 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000442/0.1207, allocations: 99.88 kB / 348.8 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/0.1213, allocations: 341.5 kB / 349.1 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008129/0.1221, allocations: 282.4 kB / 349.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008962/0.123, allocations: 0.5896 MB / 350 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.1231, allocations: 34.56 kB / 350 MB, free: 3.555 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 3.987e-06/0.1231, allocations: 0 / 350 MB, free: 3.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.001117/0.1242, allocations: 342.6 kB / 350.3 MB, free: 3.195 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.1244, allocations: 117.8 kB / 350.5 MB, free: 3.059 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.1247, allocations: 173.5 kB / 350.6 MB, free: 2.879 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.1247, allocations: 25.7 kB / 350.7 MB, free: 2.848 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.1248, allocations: 167 kB / 350.8 MB, free: 2.684 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.1249, allocations: 20.02 kB / 350.8 MB, free: 2.664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.1249, allocations: 4 kB / 350.8 MB, free: 2.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.125, allocations: 318.8 kB / 351.2 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1252, allocations: 36.34 kB / 351.2 MB, free: 2.305 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.1254, allocations: 177.7 kB / 351.4 MB, free: 2.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.1257, allocations: 67.95 kB / 351.4 MB, free: 2.004 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1257, allocations: 0 / 351.4 MB, free: 2.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005583/0.1262, allocations: 205.4 kB / 351.6 MB, free: 1.797 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.1263, allocations: 8 kB / 351.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.1263, allocations: 4 kB / 351.6 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.1263, allocations: 11.94 kB / 351.7 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.1266, allocations: 47.91 kB / 351.7 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.1267, allocations: 11.94 kB / 351.7 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.1269, allocations: 16.22 kB / 351.7 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.1269, allocations: 16 kB / 351.7 MB, free: 1.684 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.000217/0.1271, allocations: 148.5 kB / 351.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000529/0.1277, allocations: 165.4 kB / 352.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006118/0.1283, allocations: 191.3 kB / 352.2 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1283, allocations: 0 / 352.2 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.1283, allocations: 4 kB / 352.2 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1284, allocations: 0 / 352.2 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.1287, allocations: 225.5 kB / 352.5 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.1287, allocations: 0 / 352.5 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.129, allocations: 47.97 kB / 352.5 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.129, allocations: 0 / 352.5 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.129, allocations: 0 / 352.5 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.1291, allocations: 4 kB / 352.5 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1291, allocations: 0 / 352.5 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007133/0.1298, allocations: 317.5 kB / 352.8 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.13, allocations: 108.9 kB / 352.9 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.13, allocations: 11.98 kB / 352.9 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.1303, allocations: 23.94 kB / 353 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.1303, allocations: 4 kB / 353 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1303, allocations: 4 kB / 353 MB, free: 348 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001915/0.1305, allocations: 144.3 kB / 353.1 MB, free: 204 kB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1306, allocations: 0 / 353.1 MB, free: 204 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004399/0.131, allocations: 35.98 kB / 353.1 MB, free: 168 kB / 282.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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002463/0.1313, allocations: 111.2 kB / 353.3 MB, free: 48 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006037/0.1319, allocations: 155.8 kB / 353.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1319, allocations: 1.188 kB / 353.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.573e-05/0.132, allocations: 8 kB / 353.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008051/0.1328, allocations: 156.6 kB / 353.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.1338, allocations: 396.7 kB / 354 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1342, allocations: 0.7441 MB / 354.7 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-05/0.1343, allocations: 15.44 kB / 354.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1343, allocations: 0 / 354.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of Templates: time 0.006324/0.1406, allocations: 2.165 MB / 356.9 MB, free: 12.36 MB / 298.7 MB