Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold") Notification: Performance of loadModel(Modelica_Synchronous): time 2.065/2.065, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.765e-05, allocations: 2.188 kB / 284.3 MB, free: 8.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 50.36 MB / 334.7 MB, free: 5.73 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4771/0.5907, allocations: 81.83 MB / 416.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.5909, allocations: 70.41 kB / 416.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02994/0.6209, allocations: 7.238 MB / 423.8 MB, free: 6.328 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.574e-06/0.6209, allocations: 0 / 423.8 MB, free: 6.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.302e-05/0.621, allocations: 11.94 kB / 423.8 MB, free: 6.316 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001039/0.622, allocations: 0.5712 MB / 424.4 MB, free: 5.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.6221, allocations: 8.031 kB / 424.4 MB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.6222, allocations: 44.12 kB / 424.5 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007561/0.623, allocations: 350.4 kB / 424.8 MB, free: 5.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.623, allocations: 23.38 kB / 424.8 MB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.6231, allocations: 22.75 kB / 424.9 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.6244, allocations: 0.6597 MB / 425.5 MB, free: 4.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.6245, allocations: 0 / 425.5 MB, free: 4.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.6245, allocations: 14.69 kB / 425.5 MB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.6246, allocations: 8 kB / 425.5 MB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.625, allocations: 146.4 kB / 425.7 MB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.6261, allocations: 0.7695 MB / 426.5 MB, free: 3.902 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.6272, allocations: 0.5358 MB / 427 MB, free: 3.391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/0.6276, allocations: 231.4 kB / 427.2 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008848/0.6285, allocations: 0.5859 MB / 427.8 MB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.6286, allocations: 47.41 kB / 427.8 MB, free: 2.457 MB / 346.7 MB Notification: Performance of pre-optimization done (n=52): time 3.816e-06/0.6286, allocations: 0 / 427.8 MB, free: 2.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.0009092/0.6295, allocations: 325.7 kB / 428.2 MB, free: 2.203 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.6297, allocations: 184.7 kB / 428.3 MB, free: 2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.63, allocations: 215 kB / 428.6 MB, free: 1.812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.6301, allocations: 29.58 kB / 428.6 MB, free: 1.781 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.6302, allocations: 156.9 kB / 428.7 MB, free: 1.656 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/0.6303, allocations: 58.36 kB / 428.8 MB, free: 1.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/0.6304, allocations: 9.438 kB / 428.8 MB, free: 1.609 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.6306, allocations: 340.6 kB / 429.1 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.6307, allocations: 71.22 kB / 429.2 MB, free: 1.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.6312, allocations: 412.7 kB / 429.6 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.6315, allocations: 137.9 kB / 429.7 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.208e-06/0.6315, allocations: 4 kB / 429.7 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000913/0.6324, allocations: 432.2 kB / 430.2 MB, free: 232 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.6325, allocations: 16.22 kB / 430.2 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.6325, allocations: 12 kB / 430.2 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.593e-05/0.6325, allocations: 16 kB / 430.2 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.633, allocations: 123.6 kB / 430.3 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.221e-05/0.6331, allocations: 23.92 kB / 430.4 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.6335, allocations: 58.12 kB / 430.4 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.6336, allocations: 27.38 kB / 430.4 MB, free: 15.97 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (61): * Single equations (assignments): 61 * 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.000205/0.6338, allocations: 162 kB / 430.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006912/0.6345, allocations: 300.3 kB / 430.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/0.6352, allocations: 313.8 kB / 431.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.6353, allocations: 4 kB / 431.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6353, allocations: 0 / 431.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.6353, allocations: 7.984 kB / 431.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.6359, allocations: 328 kB / 431.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/0.6359, allocations: 3.953 kB / 431.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/0.6365, allocations: 107.2 kB / 431.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.6365, allocations: 4.188 kB / 431.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.6366, allocations: 14.73 kB / 431.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.774e-06/0.6366, allocations: 3.938 kB / 431.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.167e-06/0.6366, allocations: 4 kB / 431.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.6378, allocations: 0.7024 MB / 432.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.638, allocations: 123.9 kB / 432.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.715e-05/0.638, allocations: 10.88 kB / 432.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.6384, allocations: 30.98 kB / 432.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.6385, allocations: 7.984 kB / 432.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.6385, allocations: 11.5 kB / 432.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002421/0.6388, allocations: 186.5 kB / 432.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.6388, allocations: 0 / 432.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007484/0.6395, allocations: 81.88 kB / 432.8 MB, free: 13.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * 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 (49): * Single equations (assignments): 48 * 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.0002493/0.6398, allocations: 128.9 kB / 432.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006639/0.6405, allocations: 295.6 kB / 433.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.279e-06/0.6405, allocations: 0 / 433.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.432e-05/0.6406, allocations: 11.25 kB / 433.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009775/0.6416, allocations: 258.9 kB / 433.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.6432, allocations: 0.5732 MB / 434.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.6438, allocations: 0.8227 MB / 434.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000182/0.644, allocations: 39.28 kB / 434.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.6441, allocations: 35.36 kB / 435 MB, free: 11.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.665e-06/0.6441, allocations: 0 / 435 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Templates: time 0.01179/0.6559, allocations: 3.763 MB / 438.7 MB, free: 8.164 MB / 362.7 MB